dt-bindings: interrupt-controller: Convert ti,omap-intc-irq to DT schema
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: interrupt-controller: Convert ti,omap-intc-irq to DT schema
Convert the TI OMAP2/3 interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller.
"ti,intc-size" property isn't actually used with "ti,omap2-intc", so the 2 bindings can be combined.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../interrupt-controller/ti,omap-intc-irq.txt | 28 ---------- .../ti,omap-intc-irq.yaml | 52 +++++++++++++++++++ .../interrupt-controller/ti,omap2-intc.txt | 27 ---------- 3 files changed, 52 insertions(+), 55 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/ti,omap-intc-irq.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ti,omap-intc-irq.yaml delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/ti,omap2-intc.txt
Documentation/devicetree/bindings/interrupt-controller/ti,omap-intc-irq.txt deleted +0 -28
@@ -1,28 +0,0 @@ -Omap2/3 intc controller - -On TI omap2 and 3 the intc interrupt controller can provide -96 or 128 IRQ signals to the ARM host depending on the SoC. - -Required Properties: -- compatible: should be one of - "ti,omap2-intc" - "ti,omap3-intc" - "ti,dm814-intc" - "ti,dm816-intc" - "ti,am33xx-intc" - -- interrupt-controller : Identifies the node as an interrupt controller -- #interrupt-cells : Specifies the number of cells needed to encode interrupt - source, should be 1 for intc -- interrupts: interrupt reference to primary interrupt controller - -Please refer to interrupts.txt in this directory for details of the common -Interrupt Controllers bindings used by client devices. - -Example: - intc: interrupt-controller@48200000 { - compatible = "ti,omap3-intc"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0x48200000 0x1000>; - };
Documentation/devicetree/bindings/interrupt-controller/ti,omap-intc-irq.yaml new file +52 -0
52 lines not on this page · raw message
Documentation/devicetree/bindings/interrupt-controller/ti,omap2-intc.txt deleted +0 -27
@@ -1,27 +0,0 @@ -* OMAP Interrupt Controller - -OMAP2/3 are using a TI interrupt controller that can support several -configurable number of interrupts. - -Main node required properties: - -- compatible : should be: - "ti,omap2-intc" -- interrupt-controller : Identifies the node as an interrupt controller -- #interrupt-cells : Specifies the number of cells needed to encode an - interrupt source. The type shall be a <u32> and the value shall be 1. - - The cell contains the interrupt number in the range [0-128]. -- ti,intc-size: Number of interrupts handled by the interrupt controller. -- reg: physical base address and size of the intc registers map. - -Example: - - intc: interrupt-controller@1 { - compatible = "ti,omap2-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <96>; - reg = <0x48200000 0x1000>; - }; -
Signature · 1 line
2.47.2