[PATCH] rtc: m41t62: add compatible for m41st87

Marek Vasut marex at denx.de
Sat Feb 15 15:01:59 CET 2020


This adds a compatible string for m41st87. This ensures that this driver
can be used for m41st87 .

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
Cc: Stefan Roese <sr at denx.de>
---
 drivers/rtc/m41t62.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/m41t62.c b/drivers/rtc/m41t62.c
index 6161b76712..f52e1291a9 100644
--- a/drivers/rtc/m41t62.c
+++ b/drivers/rtc/m41t62.c
@@ -173,6 +173,7 @@ static const struct rtc_ops m41t62_rtc_ops = {
 static const struct udevice_id m41t62_rtc_ids[] = {
 	{ .compatible = "st,m41t62" },
 	{ .compatible = "st,m41t82" },
+	{ .compatible = "st,m41st87" },
 	{ .compatible = "microcrystal,rv4162" },
 	{ }
 };
-- 
2.25.0



More information about the U-Boot mailing list