diff mbox series

arm64: dts: imx8mq: Make GPC default interrupt parent

Message ID 20190131204524.1218-1-andrew.smirnov@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mq: Make GPC default interrupt parent | expand

Commit Message

Andrey Smirnov Jan. 31, 2019, 8:45 p.m. UTC
Now that the GPCv2 driver supports i.MX8MQ, make GPC default interrupt
parent.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Leonard Crestez <leonard.crestez@nxp.com>
Cc: "A.s. Dong" <aisheng.dong@nxp.com>
Cc: Richard Zhu <hongxing.zhu@nxp.com>
Cc: linux-imx@nxp.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Fabio Estevam Jan. 31, 2019, 9:47 p.m. UTC | #1
Hi Andrey

On Thu, Jan 31, 2019 at 7:11 PM Andrey Smirnov <andrew.smirnov@gmail.com> wrote:
>
> Now that the GPCv2 driver supports i.MX8MQ, make GPC default interrupt
> parent.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>

Lucas has already submitted this same change and another one that
selects the GPC driver as part of a series.

My feedback was to send the GPC selection patch first in order to
avoid boot hang when people try to boot without the GPC driver
selected.
Andrey Smirnov Feb. 1, 2019, 12:13 a.m. UTC | #2
On Thu, Jan 31, 2019 at 1:47 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi Andrey
>
> On Thu, Jan 31, 2019 at 7:11 PM Andrey Smirnov <andrew.smirnov@gmail.com> wrote:
> >
> > Now that the GPCv2 driver supports i.MX8MQ, make GPC default interrupt
> > parent.
> >
> > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
>
> Lucas has already submitted this same change and another one that
> selects the GPC driver as part of a series.
>

OK, good to know. Please disregard this patch, then.

Thanks,
Andrey Smirnov
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index d20e5c7e21a3..e9aa64156577 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -12,8 +12,7 @@ 
 #include "imx8mq-pinfunc.h"
 
 / {
-	/* This should really be the GPC, but we need a driver for this first */
-	interrupt-parent = <&gic>;
+	interrupt-parent = <&gpc>;
 
 	#address-cells = <2>;
 	#size-cells = <2>;
@@ -265,6 +264,11 @@ 
 				compatible = "fsl,imx8mq-gpc";
 				reg = <0x303a0000 0x10000>;
 
+				interrupt-controller;
+				interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
+				#interrupt-cells = <3>;
+				interrupt-parent = <&gic>;
+
 				pgc {
 					#address-cells = <1>;
 					#size-cells = <0>;