Skip to contentSkip to conversation

dt-bindings: interrupt-controller: Convert stm32-exti to json-schema

PATCH Applied Alexandre Torgue 2 participants 2 messages Nov 15, 2019 – Nov 20, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: interrupt-controller: Convert stm32-exti to json-schema

Convert the STM32 external interrupt controller (EXTI) binding to DT schema format using json-schema.

---

Changes since v1:

According to Rob's review:

-fix license
-fix interrupts conditional declaration

regards
Alex

Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt deleted +0 -29
deleted file mode 100644
index cd01b2292ec6..000000000000
@@ -1,29 +0,0 @@
-STM32 External Interrupt Controller
-
-Required properties:
-
-- compatible: Should be:
-    "st,stm32-exti"
-    "st,stm32h7-exti"
-    "st,stm32mp1-exti"
-- reg: Specifies base physical address and size of the registers
-- interrupt-controller: Indentifies the node as an interrupt controller
-- #interrupt-cells: Specifies the number of cells to encode an interrupt
-  specifier, shall be 2
-- interrupts: interrupts references to primary interrupt controller
-  (only needed for exti controller with multiple exti under
-  same parent interrupt: st,stm32-exti and st,stm32h7-exti)
-
-Optional properties:
-
-- hwlocks: reference to a phandle of a hardware spinlock provider node.
-
-Example:
-
-exti: interrupt-controller@40013c00 {
-	compatible = "st,stm32-exti";
-	interrupt-controller;
-	#interrupt-cells = <2>;
-	reg = <0x40013C00 0x400>;
-	interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>;
-};
Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.yaml new file +98 -0

98 lines not on this page · raw message

Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Applied
#1 lore raw
Quoted 14 lines · Alexandre Torgue

Convert the STM32 external interrupt controller (EXTI) binding to DT schema format using json-schema.

---

Changes since v1:

According to Rob's review:

(quoted diff) +0 -2
-fix license
-fix interrupts conditional declaration
Quoted 3 lines

regards
Alex

Applied, thanks.

Rob