diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-08-29 17:25:43 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-09-01 03:18:36 -0400 |
commit | cd646ec003c5a24b1d86d1ba032d2f4eb3aa8e49 (patch) | |
tree | 5b6347a81de3271e99f5cb40406198a9414c7df4 | |
parent | 4053e74996b81902b2dd538717b4fd2fc1426d8b (diff) |
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 <alexandre.belloni@bootlin.com>
-rw-r--r-- | Documentation/devicetree/bindings/rtc/pcf8563.txt | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-pcf8563.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/rtc/pcf8563.txt b/Documentation/devicetree/bindings/rtc/pcf8563.txt index 36984acbb383..cef61675312c 100644 --- a/Documentation/devicetree/bindings/rtc/pcf8563.txt +++ b/Documentation/devicetree/bindings/rtc/pcf8563.txt | |||
@@ -3,7 +3,7 @@ | |||
3 | Philips PCF8563/Epson RTC8564 Real Time Clock | 3 | Philips PCF8563/Epson RTC8564 Real Time Clock |
4 | 4 | ||
5 | Required properties: | 5 | Required properties: |
6 | - compatible: Should contain "nxp,pcf8563". | 6 | - compatible: Should contain "nxp,pcf8563" or "epson,rtc8564". |
7 | - reg: I2C address for chip. | 7 | - reg: I2C address for chip. |
8 | 8 | ||
9 | Optional property: | 9 | Optional property: |
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index ac159d24286d..f72ec94acaf5 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c | |||
@@ -632,6 +632,7 @@ MODULE_DEVICE_TABLE(i2c, pcf8563_id); | |||
632 | #ifdef CONFIG_OF | 632 | #ifdef CONFIG_OF |
633 | static const struct of_device_id pcf8563_of_match[] = { | 633 | static const struct of_device_id pcf8563_of_match[] = { |
634 | { .compatible = "nxp,pcf8563" }, | 634 | { .compatible = "nxp,pcf8563" }, |
635 | { .compatible = "epson,rtc8564" }, | ||
635 | {} | 636 | {} |
636 | }; | 637 | }; |
637 | MODULE_DEVICE_TABLE(of, pcf8563_of_match); | 638 | MODULE_DEVICE_TABLE(of, pcf8563_of_match); |