Skip to contentSkip to conversation

arm: boot: dts: artpec6: Remove unnecessary interrupt-parent property from sub-nodes

PATCH Superseded [email protected] 3 participants 6 messages Jun 27, 2017 – Oct 19, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: boot: dts: artpec6: Remove unnecessary interrupt-parent property from sub-nodes

From: Surender Polsani <[email protected]>

"interrupt-parent" property is declared in root node, so it is global to all nodes. This property is re-declared in few sub-nodes. To avoid duplication this property is removed from following sub-nodes:
pmu, amba at 0, amba at 0/ethernet.

---
 arch/arm/boot/dts/artpec6.dtsi | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/boot/dts/artpec6.dtsi +0 -3
index 767cbe8..2ed1177 100644
@@ -151,7 +151,6 @@
 		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
 			<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-affinity = <&cpu0>, <&cpu1>;
-		interrupt-parent = <&intc>;
 	};
 
 	pcie: pcie at f8050000 {
@@ -185,7 +184,6 @@
 		compatible = "simple-bus";
 		#address-cells = <0x1>;
 		#size-cells = <0x1>;
-		interrupt-parent = <&intc>;
 		ranges;
 		dma-ranges = <0x80000000 0x00000000 0x40000000>;
 		dma-coherent;
@@ -195,7 +193,6 @@
 			clocks = <&eth_phy_ref_clk>,
 				<&clkctrl ARTPEC6_CLK_ETH_ACLK>;
 			compatible = "snps,dwc-qos-ethernet-4.10";
-			interrupt-parent = <&intc>;
 			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
 			reg = <0xf8010000 0x4000>;
 
Signature · 1 line
1.9.1
Acked-by on v1 1/1
#1 lore raw
Quoted 41 lines · surenderp at techveda.org

From: Surender Polsani <[email protected]>

"interrupt-parent" property is declared in root node, so it is global to all nodes. This property is re-declared in few sub-nodes. To avoid duplication this property is removed from following sub-nodes:
pmu, amba at 0, amba at 0/ethernet.

---
 arch/arm/boot/dts/artpec6.dtsi | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/boot/dts/artpec6.dtsi +0 -3
index 767cbe8..2ed1177 100644
@@ -151,7 +151,6 @@
 		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
 			<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-affinity = <&cpu0>, <&cpu1>;
-		interrupt-parent = <&intc>;
 	};
 
 	pcie: pcie at f8050000 {
@@ -185,7 +184,6 @@
 		compatible = "simple-bus";
 		#address-cells = <0x1>;
 		#size-cells = <0x1>;
-		interrupt-parent = <&intc>;
 		ranges;
 		dma-ranges = <0x80000000 0x00000000 0x40000000>;
 		dma-coherent;
@@ -195,7 +193,6 @@
 			clocks = <&eth_phy_ref_clk>,
 				<&clkctrl ARTPEC6_CLK_ETH_ACLK>;
 			compatible = "snps,dwc-qos-ethernet-4.10";
-			interrupt-parent = <&intc>;
 			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
 			reg = <0xf8010000 0x4000>;
 
#2 lore raw
Quoted 1 line · Niklas Cassel

Hi Nik, This patch has been Acknowledged but is not getting added / applied to the
respective git source tree. Please let me know if there is any problem.

Thanks
Surender

Quoted 43 lines · surenderp at techveda.org
Quoted 41 lines

From: Surender Polsani <[email protected]>

"interrupt-parent" property is declared in root node, so it is global to all nodes. This property is re-declared in few sub-nodes. To avoid duplication this property is removed from following sub-nodes:
pmu, amba at 0, amba at 0/ethernet.

---
  arch/arm/boot/dts/artpec6.dtsi | 3 ---
  1 file changed, 3 deletions(-)
arch/arm/boot/dts/artpec6.dtsi +0 -3
index 767cbe8..2ed1177 100644
@@ -151,7 +151,6 @@
  		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
  			<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
  		interrupt-affinity = <&cpu0>, <&cpu1>;
-		interrupt-parent = <&intc>;
  	};
 
  	pcie: pcie at f8050000 {
@@ -185,7 +184,6 @@
  		compatible = "simple-bus";
  		#address-cells = <0x1>;
  		#size-cells = <0x1>;
-		interrupt-parent = <&intc>;
  		ranges;
  		dma-ranges = <0x80000000 0x00000000 0x40000000>;
  		dma-coherent;
@@ -195,7 +193,6 @@
  			clocks = <&eth_phy_ref_clk>,
  				<&clkctrl ARTPEC6_CLK_ETH_ACLK>;
  			compatible = "snps,dwc-qos-ethernet-4.10";
-			interrupt-parent = <&intc>;
  			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
  			reg = <0xf8010000 0x4000>;
 
#3 lore raw
Quoted 5 lines · Surender Polsani
Quoted 1 line · Niklas Cassel

Hi Nik, This patch has been Acknowledged but is not getting added / applied to the respective git source tree. Please let me know if there is any problem.

Hello Surender,

Sorry for the delay.

Could you please resend your patch,
add "To: arm at kernel.org", together with my Ack.

Best regards,
Niklas

Quoted 45 lines

Thanks
Surender

Quoted 41 lines · surenderp at techveda.org
Quoted 39 lines

From: Surender Polsani <[email protected]>

"interrupt-parent" property is declared in root node, so it is global to all nodes. This property is re-declared in few sub-nodes. To avoid duplication this property is removed from following sub-nodes:
pmu, amba at 0, amba at 0/ethernet.

---
? arch/arm/boot/dts/artpec6.dtsi | 3 ---
? 1 file changed, 3 deletions(-)

arch/arm/boot/dts/artpec6.dtsi +0 -3
index 767cbe8..2ed1177 100644
@@ -151,7 +151,6 @@
 ????????? interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
 ????????????? <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
 ????????? interrupt-affinity = <&cpu0>, <&cpu1>;
-??????? interrupt-parent = <&intc>;
 ????? };
 ? ????? pcie: pcie at f8050000 {
@@ -185,7 +184,6 @@
 ????????? compatible = "simple-bus";
 ????????? #address-cells = <0x1>;
 ????????? #size-cells = <0x1>;
-??????? interrupt-parent = <&intc>;
 ????????? ranges;
 ????????? dma-ranges = <0x80000000 0x00000000 0x40000000>;
 ????????? dma-coherent;
@@ -195,7 +193,6 @@
 ????????????? clocks = <&eth_phy_ref_clk>,
 ????????????????? <&clkctrl ARTPEC6_CLK_ETH_ACLK>;
 ????????????? compatible = "snps,dwc-qos-ethernet-4.10";
-??????????? interrupt-parent = <&intc>;
 ????????????? interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
 ????????????? reg = <0xf8010000 0x4000>;

?

#4 lore raw

PATCH v2 1/1 arm: dts: artpec6: Remove unnecessary interrupt-parent property from sub-nodes

From: Surender Polsani <[email protected]>

"interrupt-parent" property is declared in root node, so it is global to all nodes. This property is re-declared in few sub-nodes. To avoid duplication this property is removed from following sub-nodes: pmu, amba at 0, amba at 0/ethernet.

---
Changes for v2:

- Done few changes as suggested by Niklas Cassel.
- Patch is rebased and built(ARCH=arm) on latest next-20170905.

---
 arch/arm/boot/dts/artpec6.dtsi | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/boot/dts/artpec6.dtsi +0 -3
index 767cbe8..2ed1177 100644
@@ -151,7 +151,6 @@
 		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
 			<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-affinity = <&cpu0>, <&cpu1>;
-		interrupt-parent = <&intc>;
 	};
 
 	pcie: pcie at f8050000 {
@@ -185,7 +184,6 @@
 		compatible = "simple-bus";
 		#address-cells = <0x1>;
 		#size-cells = <0x1>;
-		interrupt-parent = <&intc>;
 		ranges;
 		dma-ranges = <0x80000000 0x00000000 0x40000000>;
 		dma-coherent;
@@ -195,7 +193,6 @@
 			clocks = <&eth_phy_ref_clk>,
 				<&clkctrl ARTPEC6_CLK_ETH_ACLK>;
 			compatible = "snps,dwc-qos-ethernet-4.10";
-			interrupt-parent = <&intc>;
 			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
 			reg = <0xf8010000 0x4000>;
 
Signature · 1 line
1.9.1
#5 lore raw
In reply to Niklas Cassel
Quoted 7 lines · Niklas Cassel
Quoted 5 lines · Surender Polsani
Quoted 1 line · Niklas Cassel

Hi Nik, This patch has been Acknowledged but is not getting added / applied to the respective git source tree. Please let me know if there is any problem.

Quoted 6 lines

Hello Surender,

Sorry for the delay.

Could you please resend your patch,
add "To: arm at kernel.org", together with my Ack.

I stumbled over this old patch and have applied it to next/dt now with your Ack, since I did not see another copy sent to arm at kernel.org.

Arnd