* [PATCH 1/2] dt-binding: pcf85063: Add an entry for pca85073a
@ 2022-04-19 1:44 Fabio Estevam
2022-04-19 1:44 ` [PATCH 2/2] rtc: pcf85063: Add a compatible " Fabio Estevam
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Fabio Estevam @ 2022-04-19 1:44 UTC (permalink / raw)
To: alexandre.belloni; +Cc: robh+dt, linux-rtc, devicetree, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The PCA85073A RTC has the same programming model as the PCF85063A.
Add a compatible entry for it.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
Documentation/devicetree/bindings/rtc/nxp,pcf85063.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf85063.txt b/Documentation/devicetree/bindings/rtc/nxp,pcf85063.txt
index 6439682c9319..217b7cd06c11 100644
--- a/Documentation/devicetree/bindings/rtc/nxp,pcf85063.txt
+++ b/Documentation/devicetree/bindings/rtc/nxp,pcf85063.txt
@@ -2,6 +2,7 @@
Required properties:
- compatible: Should one of contain:
+ "nxp,pca85073a",
"nxp,pcf85063",
"nxp,pcf85063a",
"nxp,pcf85063tp",
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] rtc: pcf85063: Add a compatible entry for pca85073a
2022-04-19 1:44 [PATCH 1/2] dt-binding: pcf85063: Add an entry for pca85073a Fabio Estevam
@ 2022-04-19 1:44 ` Fabio Estevam
2022-04-26 20:13 ` [PATCH 1/2] dt-binding: pcf85063: Add an " Rob Herring
2022-05-17 22:16 ` Alexandre Belloni
2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2022-04-19 1:44 UTC (permalink / raw)
To: alexandre.belloni; +Cc: robh+dt, linux-rtc, devicetree, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The PCA85073A RTC has the same programming model as the PCF85063A.
Add a compatible entry for it.
Tested on a custom i.MX6SX based board.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
drivers/rtc/rtc-pcf85063.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/rtc/rtc-pcf85063.c b/drivers/rtc/rtc-pcf85063.c
index 9760824ec199..095891999da1 100644
--- a/drivers/rtc/rtc-pcf85063.c
+++ b/drivers/rtc/rtc-pcf85063.c
@@ -650,6 +650,7 @@ static int pcf85063_probe(struct i2c_client *client)
}
static const struct i2c_device_id pcf85063_ids[] = {
+ { "pca85073a", PCF85063A },
{ "pcf85063", PCF85063 },
{ "pcf85063tp", PCF85063TP },
{ "pcf85063a", PCF85063A },
@@ -660,6 +661,7 @@ MODULE_DEVICE_TABLE(i2c, pcf85063_ids);
#ifdef CONFIG_OF
static const struct of_device_id pcf85063_of_match[] = {
+ { .compatible = "nxp,pca85073a", .data = &pcf85063_cfg[PCF85063A] },
{ .compatible = "nxp,pcf85063", .data = &pcf85063_cfg[PCF85063] },
{ .compatible = "nxp,pcf85063tp", .data = &pcf85063_cfg[PCF85063TP] },
{ .compatible = "nxp,pcf85063a", .data = &pcf85063_cfg[PCF85063A] },
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] dt-binding: pcf85063: Add an entry for pca85073a
2022-04-19 1:44 [PATCH 1/2] dt-binding: pcf85063: Add an entry for pca85073a Fabio Estevam
2022-04-19 1:44 ` [PATCH 2/2] rtc: pcf85063: Add a compatible " Fabio Estevam
@ 2022-04-26 20:13 ` Rob Herring
2022-05-17 22:16 ` Alexandre Belloni
2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-04-26 20:13 UTC (permalink / raw)
To: Fabio Estevam
Cc: alexandre.belloni, Fabio Estevam, linux-rtc, robh+dt, devicetree
On Mon, 18 Apr 2022 22:44:44 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
>
> The PCA85073A RTC has the same programming model as the PCF85063A.
>
> Add a compatible entry for it.
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
> Documentation/devicetree/bindings/rtc/nxp,pcf85063.txt | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] dt-binding: pcf85063: Add an entry for pca85073a
2022-04-19 1:44 [PATCH 1/2] dt-binding: pcf85063: Add an entry for pca85073a Fabio Estevam
2022-04-19 1:44 ` [PATCH 2/2] rtc: pcf85063: Add a compatible " Fabio Estevam
2022-04-26 20:13 ` [PATCH 1/2] dt-binding: pcf85063: Add an " Rob Herring
@ 2022-05-17 22:16 ` Alexandre Belloni
2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2022-05-17 22:16 UTC (permalink / raw)
To: Fabio Estevam; +Cc: robh+dt, devicetree, linux-rtc, Fabio Estevam
On Mon, 18 Apr 2022 22:44:44 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
>
> The PCA85073A RTC has the same programming model as the PCF85063A.
>
> Add a compatible entry for it.
>
>
> [...]
Applied, thanks!
[1/2] dt-binding: pcf85063: Add an entry for pca85073a
commit: bb9b98071eacc5f195fe3e7cb0c7664df4cff60f
[2/2] rtc: pcf85063: Add a compatible entry for pca85073a
commit: aabfe05a824585f64a0620f131841f12ee259a20
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-17 22:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-19 1:44 [PATCH 1/2] dt-binding: pcf85063: Add an entry for pca85073a Fabio Estevam
2022-04-19 1:44 ` [PATCH 2/2] rtc: pcf85063: Add a compatible " Fabio Estevam
2022-04-26 20:13 ` [PATCH 1/2] dt-binding: pcf85063: Add an " Rob Herring
2022-05-17 22:16 ` Alexandre Belloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).