2022-12-20 15:41:35

by Hugo Villeneuve

[permalink] [raw]
Subject: [PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list

From: Hugo Villeneuve <[email protected]>

pca/pcf2129 devices can also have the 'reset-source' property, so
remove them from the trivial RTC devices list.

Signed-off-by: Hugo Villeneuve <[email protected]>
---
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 5 ++++-
Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 --
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml
index cde7b1675ead..a1148eb22c24 100644
--- a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml
+++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml
@@ -14,7 +14,10 @@ maintainers:

properties:
compatible:
- const: nxp,pcf2127
+ enum:
+ - nxp,pca2129
+ - nxp,pcf2127
+ - nxp,pcf2129

reg:
maxItems: 1
diff --git a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml
index d9fc120c61cc..82a4b002cf3d 100644
--- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml
@@ -53,8 +53,6 @@ properties:
- microcrystal,rv3029
# Real Time Clock
- microcrystal,rv8523
- - nxp,pca2129
- - nxp,pcf2129
# Real-time Clock Module
- pericom,pt7c4338
# I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC

base-commit: e88f319a2546fd7772c726bf3a82a23b0859ddeb
--
2.30.2


2022-12-20 16:03:28

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list

On 20/12/2022 16:22, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <[email protected]>
>
> pca/pcf2129 devices can also have the 'reset-source' property, so
> remove them from the trivial RTC devices list.
>
> Signed-off-by: Hugo Villeneuve <[email protected]>
> ---

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof

2022-12-20 17:11:26

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list


On Tue, 20 Dec 2022 10:22:37 -0500, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <[email protected]>
>
> pca/pcf2129 devices can also have the 'reset-source' property, so
> remove them from the trivial RTC devices list.
>
> Signed-off-by: Hugo Villeneuve <[email protected]>
> ---
> Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 5 ++++-
> Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 --
> 2 files changed, 4 insertions(+), 3 deletions(-)
>

Reviewed-by: Rob Herring <[email protected]>

2022-12-21 16:31:14

by Bruno Thomsen

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list

Den tir. 20. dec. 2022 kl. 17.48 skrev Rob Herring <[email protected]>:
>
>
> On Tue, 20 Dec 2022 10:22:37 -0500, Hugo Villeneuve wrote:
> > From: Hugo Villeneuve <[email protected]>
> >
> > pca/pcf2129 devices can also have the 'reset-source' property, so
> > remove them from the trivial RTC devices list.
> >
> > Signed-off-by: Hugo Villeneuve <[email protected]>
> > ---
> > Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 5 ++++-
> > Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 --
> > 2 files changed, 4 insertions(+), 3 deletions(-)
> >
>
> Reviewed-by: Rob Herring <[email protected]>

Reviewed-by: Bruno Thomsen <[email protected]>

2023-01-25 23:35:26

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list


On Tue, 20 Dec 2022 10:22:37 -0500, Hugo Villeneuve wrote:
> pca/pcf2129 devices can also have the 'reset-source' property, so
> remove them from the trivial RTC devices list.
>
>

Applied, thanks!

[1/1] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list
commit: 947e8876c0426971c34c422569c29ec02d711bb3

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com