Skip to content

Commit 198be98

Browse files
Marek Vasutalexandrebelloni
authored andcommitted
rtc: pcf8563: Add NXP PCA8565 compatible
The NXP PCA8565 is software compatible with the NXP PCF8563, add DT and ACPI compatible entries. Signed-off-by: Marek Vasut <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Alexandre Belloni <[email protected]> To: [email protected] Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 7d6bec2 commit 198be98

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Documentation/devicetree/bindings/rtc/pcf8563.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Philips PCF8563/Epson RTC8564 Real Time Clock
55
Required properties:
66
- compatible: Should contain "nxp,pcf8563",
77
"epson,rtc8564" or
8-
"microcrystal,rv8564"
8+
"microcrystal,rv8564" or
9+
"nxp,pca8565"
910
- reg: I2C address for chip.
1011

1112
Optional property:

drivers/rtc/rtc-pcf8563.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,7 @@ static int pcf8563_probe(struct i2c_client *client,
597597
static const struct i2c_device_id pcf8563_id[] = {
598598
{ "pcf8563", 0 },
599599
{ "rtc8564", 0 },
600+
{ "pca8565", 0 },
600601
{ }
601602
};
602603
MODULE_DEVICE_TABLE(i2c, pcf8563_id);
@@ -606,6 +607,7 @@ static const struct of_device_id pcf8563_of_match[] = {
606607
{ .compatible = "nxp,pcf8563" },
607608
{ .compatible = "epson,rtc8564" },
608609
{ .compatible = "microcrystal,rv8564" },
610+
{ .compatible = "nxp,pca8565" },
609611
{}
610612
};
611613
MODULE_DEVICE_TABLE(of, pcf8563_of_match);

0 commit comments

Comments
 (0)