rtc: pcf8563: add Microcrystal RV8564 compatible
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 29 Aug 2019 21:25:44 +0000 (23:25 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 1 Sep 2019 07:18:42 +0000 (09:18 +0200)
Add a compatible string for the Microcrystal RV8564.

Link: https://lore.kernel.org/r/20190829212547.19185-2-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/pcf8563.txt
drivers/rtc/rtc-pcf8563.c

index cef6167..6076fe7 100644 (file)
@@ -3,7 +3,9 @@
 Philips PCF8563/Epson RTC8564 Real Time Clock
 
 Required properties:
-- compatible: Should contain "nxp,pcf8563" or "epson,rtc8564".
+- compatible: Should contain "nxp,pcf8563",
+       "epson,rtc8564" or
+       "microcrystal,rv8564"
 - reg: I2C address for chip.
 
 Optional property:
index f72ec94..1b452da 100644 (file)
@@ -633,6 +633,7 @@ MODULE_DEVICE_TABLE(i2c, pcf8563_id);
 static const struct of_device_id pcf8563_of_match[] = {
        { .compatible = "nxp,pcf8563" },
        { .compatible = "epson,rtc8564" },
+       { .compatible = "microcrystal,rv8564" },
        {}
 };
 MODULE_DEVICE_TABLE(of, pcf8563_of_match);