Skip to contentSkip to conversation

arm64: dts: imx8mm: Move gic node into soc node

PATCH Superseded [email protected] 2 participants 3 messages Jun 3, 2019 – Jun 6, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mm: Move gic node into soc node

From: Anson Huang <[email protected]>

GIC is inside of SoC from architecture perspective, it should be located inside of soc node in DT.

---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm.dtsi +9 -9
index dc99f45..429312e 100644
@@ -169,15 +169,6 @@
 		clock-output-names = "clk_ext4";
 	};
 
-	gic: interrupt-controller@38800000 {
-		compatible = "arm,gic-v3";
-		reg = <0x0 0x38800000 0 0x10000>, /* GIC Dist */
-		      <0x0 0x38880000 0 0xC0000>; /* GICR (RD_base + SGI_base) */
-		#interrupt-cells = <3>;
-		interrupt-controller;
-		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
-	};
-
 	psci {
 		compatible = "arm,psci-1.0";
 		method = "smc";
@@ -739,6 +730,15 @@
 			dma-names = "rx-tx";
 			status = "disabled";
 		};
+
+		gic: interrupt-controller@38800000 {
+			compatible = "arm,gic-v3";
+			reg = <0x38800000 0x10000>, /* GIC Dist */
+			      <0x38880000 0xc0000>; /* GICR (RD_base + SGI_base) */
+			#interrupt-cells = <3>;
+			interrupt-controller;
+			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
+		};
 	};
 
 	usbphynop1: usbphynop1 {
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · On Mon, Jun 03, 2019 at 09:50:20AM +0800, [email protected] wrote:

From: Anson Huang <[email protected]>

GIC is inside of SoC from architecture perspective, it should be located inside of soc node in DT.

It doesn't apply to my imx/dt64 branch. Please generate it against that branch for my for-next.

Shawn

Quoted 43 lines
---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm.dtsi +9 -9
index dc99f45..429312e 100644
@@ -169,15 +169,6 @@
 		clock-output-names = "clk_ext4";
 	};
 
-	gic: interrupt-controller@38800000 {
-		compatible = "arm,gic-v3";
-		reg = <0x0 0x38800000 0 0x10000>, /* GIC Dist */
-		      <0x0 0x38880000 0 0xC0000>; /* GICR (RD_base + SGI_base) */
-		#interrupt-cells = <3>;
-		interrupt-controller;
-		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
-	};
-
 	psci {
 		compatible = "arm,psci-1.0";
 		method = "smc";
@@ -739,6 +730,15 @@
 			dma-names = "rx-tx";
 			status = "disabled";
 		};
+
+		gic: interrupt-controller@38800000 {
+			compatible = "arm,gic-v3";
+			reg = <0x38800000 0x10000>, /* GIC Dist */
+			      <0x38880000 0xc0000>; /* GICR (RD_base + SGI_base) */
+			#interrupt-cells = <3>;
+			interrupt-controller;
+			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
+		};
 	};
 
 	usbphynop1: usbphynop1 {
Signature · 1 line
2.7.4
#2 lore raw

Hi, Shawn

Quoted 15 lines

-----Original Message-----
From: Shawn Guo <[email protected]>
Sent: Thursday, June 6, 2019 10:18 AM
To: Anson Huang <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Leonard Crestez <[email protected]>; Aisheng Dong <[email protected]>; [email protected]; Jacky Bai <[email protected]>; [email protected]; [email protected]; linux- [email protected]; dl-linux-imx <[email protected]>
Subject: Re: [PATCH] arm64: dts: imx8mm: Move gic node into soc node

Quoted 2 lines · On Mon, Jun 03, 2019 at 09:50:20AM +0800, [email protected] wrote:

From: Anson Huang <[email protected]>

Quoted 7 lines
Quoted 4 lines

GIC is inside of SoC from architecture perspective, it should be located inside of soc node in DT.

It doesn't apply to my imx/dt64 branch. Please generate it against that branch for my for-next.

OK, just resent the patch based on the correct branch.

Thanks,
Anson.

Quoted 49 lines

Shawn

Quoted 10 lines
---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm.dtsi +0 -0
index dc99f45..429312e 100644

arch/arm64/boot/dts/freescale/imx8mm.dtsi line 175

Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi +0 -4
@@ -169,15 +169,6 @@
 		clock-output-names = "clk_ext4";
 	};
 
-	gic: interrupt-controller@38800000 {
-		compatible = "arm,gic-v3";
-		reg = <0x0 0x38800000 0 0x10000>, /* GIC Dist */
-		      <0x0 0x38880000 0 0xC0000>; /* GICR (RD_base +

SGI_base) */

Quoted 9 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi +0 -5
-		#interrupt-cells = <3>;
-		interrupt-controller;
-		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
-	};
-
 	psci {
 		compatible = "arm,psci-1.0";
 		method = "smc";

arch/arm64/boot/dts/freescale/imx8mm.dtsi line 737

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi +5 -0
@@ -739,6 +730,15 @@
 			dma-names = "rx-tx";
 			status = "disabled";
 		};
+
+		gic: interrupt-controller@38800000 {
+			compatible = "arm,gic-v3";
+			reg = <0x38800000 0x10000>, /* GIC Dist */
+			      <0x38880000 0xc0000>; /* GICR (RD_base +

SGI_base) */

Quoted 10 lines
arch/arm64/boot/dts/freescale/imx8mm.dtsi +4 -1
+			#interrupt-cells = <3>;
+			interrupt-controller;
+			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
+		};
 	};
 
 	usbphynop1: usbphynop1 {
--

2.7.4