dt-bindings: rtc: digicolor-rtc: move to trivial-rtc
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Tue, 26 Mar 2024 13:03:25 +0000 (14:03 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 29 Mar 2024 14:57:55 +0000 (15:57 +0100)
Convert existing binding to dtschema to support validation.

This device meets the requirements to be moved to trivial-rtc
(compatible, reg and a single interrupt).

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240326-rtc-yaml-v3-3-caa430ecace7@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/digicolor-rtc.txt [deleted file]
Documentation/devicetree/bindings/rtc/trivial-rtc.yaml

diff --git a/Documentation/devicetree/bindings/rtc/digicolor-rtc.txt b/Documentation/devicetree/bindings/rtc/digicolor-rtc.txt
deleted file mode 100644 (file)
index d464986..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Conexant Digicolor Real Time Clock controller
-
-This binding currently supports the CX92755 SoC.
-
-Required properties:
-- compatible: should be "cnxt,cx92755-rtc"
-- reg: physical base address of the controller and length of memory mapped
-  region.
-- interrupts: rtc alarm interrupt
-
-Example:
-
-       rtc@f0000c30 {
-               compatible = "cnxt,cx92755-rtc";
-               reg = <0xf0000c30 0x18>;
-               interrupts = <25>;
-       };
index c9e3c5262c21a243f51b319f1a366ce8c0627f71..a3db41c5207ccf1e190c770ca70f6c99e9630b1e 100644 (file)
@@ -24,6 +24,8 @@ properties:
       - abracon,abb5zes3
       # AB-RTCMC-32.768kHz-EOZ9: Real Time Clock/Calendar Module with I2C Interface
       - abracon,abeoz9
+      # Conexant Digicolor Real Time Clock Controller
+      - cnxt,cx92755-rtc
       # I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output
       - dallas,ds1374
       # Dallas DS1672 Real-time Clock