Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/2] arm64: dts: ti: k3-j721e: Add interrupt controller nodes
@ 2019-06-14 14:49 Lokesh Vutla
  2019-06-14 14:50 ` [PATCH 1/2] arm64: dts: ti: k3-j721e: Add interrupt controllers in main domain Lokesh Vutla
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lokesh Vutla @ 2019-06-14 14:49 UTC (permalink / raw)
  To: Tero Kristo, Nishanth Menon, Rob Herring
  Cc: Lokesh Vutla, Device Tree Mailing List, Sekhar Nori,
	Linux ARM Mailing List

This series adds dt nodes for interrupt controllers available in
J721E SoC.

Depends on the main nav intr node posted by Suman: 
https://patchwork.kernel.org/patch/10969399/

Lokesh Vutla (2):
  arm64: dts: ti: k3-j721e: Add interrupt controllers in main domain
  arm64: dts: ti: k3-j721e: Add interrupt controllers in wakeup domain

 arch/arm64/boot/dts/ti/k3-j721e-main.dtsi     | 23 +++++++++++++++++++
 .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi      | 11 +++++++++
 2 files changed, 34 insertions(+)

-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] arm64: dts: ti: k3-j721e: Add interrupt controllers in main domain
  2019-06-14 14:49 [PATCH 0/2] arm64: dts: ti: k3-j721e: Add interrupt controller nodes Lokesh Vutla
@ 2019-06-14 14:50 ` Lokesh Vutla
  2019-06-14 14:50 ` [PATCH 2/2] arm64: dts: ti: k3-j721e: Add interrupt controllers in wakeup domain Lokesh Vutla
  2019-06-18 14:42 ` [PATCH 0/2] arm64: dts: ti: k3-j721e: Add interrupt controller nodes Tero Kristo
  2 siblings, 0 replies; 4+ messages in thread
From: Lokesh Vutla @ 2019-06-14 14:50 UTC (permalink / raw)
  To: Tero Kristo, Nishanth Menon, Rob Herring
  Cc: Lokesh Vutla, Device Tree Mailing List, Sekhar Nori,
	Linux ARM Mailing List

Main domain in J721E has the following interrupt controller instances:
- Main Domain GPIO Interrupt router connected to gpio in main domain.
- Under the Main Domain Navigator Subsystem(NAVSS)
	- Main Navss Interrupt Router connected to main navss inta and mailboxes.
	- Main Navss Interrupt Aggregator connected to main domain UDMASS

Add DT nodes for the interrupt controllers available in main domain.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
index 36c51ff9a898..a01308142f77 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
@@ -50,6 +50,17 @@
 		#iommu-cells = <1>;
 	};
 
+	main_gpio_intr: interrupt-controller0 {
+		compatible = "ti,sci-intr";
+		ti,intr-trigger-type = <1>;
+		interrupt-controller;
+		interrupt-parent = <&gic500>;
+		#interrupt-cells = <2>;
+		ti,sci = <&dmsc>;
+		ti,sci-dst-id = <14>;
+		ti,sci-rm-range-girq = <0x1>;
+	};
+
 	cbass_main_navss: interconnect0 {
 		compatible = "simple-bus";
 		#address-cells = <2>;
@@ -66,6 +77,18 @@
 			ti,sci-dst-id = <14>;
 			ti,sci-rm-range-girq = <0>, <2>;
 		};
+
+		main_udmass_inta: interrupt-controller@33d00000 {
+			compatible = "ti,sci-inta";
+			reg = <0x0 0x33d00000 0x0 0x100000>;
+			interrupt-controller;
+			interrupt-parent = <&main_navss_intr>;
+			msi-controller;
+			ti,sci = <&dmsc>;
+			ti,sci-dev-id = <209>;
+			ti,sci-rm-range-vint = <0xa>;
+			ti,sci-rm-range-global-event = <0xd>;
+		};
 	};
 
 	secure_proxy_main: mailbox@32c00000 {
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: dts: ti: k3-j721e: Add interrupt controllers in wakeup domain
  2019-06-14 14:49 [PATCH 0/2] arm64: dts: ti: k3-j721e: Add interrupt controller nodes Lokesh Vutla
  2019-06-14 14:50 ` [PATCH 1/2] arm64: dts: ti: k3-j721e: Add interrupt controllers in main domain Lokesh Vutla
@ 2019-06-14 14:50 ` Lokesh Vutla
  2019-06-18 14:42 ` [PATCH 0/2] arm64: dts: ti: k3-j721e: Add interrupt controller nodes Tero Kristo
  2 siblings, 0 replies; 4+ messages in thread
From: Lokesh Vutla @ 2019-06-14 14:50 UTC (permalink / raw)
  To: Tero Kristo, Nishanth Menon, Rob Herring
  Cc: Lokesh Vutla, Device Tree Mailing List, Sekhar Nori,
	Linux ARM Mailing List

Wakeup domain in J721E SoC has an interrupt router connected to gpio
in wakeup domain. Add DT node for this interrupt router.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
index b72e033fa159..e79fd85112a9 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
@@ -69,4 +69,15 @@
 		clocks = <&k3_clks 149 0>;
 		clock-names = "fclk";
 	};
+
+	wkup_gpio_intr: interrupt-controller2 {
+		compatible = "ti,sci-intr";
+		ti,intr-trigger-type = <1>;
+		interrupt-controller;
+		interrupt-parent = <&gic500>;
+		#interrupt-cells = <2>;
+		ti,sci = <&dmsc>;
+		ti,sci-dst-id = <14>;
+		ti,sci-rm-range-girq = <0x5>;
+	};
 };
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] arm64: dts: ti: k3-j721e: Add interrupt controller nodes
  2019-06-14 14:49 [PATCH 0/2] arm64: dts: ti: k3-j721e: Add interrupt controller nodes Lokesh Vutla
  2019-06-14 14:50 ` [PATCH 1/2] arm64: dts: ti: k3-j721e: Add interrupt controllers in main domain Lokesh Vutla
  2019-06-14 14:50 ` [PATCH 2/2] arm64: dts: ti: k3-j721e: Add interrupt controllers in wakeup domain Lokesh Vutla
@ 2019-06-18 14:42 ` Tero Kristo
  2 siblings, 0 replies; 4+ messages in thread
From: Tero Kristo @ 2019-06-18 14:42 UTC (permalink / raw)
  To: Lokesh Vutla, Nishanth Menon, Rob Herring
  Cc: Device Tree Mailing List, Sekhar Nori, Linux ARM Mailing List

On 14/06/2019 17:49, Lokesh Vutla wrote:
> This series adds dt nodes for interrupt controllers available in
> J721E SoC.
> 
> Depends on the main nav intr node posted by Suman:
> https://patchwork.kernel.org/patch/10969399/
> 
> Lokesh Vutla (2):
>    arm64: dts: ti: k3-j721e: Add interrupt controllers in main domain
>    arm64: dts: ti: k3-j721e: Add interrupt controllers in wakeup domain
> 
>   arch/arm64/boot/dts/ti/k3-j721e-main.dtsi     | 23 +++++++++++++++++++
>   .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi      | 11 +++++++++
>   2 files changed, 34 insertions(+)
> 

Queuing both patches towards 5.3, thanks.

-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 14:49 [PATCH 0/2] arm64: dts: ti: k3-j721e: Add interrupt controller nodes Lokesh Vutla
2019-06-14 14:50 ` [PATCH 1/2] arm64: dts: ti: k3-j721e: Add interrupt controllers in main domain Lokesh Vutla
2019-06-14 14:50 ` [PATCH 2/2] arm64: dts: ti: k3-j721e: Add interrupt controllers in wakeup domain Lokesh Vutla
2019-06-18 14:42 ` [PATCH 0/2] arm64: dts: ti: k3-j721e: Add interrupt controller nodes Tero Kristo

Linux-ARM-Kernel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/0 linux-arm-kernel/git/0.git
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/1 linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ https://lore.kernel.org/linux-arm-kernel \
		linux-arm-kernel@lists.infradead.org
	public-inbox-index linux-arm-kernel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-arm-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git