dt-bindings: interrupt-controller: Document RTD129x
Subsystems (2)
PATCH 1/6 dt-bindings: interrupt-controller: Document RTD129x
Add binding for Realtek RTD129x interrupt controller.
--- .../realtek,rtd129x-intc.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +24 -0
@@ -0,0 +1,24 @@ +Realtek RTD129x IRQ Interrupt Controller +======================================= + +Required properties: + +- compatible : Should be one of the following: + - "realtek,rtd129x-intc-misc" + - "realtek,rtd129x-intc-iso" +- reg : Specifies the address of the ISR, IER and Unmask + register in couples of "address length". +- interrupts : Specifies the interrupt line which is mux'ed. +- interrupt-controller : Presence indicates the node as interrupt controller. +- #interrupt-cells : Shall be 1. See common bindings in interrupt.txt. + + +Example: + + interrupt-controller@98007000 { + compatible = "realtek,rtd129x-iso-irq-mux"; + reg = <0x98007000 0x4 0x98007040 0x4 0x98007004 0x4>; + interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; + interrupt-controller; + #interrupt-cells = <1>; + };
Signature · 1 line
2.21.0
Quoted 14 lines · On Sun, 7 Jul 2019 15:22:46 +0200 Aleix Roca Nonell <[email protected]>…
Add binding for Realtek RTD129x interrupt controller.
Signed-off-by Aleix Roca Nonell <[email protected]>--- .../realtek,rtd129x-intc.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txtDocumentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +0
-0
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt line 8
Quoted 8 lines
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +8
-0@@ -0,0 +1,24 @@ +Realtek RTD129x IRQ Interrupt Controller +======================================= + +Required properties: + +- compatible : Should be one of the following: + - "realtek,rtd129x-intc-misc" + - "realtek,rtd129x-intc-iso"
What does 'iso' mean in this context?
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt line 10
Quoted 2 lines
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +2
-0+- reg : Specifies the address of the ISR, IER and Unmask + register in couples of "address length".
Are these registers actually interleaved with other stuff? What else it in between?
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt line 13
Quoted 3 lines
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +3
-0+- interrupts : Specifies the interrupt line which is mux'ed. +- interrupt-controller : Presence indicates the node as interrupt controller. +- #interrupt-cells : Shall be 1. See common bindings in interrupt.txt.
So I guess this is level only, with an unspecified polarity? No edge interrupts?
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt line 19
Quoted 6 lines
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +6
-0+ + +Example: + + interrupt-controller@98007000 { + compatible = "realtek,rtd129x-iso-irq-mux";
It'd be good if the the example matched the rest of the documentation.
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt line 24
Quoted 5 lines
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +5
-0+ reg = <0x98007000 0x4 0x98007040 0x4 0x98007004 0x4>; + interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; + interrupt-controller; + #interrupt-cells = <1>; + };
Thanks,
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.
Rob Herring
maintainerQuoted 14 lines · Aleix Roca Nonell
Add binding for Realtek RTD129x interrupt controller.
Signed-off-by Aleix Roca Nonell <[email protected]>--- .../realtek,rtd129x-intc.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txtDocumentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +0
-0
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt line 8
Quoted 8 lines
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +8
-0@@ -0,0 +1,24 @@ +Realtek RTD129x IRQ Interrupt Controller +======================================= + +Required properties: + +- compatible : Should be one of the following: + - "realtek,rtd129x-intc-misc" + - "realtek,rtd129x-intc-iso"
Don't use wildcards in compatible strings.
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt line 20
Quoted 12 lines
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +12
-0+- reg : Specifies the address of the ISR, IER and Unmask + register in couples of "address length". +- interrupts : Specifies the interrupt line which is mux'ed. +- interrupt-controller : Presence indicates the node as interrupt controller. +- #interrupt-cells : Shall be 1. See common bindings in interrupt.txt. + + +Example: + + interrupt-controller@98007000 { + compatible = "realtek,rtd129x-iso-irq-mux"; + reg = <0x98007000 0x4 0x98007040 0x4 0x98007004 0x4>;
What's in the holes?
Quoted 7 lines
Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt new file +4
-0+ interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; + interrupt-controller; + #interrupt-cells = <1>; + };Signature · 1 line
2.21.0