linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: renesas: r8a77961: Add INTC-EX device node
@ 2021-06-01 11:36 Geert Uytterhoeven
  2021-06-02  4:13 ` Yoshihiro Shimoda
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2021-06-01 11:36 UTC (permalink / raw)
  To: Magnus Damm, Yoshihiro Shimoda
  Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven

Populate the device node for the Interrupt Controller for External
Devices (INTC-EX) on R-Car M3-W+, which serves external IRQ pins
IRQ[0-5].

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Remote-tested on Salvator-XS with R-Car M3-W+.
After this, the PMIC connected to IRQ0 is instantiated.

To be queued in renesas-devel for v5.14.

 arch/arm64/boot/dts/renesas/r8a77961.dtsi | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a77961.dtsi b/arch/arm64/boot/dts/renesas/r8a77961.dtsi
index 3c73ee47791542a9..91b501e0121ef26f 100644
--- a/arch/arm64/boot/dts/renesas/r8a77961.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77961.dtsi
@@ -560,10 +560,19 @@ tsc: thermal@e6198000 {
 		};
 
 		intc_ex: interrupt-controller@e61c0000 {
+			compatible = "renesas,intc-ex-r8a77961", "renesas,irqc";
 			#interrupt-cells = <2>;
 			interrupt-controller;
 			reg = <0 0xe61c0000 0 0x200>;
-			/* placeholder */
+			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 407>;
+			power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+			resets = <&cpg 407>;
 		};
 
 		tmu0: timer@e61e0000 {
-- 
2.25.1


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

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

* RE: [PATCH] arm64: dts: renesas: r8a77961: Add INTC-EX device node
  2021-06-01 11:36 [PATCH] arm64: dts: renesas: r8a77961: Add INTC-EX device node Geert Uytterhoeven
@ 2021-06-02  4:13 ` Yoshihiro Shimoda
  0 siblings, 0 replies; 2+ messages in thread
From: Yoshihiro Shimoda @ 2021-06-02  4:13 UTC (permalink / raw)
  To: Geert Uytterhoeven, Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel

Hi Geert-san,

> From: Geert Uytterhoeven, Sent: Tuesday, June 1, 2021 8:36 PM
> 
> Populate the device node for the Interrupt Controller for External
> Devices (INTC-EX) on R-Car M3-W+, which serves external IRQ pins
> IRQ[0-5].
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Thank you for the patch!

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda


_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2021-06-02  4:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 11:36 [PATCH] arm64: dts: renesas: r8a77961: Add INTC-EX device node Geert Uytterhoeven
2021-06-02  4:13 ` Yoshihiro Shimoda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).