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

Hugo Villeneuve posted 1 patch 2 years, 9 months ago
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 5 ++++-
Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 --
2 files changed, 4 insertions(+), 3 deletions(-)
[PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list
Posted by Hugo Villeneuve 2 years, 9 months ago
From: Hugo Villeneuve <hvilleneuve@dimonoff.com>

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

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
---
 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
Re: [PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list
Posted by Alexandre Belloni 2 years, 7 months ago
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
Re: [PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list
Posted by Rob Herring 2 years, 9 months ago
On Tue, 20 Dec 2022 10:22:37 -0500, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> 
> pca/pcf2129 devices can also have the 'reset-source' property, so
> remove them from the trivial RTC devices list.
> 
> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> ---
>  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 <robh@kernel.org>
Re: [PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list
Posted by Bruno Thomsen 2 years, 8 months ago
Den tir. 20. dec. 2022 kl. 17.48 skrev Rob Herring <robh@kernel.org>:
>
>
> On Tue, 20 Dec 2022 10:22:37 -0500, Hugo Villeneuve wrote:
> > From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> >
> > pca/pcf2129 devices can also have the 'reset-source' property, so
> > remove them from the trivial RTC devices list.
> >
> > Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> > ---
> >  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 <robh@kernel.org>

Reviewed-by: Bruno Thomsen <bruno.thomsen@gmail.com>
Re: [PATCH] dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list
Posted by Krzysztof Kozlowski 2 years, 9 months ago
On 20/12/2022 16:22, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> 
> pca/pcf2129 devices can also have the 'reset-source' property, so
> remove them from the trivial RTC devices list.
> 
> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> ---

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof