Skip to contentSkip to conversation

dt-bindings: rtc: moxa,moxart-rtc: convert to json-schema

PATCH In review Serban-Pascu Robert 2 participants 2 messages Mar 29 – Mar 30

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: rtc: moxa,moxart-rtc: convert to json-schema

Convert the MOXA ART real-time clock text binding to DT schema.

---
 .../bindings/rtc/moxa,moxart-rtc.txt          | 17 --------
 .../bindings/rtc/moxa,moxart-rtc.yaml         | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 17 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.yaml
Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt deleted +0 -17
deleted file mode 100644
index 1374df7bf9d6..000000000000
@@ -1,17 +0,0 @@
-MOXA ART real-time clock
-
-Required properties:
-
-- compatible : Should be "moxa,moxart-rtc"
-- rtc-sclk-gpios : RTC sclk gpio, with zero flags
-- rtc-data-gpios : RTC data gpio, with zero flags
-- rtc-reset-gpios : RTC reset gpio, with zero flags
-
-Example:
-
-	rtc: rtc {
-		compatible = "moxa,moxart-rtc";
-		rtc-sclk-gpios = <&gpio 5 0>;
-		rtc-data-gpios = <&gpio 6 0>;
-		rtc-reset-gpios = <&gpio 7 0>;
-	};
Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.yaml new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
2.43.0
#1 lore raw
Quoted 6 lines · Serban-Pascu Robert

Convert the MOXA ART real-time clock text binding to DT schema.

---
 .../bindings/rtc/moxa,moxart-rtc.txt          | 17 --------
 .../bindings/rtc/moxa,moxart-rtc.yaml         | 43 +++++++++++++++++++

Is this another part of GSoC or independent try to hop-on the same bus?

I am asking because in both cases I expect you to follow GSoC guidelines.

And this was not tested - you have clear warnings in dtbs for deprecated properties.

This is not a trivial binding and you were supposed to do a detailed check in git history and in all existing sources.

Best regards,
Krzysztof