dt-bindings: irqchip: ti, sci-inta: Update docs to support different parent.
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 6 Aug 2020 07:48:20 +0000 (13:18 +0530)
committerMarc Zyngier <maz@kernel.org>
Sun, 16 Aug 2020 21:00:23 +0000 (22:00 +0100)
Drop the firmware related interrupt ranges and use the hardware specified
interrupt numbers within Interrupt Aggregator. This ensures interrupt
aggregator DT node need not assume any interrupt parent type.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200806074826.24607-8-lokeshvutla@ti.com
Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt

index 7841cb0..5fd3ee0 100644 (file)
@@ -43,13 +43,14 @@ TISCI Interrupt Aggregator Node:
 - msi-controller:      Identifies the node as an MSI controller.
 - interrupt-parent:    phandle of irq parent.
 - ti,sci:              Phandle to TI-SCI compatible System controller node.
-- ti,sci-dev-id:       TISCI device ID of the Interrupt Aggregator.
-- ti,sci-rm-range-vint:        Array of TISCI subtype ids representing vints(inta
-                       outputs) range within this INTA, assigned to the
-                       requesting host context.
-- ti,sci-rm-range-global-event:        Array of TISCI subtype ids representing the
-                       global events range reaching this IA and are assigned
-                       to the requesting host context.
+- ti,sci-dev-id:       TISCI device id of interrupt controller.
+- ti,interrupt-ranges: Set of triplets containing ranges that convert
+                       the INTA output interrupt numbers to parent's
+                       interrupt number. Each triplet has following entries:
+                       - First entry specifies the base for vint
+                       - Second entry specifies the base for parent irqs
+                       - Third entry specifies the limit
+
 
 Example:
 --------
@@ -61,6 +62,5 @@ main_udmass_inta: interrupt-controller@33d00000 {
        interrupt-parent = <&main_navss_intr>;
        ti,sci = <&dmsc>;
        ti,sci-dev-id = <179>;
-       ti,sci-rm-range-vint = <0x0>;
-       ti,sci-rm-range-global-event = <0x1>;
+       ti,interrupt-ranges = <0 0 256>;
 };