From: Lokesh Vutla <lokeshvutla@ti.com> To: Marc Zyngier <maz@kernel.org>, Rob Herring <robh+dt@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de>, Nishanth Menon <nm@ti.com>, Tero Kristo <t-kristo@ti.com>, Santosh Shilimkar <ssantosh@kernel.org>, Linux ARM Mailing List <linux-arm-kernel@lists.infradead.org>, Sekhar Nori <nsekhar@ti.com>, Grygorii Strashko <grygorii.strashko@ti.com>, Peter Ujfalusi <peter.ujfalusi@ti.com>, Device Tree Mailing List <devicetree@vger.kernel.org>, Suman Anna <s-anna@ti.com>, Lokesh Vutla <lokeshvutla@ti.com>, Rob Herring <robh@kernel.org> Subject: [PATCH v6 07/13] dt-bindings: irqchip: ti,sci-inta: Update docs to support different parent. Date: Thu, 6 Aug 2020 13:18:20 +0530 [thread overview] Message-ID: <20200806074826.24607-8-lokeshvutla@ti.com> (raw) In-Reply-To: <20200806074826.24607-1-lokeshvutla@ti.com> 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. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> --- .../interrupt-controller/ti,sci-inta.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt b/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt index 7841cb099e13..5fd3ee0f7167 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt @@ -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>; }; -- 2.27.0
WARNING: multiple messages have this Message-ID (diff)
From: Lokesh Vutla <lokeshvutla@ti.com> To: Marc Zyngier <maz@kernel.org>, Rob Herring <robh+dt@kernel.org> Cc: Nishanth Menon <nm@ti.com>, Peter Ujfalusi <peter.ujfalusi@ti.com>, Grygorii Strashko <grygorii.strashko@ti.com>, Device Tree Mailing List <devicetree@vger.kernel.org>, Lokesh Vutla <lokeshvutla@ti.com>, Sekhar Nori <nsekhar@ti.com>, Tero Kristo <t-kristo@ti.com>, Santosh Shilimkar <ssantosh@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Rob Herring <robh@kernel.org>, Linux ARM Mailing List <linux-arm-kernel@lists.infradead.org> Subject: [PATCH v6 07/13] dt-bindings: irqchip: ti, sci-inta: Update docs to support different parent. Date: Thu, 6 Aug 2020 13:18:20 +0530 [thread overview] Message-ID: <20200806074826.24607-8-lokeshvutla@ti.com> (raw) In-Reply-To: <20200806074826.24607-1-lokeshvutla@ti.com> 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. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> --- .../interrupt-controller/ti,sci-inta.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt b/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt index 7841cb099e13..5fd3ee0f7167 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.txt @@ -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>; }; -- 2.27.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-08-06 11:05 UTC|newest] Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-08-06 7:48 [PATCH v6 00/13] irqchip: ti,sci-intr/inta: Update the dt bindings to accept different interrupt parents Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 00/13] irqchip: ti, sci-intr/inta: " Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 01/13] firmware: ti_sci: Drop the device id to resource type translation Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla 2020-08-25 23:41 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 02/13] firmware: ti_sci: Drop unused structure ti_sci_rm_type_map Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla 2020-08-25 23:41 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 03/13] firmware: ti_sci: Add support for getting resource with subtype Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla 2020-08-25 23:41 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 04/13] dt-bindings: irqchip: ti,sci-intr: Update bindings to drop the usage of gic as parent Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 04/13] dt-bindings: irqchip: ti, sci-intr: " Lokesh Vutla 2020-08-25 23:41 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 05/13] dt-bindings: irqchip: Convert ti,sci-intr bindings to yaml Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 05/13] dt-bindings: irqchip: Convert ti, sci-intr " Lokesh Vutla 2020-08-25 23:40 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 06/13] irqchip/ti-sci-intr: Add support for INTR being a parent to INTR Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla 2020-08-25 23:40 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla [this message] 2020-08-06 7:48 ` [PATCH v6 07/13] dt-bindings: irqchip: ti, sci-inta: Update docs to support different parent Lokesh Vutla 2020-08-25 23:40 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 08/13] dt-bindings: irqchip: Convert ti,sci-inta bindings to yaml Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 08/13] dt-bindings: irqchip: Convert ti, sci-inta " Lokesh Vutla 2020-08-25 23:40 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 09/13] irqchip/ti-sci-inta: Do not store TISCI device id in platform device id field Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla 2020-08-25 23:40 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 10/13] irqchip/ti-sci-inta: Add support for INTA directly connecting to GIC Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla 2020-08-25 23:40 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 11/13] arm64: dts: k3-j721e: ti-sci-inta/intr: Update to latest bindings Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla 2020-08-12 13:35 ` Nishanth Menon 2020-08-12 13:35 ` Nishanth Menon 2020-08-25 23:40 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 12/13] arm64: dts: k3-am65: " Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla 2020-08-12 13:35 ` Nishanth Menon 2020-08-12 13:35 ` Nishanth Menon 2020-08-25 23:40 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-06 7:48 ` [PATCH v6 13/13] arm64: dts: k3-am65: Update the RM resource types Lokesh Vutla 2020-08-06 7:48 ` Lokesh Vutla 2020-08-12 13:36 ` Nishanth Menon 2020-08-12 13:36 ` Nishanth Menon 2020-08-25 23:40 ` [tip: irq/urgent] " tip-bot2 for Lokesh Vutla 2020-08-07 6:32 ` [PATCH v6 00/13] irqchip: ti,sci-intr/inta: Update the dt bindings to accept different interrupt parents Lokesh Vutla 2020-08-07 6:32 ` Lokesh Vutla 2020-08-12 2:14 ` Lokesh Vutla 2020-08-12 2:14 ` Lokesh Vutla 2020-08-12 13:40 ` Nishanth Menon 2020-08-12 13:40 ` Nishanth Menon 2020-08-13 9:41 ` Peter Ujfalusi 2020-08-13 9:41 ` Peter Ujfalusi 2020-08-13 10:03 ` Sekhar Nori 2020-08-13 10:03 ` Sekhar Nori 2020-08-13 10:20 ` Peter Ujfalusi 2020-08-13 10:20 ` Peter Ujfalusi 2020-08-16 21:03 ` [PATCH v6 00/13] irqchip: ti, sci-intr/inta: " Marc Zyngier 2020-08-16 21:03 ` Marc Zyngier 2020-08-17 17:30 ` Sekhar Nori 2020-08-17 17:30 ` Sekhar Nori
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200806074826.24607-8-lokeshvutla@ti.com \ --to=lokeshvutla@ti.com \ --cc=devicetree@vger.kernel.org \ --cc=grygorii.strashko@ti.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=maz@kernel.org \ --cc=nm@ti.com \ --cc=nsekhar@ti.com \ --cc=peter.ujfalusi@ti.com \ --cc=robh+dt@kernel.org \ --cc=robh@kernel.org \ --cc=s-anna@ti.com \ --cc=ssantosh@kernel.org \ --cc=t-kristo@ti.com \ --cc=tglx@linutronix.de \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.