[U-Boot] [PATCH] rtc: s35392a: add compatible strings

Robert Beckett bob.beckett at collabora.com
Mon Oct 28 19:10:10 UTC 2019


Add compatible strings used by Linux.
Allows for simpler syncing of device trees.

Signed-off-by: Robert Beckett <bob.beckett at collabora.com>
---

 drivers/rtc/s35392a.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/rtc/s35392a.c b/drivers/rtc/s35392a.c
index 844f1b72c7..4f478ccfd7 100644
--- a/drivers/rtc/s35392a.c
+++ b/drivers/rtc/s35392a.c
@@ -350,6 +350,8 @@ static const struct rtc_ops s35392a_rtc_ops = {
 
 static const struct udevice_id s35392a_rtc_ids[] = {
 	{ .compatible = "sii,s35392a-rtc" },
+	{ .compatible = "sii,s35392a" },
+	{ .compatible = "s35392a" },
 	{ }
 };
 
-- 
2.20.1



More information about the U-Boot mailing list