diff mbox series

rtc: m41t62: add compatible for m41st87

Message ID 20200215140159.2910125-1-marex@denx.de
State Accepted
Commit b371acccadf3dd800dedf3c8839abfeb8939b8d6
Headers show
Series rtc: m41t62: add compatible for m41st87 | expand

Commit Message

Marek Vasut Feb. 15, 2020, 2:01 p.m. UTC
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(+)

Comments

Stefan Roese Feb. 17, 2020, 10:23 a.m. UTC | #1
On 15.02.20 15:01, Marek Vasut wrote:
> 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>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan
diff mbox series

Patch

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" },
 	{ }
 };