Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: irqchip: ti, sci-inta: Update docs to support different parent.

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

authored by

Lokesh Vutla and committed by
Marc Zyngier
6dde29dc a5b659bd

+9 -9
+9 -9
Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt
··· 43 43 - msi-controller: Identifies the node as an MSI controller. 44 44 - interrupt-parent: phandle of irq parent. 45 45 - ti,sci: Phandle to TI-SCI compatible System controller node. 46 - - ti,sci-dev-id: TISCI device ID of the Interrupt Aggregator. 47 - - ti,sci-rm-range-vint: Array of TISCI subtype ids representing vints(inta 48 - outputs) range within this INTA, assigned to the 49 - requesting host context. 50 - - ti,sci-rm-range-global-event: Array of TISCI subtype ids representing the 51 - global events range reaching this IA and are assigned 52 - to the requesting host context. 46 + - ti,sci-dev-id: TISCI device id of interrupt controller. 47 + - ti,interrupt-ranges: Set of triplets containing ranges that convert 48 + the INTA output interrupt numbers to parent's 49 + interrupt number. Each triplet has following entries: 50 + - First entry specifies the base for vint 51 + - Second entry specifies the base for parent irqs 52 + - Third entry specifies the limit 53 + 53 54 54 55 Example: 55 56 -------- ··· 62 61 interrupt-parent = <&main_navss_intr>; 63 62 ti,sci = <&dmsc>; 64 63 ti,sci-dev-id = <179>; 65 - ti,sci-rm-range-vint = <0x0>; 66 - ti,sci-rm-range-global-event = <0x1>; 64 + ti,interrupt-ranges = <0 0 256>; 67 65 };