Skip to contentSkip to conversation

dt-bindings: interrupt-controller: convert loongson,ls1x-intc.txt to json-schema

PATCH Applied Keguang Zhang 2 participants 2 messages Feb 21, 2023

Subsystems (4)
lore
Share & tools
lore

Keguang Zhang

author maintainer
#0 lore raw

PATCH v3 1/1 dt-bindings: interrupt-controller: convert loongson,ls1x-intc.txt to json-schema

Convert the Loongson1 interrupt controller dt-bindings to json-schema.

---
V2 -> V3: Fix the description
V1 -> V2: Drop the description part

---
 .../loongson,ls1x-intc.txt                    | 24 ---------
 .../loongson,ls1x-intc.yaml                   | 51 +++++++++++++++++++
 2 files changed, 51 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
deleted file mode 100644
index a63ed9fcb535..000000000000
@@ -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 +51 -0

51 lines not on this page · raw message

base-commit: 39459ce717b863556d7d75466fcbd904a6fbbbd8

Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 7 lines · Keguang Zhang

Convert the Loongson1 interrupt controller dt-bindings to json-schema.

---
V2 -> V3: Fix the description
V1 -> V2: Drop the description part

Quoted 7 lines
---
 .../loongson,ls1x-intc.txt                    | 24 ---------
 .../loongson,ls1x-intc.yaml                   | 51 +++++++++++++++++++
 2 files changed, 51 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

Applied, thanks!