dt-bindings: interrupt-controller: Convert ti,cp-intc to DT schema
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: interrupt-controller: Convert ti,cp-intc to DT schema
Convert the TI Common Platform interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../interrupt-controller/ti,cp-intc.txt | 27 ---------- .../interrupt-controller/ti,cp-intc.yaml | 50 +++++++++++++++++++ 2 files changed, 50 insertions(+), 27 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/ti,cp-intc.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ti,cp-intc.yaml
Documentation/devicetree/bindings/interrupt-controller/ti,cp-intc.txt deleted +0 -27
@@ -1,27 +0,0 @@ -* TI Common Platform Interrupt Controller - -Common Platform Interrupt Controller (cp_intc) is used on -OMAP-L1x SoCs and can support several configurable number -of interrupts. - -Main node required properties: - -- compatible : should be: - "ti,cp-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,cp-intc"; - interrupt-controller; - #interrupt-cells = <1>; - ti,intc-size = <101>; - reg = <0xfffee000 0x2000>; - };
Documentation/devicetree/bindings/interrupt-controller/ti,cp-intc.yaml new file +50 -0
50 lines not on this page · raw message
Signature · 1 line
2.47.2
Quoted 7 lines · Rob Herring (Arm)
Convert the TI Common Platform interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller.
Signed-off-by Rob Herring (Arm) <[email protected]>---
LGTM
Reviewed-by Bartosz Golaszewski <[email protected]>