dt-bindings: rtc: Convert imxdi rtc to json-schema
Subsystems (3)
PATCH v2 1/1 dt-bindings: rtc: Convert imxdi rtc to json-schema
Convert the i.MXDI RTC binding to DT schema format using json-schema
Signed-off-by Anson Huang <[email protected]>
---
Changes since V1:
- add "additionalProperties: false".
--- .../devicetree/bindings/rtc/imxdi-rtc.txt | 20 ---------- .../devicetree/bindings/rtc/imxdi-rtc.yaml | 44 ++++++++++++++++++++++ 2 files changed, 44 insertions(+), 20 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/imxdi-rtc.txt create mode 100644 Documentation/devicetree/bindings/rtc/imxdi-rtc.yaml
Documentation/devicetree/bindings/rtc/imxdi-rtc.txt deleted +0 -20
@@ -1,20 +0,0 @@ -* i.MX25 Real Time Clock controller - -Required properties: -- compatible: should be: "fsl,imx25-rtc" -- reg: physical base address of the controller and length of memory mapped - region. -- clocks: should contain the phandle for the rtc clock -- interrupts: rtc alarm interrupt - -Optional properties: -- interrupts: dryice security violation interrupt (second entry) - -Example: - -rtc@53ffc000 { - compatible = "fsl,imx25-rtc"; - reg = <0x53ffc000 0x4000>; - clocks = <&clks 81>; - interrupts = <25 56>; -};
Documentation/devicetree/bindings/rtc/imxdi-rtc.yaml new file +44 -0
44 lines not on this page · raw message
Signature · 7 lines
2.7.4 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 6 lines · Anson Huang
Convert the i.MXDI RTC binding to DT schema format using json-schema
Signed-off-by Anson Huang <[email protected]>---
Changes since V1:
- add "additionalProperties: false".
Quoted 7 lines
--- .../devicetree/bindings/rtc/imxdi-rtc.txt | 20 ---------- .../devicetree/bindings/rtc/imxdi-rtc.yaml | 44 ++++++++++++++++++++++ 2 files changed, 44 insertions(+), 20 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/imxdi-rtc.txt create mode 100644 Documentation/devicetree/bindings/rtc/imxdi-rtc.yaml
Applied, thanks!