1
0
Fork 0

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>
alistair/sunxi64-5.4-dsi
Alexandre Belloni 2019-08-29 23:25:43 +02:00
parent 4053e74996
commit cd646ec003
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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);