From: Alexandre Belloni Date: Thu, 29 Aug 2019 21:25:44 +0000 (+0200) Subject: rtc: pcf8563: add Microcrystal RV8564 compatible X-Git-Tag: for-linus-2019-09-27~34^2~7 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=deaa3ff4984f85fd8957841c314b94bbf81c9cd7;p=linux-block.git rtc: pcf8563: add Microcrystal RV8564 compatible 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 --- diff --git a/Documentation/devicetree/bindings/rtc/pcf8563.txt b/Documentation/devicetree/bindings/rtc/pcf8563.txt index cef61675312c..6076fe76dbfa 100644 --- a/Documentation/devicetree/bindings/rtc/pcf8563.txt +++ b/Documentation/devicetree/bindings/rtc/pcf8563.txt @@ -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: diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index f72ec94acaf5..1b452da75eb8 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c @@ -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);