diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-08-29 23:25:44 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-09-01 09:18:42 +0200 |
commit | deaa3ff4984f85fd8957841c314b94bbf81c9cd7 (patch) | |
tree | f47780aee8a6ceecccccee19075910a7a865d329 | |
parent | cd646ec003c5a24b1d86d1ba032d2f4eb3aa8e49 (diff) | |
download | linux-deaa3ff4984f85fd8957841c314b94bbf81c9cd7.tar.gz linux-deaa3ff4984f85fd8957841c314b94bbf81c9cd7.tar.bz2 linux-deaa3ff4984f85fd8957841c314b94bbf81c9cd7.zip |
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 <alexandre.belloni@bootlin.com>
-rw-r--r-- | Documentation/devicetree/bindings/rtc/pcf8563.txt | 4 | ||||
-rw-r--r-- | drivers/rtc/rtc-pcf8563.c | 1 |
2 files changed, 4 insertions, 1 deletions
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); |