Commit cd646ec0 authored by Alexandre Belloni's avatar Alexandre Belloni

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.comSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 4053e749
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Philips PCF8563/Epson RTC8564 Real Time Clock Philips PCF8563/Epson RTC8564 Real Time Clock
Required properties: Required properties:
- compatible: Should contain "nxp,pcf8563". - compatible: Should contain "nxp,pcf8563" or "epson,rtc8564".
- reg: I2C address for chip. - reg: I2C address for chip.
Optional property: Optional property:
......
...@@ -632,6 +632,7 @@ MODULE_DEVICE_TABLE(i2c, pcf8563_id); ...@@ -632,6 +632,7 @@ MODULE_DEVICE_TABLE(i2c, pcf8563_id);
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id pcf8563_of_match[] = { static const struct of_device_id pcf8563_of_match[] = {
{ .compatible = "nxp,pcf8563" }, { .compatible = "nxp,pcf8563" },
{ .compatible = "epson,rtc8564" },
{} {}
}; };
MODULE_DEVICE_TABLE(of, pcf8563_of_match); MODULE_DEVICE_TABLE(of, pcf8563_of_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment