Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+4 -1
+3 -1
Documentation/devicetree/bindings/rtc/pcf8563.txt
··· 3 3 Philips PCF8563/Epson RTC8564 Real Time Clock 4 4 5 5 Required properties: 6 - - compatible: Should contain "nxp,pcf8563" or "epson,rtc8564". 6 + - compatible: Should contain "nxp,pcf8563", 7 + "epson,rtc8564" or 8 + "microcrystal,rv8564" 7 9 - reg: I2C address for chip. 8 10 9 11 Optional property:
+1
drivers/rtc/rtc-pcf8563.c
··· 633 633 static const struct of_device_id pcf8563_of_match[] = { 634 634 { .compatible = "nxp,pcf8563" }, 635 635 { .compatible = "epson,rtc8564" }, 636 + { .compatible = "microcrystal,rv8564" }, 636 637 {} 637 638 }; 638 639 MODULE_DEVICE_TABLE(of, pcf8563_of_match);