rtc: pcf8523: Add rv8523 compatible
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Dec 2018 21:52:12 +0000 (22:52 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 10 Jan 2019 20:51:24 +0000 (21:51 +0100)
The Microcrystal RV-8523 is compatible with the PCF8523.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/rtc.txt
drivers/rtc/rtc-pcf8523.c

index e46edab..b79a479 100644 (file)
@@ -49,6 +49,7 @@ isil,isl1208          Intersil ISL1208 Low Power RTC with Battery Backed SRAM
 isil,isl1218           Intersil ISL1218 Low Power RTC with Battery Backed SRAM
 isil,isl12022          Intersil ISL12022 Real-time Clock
 microcrystal,rv3029    Real Time Clock Module with I2C-Bus
+microcrystal,rv8523    Real Time Clock
 nxp,pcf2127            Real-time clock
 nxp,pcf2129            Real-time clock
 nxp,pcf8523            Real-time Clock
index 3fcd2cb..fb13933 100644 (file)
@@ -374,6 +374,7 @@ MODULE_DEVICE_TABLE(i2c, pcf8523_id);
 #ifdef CONFIG_OF
 static const struct of_device_id pcf8523_of_match[] = {
        { .compatible = "nxp,pcf8523" },
+       { .compatible = "microcrystal,rv8523" },
        { }
 };
 MODULE_DEVICE_TABLE(of, pcf8523_of_match);