Skip to contentSkip to conversation

rtc: pcf8563: Add NXP PCA8565 compatible

PATCH Applied Marek Vasut 2 participants 2 messages Feb 10, 2021 – Feb 13, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: pcf8563: Add NXP PCA8565 compatible

The NXP PCA8565 is software compatible with the NXP PCF8563, add DT and ACPI compatible entries.

Cc Alessandro Zummo <[email protected]>
Cc Alexandre Belloni <[email protected]>

To: [email protected]

---
 Documentation/devicetree/bindings/rtc/pcf8563.txt | 3 ++-
 drivers/rtc/rtc-pcf8563.c                         | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/rtc/pcf8563.txt +2 -1
index 6076fe76dbfa..0a900f7c8977 100644
@@ -5,7 +5,8 @@ Philips PCF8563/Epson RTC8564 Real Time Clock
 Required properties:
 - compatible: Should contain "nxp,pcf8563",
 	"epson,rtc8564" or
-	"microcrystal,rv8564"
+	"microcrystal,rv8564" or
+	"nxp,pca8565"
 - reg: I2C address for chip.
 
 Optional property:
drivers/rtc/rtc-pcf8563.c +2 -0
index de3e6c355f2e..18f12f36eb2b 100644
@@ -597,6 +597,7 @@ static int pcf8563_probe(struct i2c_client *client,
 static const struct i2c_device_id pcf8563_id[] = {
 	{ "pcf8563", 0 },
 	{ "rtc8564", 0 },
+	{ "pca8565", 0 },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, pcf8563_id);
@@ -606,6 +607,7 @@ static const struct of_device_id pcf8563_of_match[] = {
 	{ .compatible = "nxp,pcf8563" },
 	{ .compatible = "epson,rtc8564" },
 	{ .compatible = "microcrystal,rv8564" },
+	{ .compatible = "nxp,pca8565" },
 	{}
 };
 MODULE_DEVICE_TABLE(of, pcf8563_of_match);
Signature · 1 line
2.30.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Marek Vasut

The NXP PCA8565 is software compatible with the NXP PCF8563, add DT and ACPI compatible entries.

Applied, thanks!

[1/1] rtc: pcf8563: Add NXP PCA8565 compatible

      commit: 198be9898b9e62bea65f39b04d35f56d76c8bede

Best regards,

Signature · 1 line
Alexandre Belloni <[email protected]>