This adds a compatible string for m41t82. This ensures that this driver
can be used for m41t82 in DM mode, too (as it was usable for this model
in non-DM mode before).

This patch ensures this driver works on socfpga_socrates.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschm...@gmail.com>
---

 drivers/rtc/m41t62.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/m41t62.c b/drivers/rtc/m41t62.c
index 2ee7e00b02..4b5bf8e7a0 100644
--- a/drivers/rtc/m41t62.c
+++ b/drivers/rtc/m41t62.c
@@ -163,6 +163,7 @@ static const struct rtc_ops m41t62_rtc_ops = {
 
 static const struct udevice_id m41t62_rtc_ids[] = {
        { .compatible = "st,m41t62" },
+       { .compatible = "st,m41t82" },
        { .compatible = "microcrystal,rv4162" },
        { }
 };
-- 
2.17.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to