]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rtc: s35392a: add compatible strings
authorRobert Beckett <bob.beckett@collabora.com>
Mon, 28 Oct 2019 19:10:10 +0000 (19:10 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Dec 2019 13:34:03 +0000 (14:34 +0100)
Add compatible strings used by Linux.
Allows for simpler syncing of device trees.

Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
drivers/rtc/s35392a.c

index 844f1b72c7a3ee69809d7a75ff4fbd94b54f58f7..4f478ccfd729014fe2c5741491397ed99e7ae48b 100644 (file)
@@ -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" },
        { }
 };