* [PATCH] rtc: pcf8563: Add NXP PCA8565 compatible
@ 2021-02-10 22:06 Marek Vasut
2021-02-13 20:51 ` Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2021-02-10 22:06 UTC (permalink / raw)
To: linux-rtc; +Cc: Marek Vasut, Alessandro Zummo, Alexandre Belloni
The NXP PCA8565 is software compatible with the NXP PCF8563,
add DT and ACPI compatible entries.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: linux-rtc@vger.kernel.org
---
Documentation/devicetree/bindings/rtc/pcf8563.txt | 3 ++-
drivers/rtc/rtc-pcf8563.c | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/rtc/pcf8563.txt b/Documentation/devicetree/bindings/rtc/pcf8563.txt
index 6076fe76dbfa..0a900f7c8977 100644
--- a/Documentation/devicetree/bindings/rtc/pcf8563.txt
+++ b/Documentation/devicetree/bindings/rtc/pcf8563.txt
@@ -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:
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c
index de3e6c355f2e..18f12f36eb2b 100644
--- a/drivers/rtc/rtc-pcf8563.c
+++ b/drivers/rtc/rtc-pcf8563.c
@@ -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);
--
2.30.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rtc: pcf8563: Add NXP PCA8565 compatible
2021-02-10 22:06 [PATCH] rtc: pcf8563: Add NXP PCA8565 compatible Marek Vasut
@ 2021-02-13 20:51 ` Alexandre Belloni
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2021-02-13 20:51 UTC (permalink / raw)
To: Marek Vasut, linux-rtc; +Cc: Alexandre Belloni, Alessandro Zummo
On Wed, 10 Feb 2021 23:06:23 +0100, Marek Vasut wrote:
> 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,
--
Alexandre Belloni <alexandre.belloni@bootlin.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-13 20:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10 22:06 [PATCH] rtc: pcf8563: Add NXP PCA8565 compatible Marek Vasut
2021-02-13 20:51 ` Alexandre Belloni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.