summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-08-29 17:25:44 -0400
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-09-01 03:18:42 -0400
commitdeaa3ff4984f85fd8957841c314b94bbf81c9cd7 (patch)
treef47780aee8a6ceecccccee19075910a7a865d329
parentcd646ec003c5a24b1d86d1ba032d2f4eb3aa8e49 (diff)
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.txt4
-rw-r--r--drivers/rtc/rtc-pcf8563.c1
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 @@
3Philips PCF8563/Epson RTC8564 Real Time Clock 3Philips PCF8563/Epson RTC8564 Real Time Clock
4 4
5Required properties: 5Required properties:
6- compatible: Should contain "nxp,pcf8563" or "epson,rtc8564". 6- compatible: Should contain "nxp,pcf8563",
7 "epson,rtc8564" or
8 "microcrystal,rv8564"
7- reg: I2C address for chip. 9- reg: I2C address for chip.
8 10
9Optional property: 11Optional 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);
633static const struct of_device_id pcf8563_of_match[] = { 633static const struct of_device_id pcf8563_of_match[] = {
634 { .compatible = "nxp,pcf8563" }, 634 { .compatible = "nxp,pcf8563" },
635 { .compatible = "epson,rtc8564" }, 635 { .compatible = "epson,rtc8564" },
636 { .compatible = "microcrystal,rv8564" },
636 {} 637 {}
637}; 638};
638MODULE_DEVICE_TABLE(of, pcf8563_of_match); 639MODULE_DEVICE_TABLE(of, pcf8563_of_match);