From: Alexandre Belloni Date: Thu, 29 Aug 2019 21:25:43 +0000 (+0200) Subject: rtc: pcf8563: add Epson RTC8564 compatible X-Git-Tag: v5.4-rc1~74^2~8 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cd646ec003c5a24b1d86d1ba032d2f4eb3aa8e49;p=users%2Fjedix%2Flinux-maple.git rtc: pcf8563: add Epson RTC8564 compatible Add a compatible string for the Epson RTC8564. Link: https://lore.kernel.org/r/20190829212547.19185-1-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 36984acbb383c..cef61675312cd 100644 --- a/Documentation/devicetree/bindings/rtc/pcf8563.txt +++ b/Documentation/devicetree/bindings/rtc/pcf8563.txt @@ -3,7 +3,7 @@ Philips PCF8563/Epson RTC8564 Real Time Clock Required properties: -- compatible: Should contain "nxp,pcf8563". +- compatible: Should contain "nxp,pcf8563" or "epson,rtc8564". - reg: I2C address for chip. Optional property: diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index ac159d24286dd..f72ec94acaf5e 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c @@ -632,6 +632,7 @@ MODULE_DEVICE_TABLE(i2c, pcf8563_id); #ifdef CONFIG_OF static const struct of_device_id pcf8563_of_match[] = { { .compatible = "nxp,pcf8563" }, + { .compatible = "epson,rtc8564" }, {} }; MODULE_DEVICE_TABLE(of, pcf8563_of_match);