dt-bindings: rtc: Convert MXC RTC to json-schema
Subsystems (3)
PATCH 1/2 dt-bindings: rtc: Convert MXC RTC to json-schema
Convert the MXC RTC binding to DT schema format using json-schema.
--- Documentation/devicetree/bindings/rtc/rtc-mxc.txt | 26 ---------- Documentation/devicetree/bindings/rtc/rtc-mxc.yaml | 59 ++++++++++++++++++++++ 2 files changed, 59 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc.txt create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc.yaml
Documentation/devicetree/bindings/rtc/rtc-mxc.txt deleted +0 -26
@@ -1,26 +0,0 @@ -* Real Time Clock of the i.MX SoCs - -RTC controller for the i.MX SoCs - -Required properties: -- compatible: Should be "fsl,imx1-rtc" or "fsl,imx21-rtc". -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: IRQ line for the RTC. -- clocks: should contain two entries: - * one for the input reference - * one for the the SoC RTC -- clock-names: should contain: - * "ref" for the input reference clock - * "ipg" for the SoC RTC clock - -Example: - -rtc@10007000 { - compatible = "fsl,imx21-rtc"; - reg = <0x10007000 0x1000>; - interrupts = <22>; - clocks = <&clks IMX27_CLK_CKIL>, - <&clks IMX27_CLK_RTC_IPG_GATE>; - clock-names = "ref", "ipg"; -};
Documentation/devicetree/bindings/rtc/rtc-mxc.yaml new file +59 -0
59 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 2/2 dt-bindings: rtc: Convert MXC RTC V2 to json-schema
Convert the MXC RTC V2 binding to DT schema format using json-schema.
--- .../devicetree/bindings/rtc/rtc-mxc_v2.txt | 17 -------- .../devicetree/bindings/rtc/rtc-mxc_v2.yaml | 46 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 17 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc_v2.yaml
Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt deleted +0 -17
@@ -1,17 +0,0 @@ -* i.MX53 Secure Real Time Clock (SRTC) - -Required properties: -- compatible: should be: "fsl,imx53-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 - -Example: - -rtc@53fa4000 { - compatible = "fsl,imx53-rtc"; - reg = <0x53fa4000 0x4000>; - interrupts = <24>; - clocks = <&clks IMX5_CLK_SRTC_GATE>; -};
Documentation/devicetree/bindings/rtc/rtc-mxc_v2.yaml new file +46 -0
46 lines not on this page · raw message
Signature · 1 line
2.7.4
RE: [PATCH 2/2] dt-bindings: rtc: Convert MXC RTC V2 to json-schema
Quoted 6 lines
From: Anson Huang <[email protected]>
Sent: Thursday, May 14, 2020 2:13 PMConvert the MXC RTC V2 binding to DT schema format using json-schema.
Signed-off-by Anson Huang <[email protected]>
Regards
Aisheng
Re: [PATCH 2/2] dt-bindings: rtc: Convert MXC RTC V2 to json-schema
In reply to Anson HuangQuoted 10 lines · Anson Huang
Convert the MXC RTC V2 binding to DT schema format using json-schema.
Signed-off-by Anson Huang <[email protected]>--- .../devicetree/bindings/rtc/rtc-mxc_v2.txt | 17 -------- .../devicetree/bindings/rtc/rtc-mxc_v2.yaml | 46 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 17 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc_v2.yaml
Applied, thanks!
Quoted 6 lines
From: Anson Huang <[email protected]>
Sent: Thursday, May 14, 2020 2:13 PMConvert the MXC RTC binding to DT schema format using json-schema.
Signed-off-by Anson Huang <[email protected]>
Regards
Aisheng
Quoted 10 lines · Anson Huang
Convert the MXC RTC binding to DT schema format using json-schema.
Signed-off-by Anson Huang <[email protected]>--- Documentation/devicetree/bindings/rtc/rtc-mxc.txt | 26 ---------- Documentation/devicetree/bindings/rtc/rtc-mxc.yaml | 59 ++++++++++++++++++++++ 2 files changed, 59 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc.txt create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc.yaml
Applied, thanks!