dt-bindings: interrupt-controller: convert loongson,ls1x-intc.txt to json-schema
Subsystems (4)
Keguang Zhang
maintainerPATCH v2 1/1 dt-bindings: interrupt-controller: convert loongson,ls1x-intc.txt to json-schema
Convert the Loongson1 interrupt controller dt-bindings to json-schema.
---
V1 -> V2: Drop the description part
--- .../loongson,ls1x-intc.txt | 24 ---------- .../loongson,ls1x-intc.yaml | 47 +++++++++++++++++++ 2 files changed, 47 insertions(+), 24 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yaml
Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt deleted +0 -24
@@ -1,24 +0,0 @@ -Loongson ls1x Interrupt Controller - -Required properties: - -- compatible : should be "loongson,ls1x-intc". Valid strings are: - -- reg : Specifies base physical address and size of the registers. -- interrupt-controller : Identifies the node as an interrupt controller -- #interrupt-cells : Specifies the number of cells needed to encode an - interrupt source. The value shall be 2. -- interrupts : Specifies the CPU interrupt the controller is connected to. - -Example: - -intc: interrupt-controller@1fd01040 { - compatible = "loongson,ls1x-intc"; - reg = <0x1fd01040 0x18>; - - interrupt-controller; - #interrupt-cells = <2>; - - interrupt-parent = <&cpu_intc>; - interrupts = <2>; -};
Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yaml new file +47 -0
47 lines not on this page · raw message
base-commit: 39459ce717b863556d7d75466fcbd904a6fbbbd8
Signature · 1 line
2.34.1
Quoted 4 lines · Keguang Zhang
Convert the Loongson1 interrupt controller dt-bindings to json-schema.
Signed-off-by Keguang Zhang <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Unreviewed.
Quoted 45 lines
---
V1 -> V2: Drop the description part--- .../loongson,ls1x-intc.txt | 24 ---------- .../loongson,ls1x-intc.yaml | 47 +++++++++++++++++++ 2 files changed, 47 insertions(+), 24 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yamlDocumentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt deleted +0
-24@@ -1,24 +0,0 @@ -Loongson ls1x Interrupt Controller - -Required properties: - -- compatible : should be "loongson,ls1x-intc". Valid strings are: - -- reg : Specifies base physical address and size of the registers. -- interrupt-controller : Identifies the node as an interrupt controller -- #interrupt-cells : Specifies the number of cells needed to encode an - interrupt source. The value shall be 2. -- interrupts : Specifies the CPU interrupt the controller is connected to. - -Example: - -intc: interrupt-controller@1fd01040 { - compatible = "loongson,ls1x-intc"; - reg = <0x1fd01040 0x18>; - - interrupt-controller; - #interrupt-cells = <2>; - - interrupt-parent = <&cpu_intc>; - interrupts = <2>; -};Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yaml new file +0
-0
Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yaml line 8
Quoted 8 lines
Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yaml new file +8
-0@@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/loongson,ls1x-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-1 Interrupt Controller +
What happened to description? Why did you remove it?
Best regards,
Krzysztof
Kelvin Cheung
maintainerQuoted 56 lines · Krzysztof Kozlowski
Quoted 4 lines · Keguang Zhang
Convert the Loongson1 interrupt controller dt-bindings to json-schema.
Signed-off-by Keguang Zhang <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>Unreviewed.
Quoted 47 lines
---
V1 -> V2: Drop the description part--- .../loongson,ls1x-intc.txt | 24 ---------- .../loongson,ls1x-intc.yaml | 47 +++++++++++++++++++ 2 files changed, 47 insertions(+), 24 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yamlDocumentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.txt deleted +0
-24@@ -1,24 +0,0 @@ -Loongson ls1x Interrupt Controller - -Required properties: - -- compatible : should be "loongson,ls1x-intc". Valid strings are: - -- reg : Specifies base physical address and size of the registers. -- interrupt-controller : Identifies the node as an interrupt controller -- #interrupt-cells : Specifies the number of cells needed to encode an - interrupt source. The value shall be 2. -- interrupts : Specifies the CPU interrupt the controller is connected to. - -Example: - -intc: interrupt-controller@1fd01040 { - compatible = "loongson,ls1x-intc"; - reg = <0x1fd01040 0x18>; - - interrupt-controller; - #interrupt-cells = <2>; - - interrupt-parent = <&cpu_intc>; - interrupts = <2>; -};Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yaml new file +2
-0@@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2
Quoted 9 lines
Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yaml line 8
Quoted 6 lines
Documentation/devicetree/bindings/interrupt-controller/loongson,ls1x-intc.yaml new file +6
-0+--- +$id: http://devicetree.org/schemas/interrupt-controller/loongson,ls1x-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson-1 Interrupt Controller +What happened to description? Why did you remove it?
Sorry for misunderstanding your comments.
I will send patch V3 to add back the description.
Quoted 3 lines
Best regards,
Krzysztof
Signature · 3 lines
Best regards, Kelvin Cheung