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

Message ID 20221220152237.1125178-1-hugo@hugovil.com
State New
Headers
Series dt-bindings: rtc: pcf2127: remove pca/pcf2129 from trivial RTC devices list |

Commit Message

Hugo Villeneuve Dec. 20, 2022, 3:22 p.m. UTC
  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(-)


base-commit: e88f319a2546fd7772c726bf3a82a23b0859ddeb
  

Comments

Krzysztof Kozlowski Dec. 20, 2022, 3:41 p.m. UTC | #1
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
  
Rob Herring Dec. 20, 2022, 4:48 p.m. UTC | #2
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>
  
Bruno Thomsen Dec. 21, 2022, 3:53 p.m. UTC | #3
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>
  
Alexandre Belloni Jan. 25, 2023, 11:35 p.m. UTC | #4
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,
  

Patch

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