Skip to contentSkip to conversation

dt-bindings: interrupt-controller: via,vt8500-intc: Convert to YAML

PATCH Applied Alexey Charkov 2 participants 2 messages Apr 18, 2025 – Apr 23, 2025

Subsystems (3)
lore
Share & tools
lore

Alexey Charkov

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: interrupt-controller: via,vt8500-intc: Convert to YAML

Rewrite the textual description for the VIA/WonderMedia interrupt controller as YAML schema.

The original textual version did not contain information about the usage of 'interrupts' to describe the connection of a chained controller to its parent, add it here. A chained controller can trigger up to 8 different interrupts (IRQ0~7) on its parent.

---
Split the series from v1 into separate bindings patches so as not to spam all the subsystems with unrelated changes, per Rob's suggestion

Link to v1: https://lore.kernel.org/all/[email protected]/

---
 .../interrupt-controller/via,vt8500-intc.txt       | 16 -----
 .../interrupt-controller/via,vt8500-intc.yaml      | 76 ++++++++++++++++++++++
 MAINTAINERS                                        |  1 +
 3 files changed, 77 insertions(+), 16 deletions(-)
Documentation/devicetree/bindings/interrupt-controller/via,vt8500-intc.txt deleted +0 -16
deleted file mode 100644
index 0a4ce1051b0252bbbdeef3288b90e9913d3f16f0..0000000000000000000000000000000000000000
@@ -1,16 +0,0 @@
-VIA/Wondermedia VT8500 Interrupt Controller
------------------------------------------------------
-
-Required properties:
-- compatible : "via,vt8500-intc"
-- reg : Should contain 1 register ranges(address and length)
-- #interrupt-cells : should be <1>
-
-Example:
-
-	intc: interrupt-controller@d8140000 {
-		compatible = "via,vt8500-intc";
-		interrupt-controller;
-		reg = <0xd8140000 0x10000>;
-		#interrupt-cells = <1>;
-	};
Documentation/devicetree/bindings/interrupt-controller/via,vt8500-intc.yaml new file +76 -0

76 lines not on this page · raw message

MAINTAINERS +1 -0
index 96b82704950184bd71623ff41fc4df31e4c7fe87..d3d8e31e547e8775272911df156d6574ae7acdac 100644
@@ -3428,6 +3428,7 @@ M:	Krzysztof Kozlowski <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
 S:	Odd Fixes
 F:	Documentation/devicetree/bindings/i2c/i2c-wmt.txt
+F:	Documentation/devicetree/bindings/interrupt-controller/via,vt8500-intc.yaml
 F:	arch/arm/boot/dts/vt8500/
 F:	arch/arm/mach-vt8500/
 F:	drivers/clocksource/timer-vt8500.c

---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250418-via_intc_binding-7e9bb2862471

Best regards,

Signature · 1 line
Alexey Charkov <[email protected]>
maintainer Applied
#1 lore raw
Quoted 13 lines · Alexey Charkov

Rewrite the textual description for the VIA/WonderMedia interrupt controller as YAML schema.

The original textual version did not contain information about the usage of 'interrupts' to describe the connection of a chained controller to its parent, add it here. A chained controller can trigger up to 8 different interrupts (IRQ0~7) on its parent.

---
Split the series from v1 into separate bindings patches so as not to spam all the subsystems with unrelated changes, per Rob's suggestion

Quoted 7 lines

Link to v1: https://lore.kernel.org/all/[email protected]/

---
 .../interrupt-controller/via,vt8500-intc.txt       | 16 -----
 .../interrupt-controller/via,vt8500-intc.yaml      | 76 ++++++++++++++++++++++
 MAINTAINERS                                        |  1 +
 3 files changed, 77 insertions(+), 16 deletions(-)

Applied, thanks!