Skip to contentSkip to conversation

arm64: dts: renesas: r8a7795: remove unneeded sound #address/size-cells

PATCH In review Kuninori Morimoto 2 participants 3 messages Sep 28, 2018 – Oct 1, 2018

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

PATCH 1/1 arm64: dts: renesas: r8a7795: remove unneeded sound #address/size-cells

From: Kuninori Morimoto <[email protected]>

commit 2d87dc0e5be2 ("arm64: dts: renesas: r8a7795: Add address properties to rcar_sound port nodes") added missing #address-cells and #size-cells for sound ports.
But, these are based on platform, not on SoC. This patch cleanups it.

---
 arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dts |  2 ++
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts     |  2 ++
 arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts    |  2 ++
 arch/arm64/boot/dts/renesas/r8a7795.dtsi               | 14 --------------
 arch/arm64/boot/dts/renesas/salvator-common.dtsi       |  3 +++
 5 files changed, 9 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dts +2 -0
index 0895503..c1a56ea 100644
@@ -112,6 +112,7 @@
 	ports {
 		/* rsnd_port0 is on salvator-common */
 		rsnd_port1: port@1 {
+			reg = <1>;
 			rsnd_endpoint1: endpoint {
 				remote-endpoint = <&dw_hdmi0_snd_in>;
 
@@ -123,6 +124,7 @@
 			};
 		};
 		rsnd_port2: port@2 {
+			reg = <2>;
 			rsnd_endpoint2: endpoint {
 				remote-endpoint = <&dw_hdmi1_snd_in>;
 
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +2 -0
index 1620e8d..d2d48b3 100644
@@ -112,6 +112,7 @@
 	ports {
 		/* rsnd_port0 is on salvator-common */
 		rsnd_port1: port@1 {
+			reg = <1>;
 			rsnd_endpoint1: endpoint {
 				remote-endpoint = <&dw_hdmi0_snd_in>;
 
@@ -123,6 +124,7 @@
 			};
 		};
 		rsnd_port2: port@2 {
+			reg = <2>;
 			rsnd_endpoint2: endpoint {
 				remote-endpoint = <&dw_hdmi1_snd_in>;
 
arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts +2 -0
index cf08a11..42101fc 100644
@@ -127,6 +127,7 @@
 	ports {
 		/* rsnd_port0 is on salvator-common */
 		rsnd_port1: port@1 {
+			reg = <1>;
 			rsnd_endpoint1: endpoint {
 				remote-endpoint = <&dw_hdmi0_snd_in>;
 
@@ -138,6 +139,7 @@
 			};
 		};
 		rsnd_port2: port@2 {
+			reg = <2>;
 			rsnd_endpoint2: endpoint {
 				remote-endpoint = <&dw_hdmi1_snd_in>;
 
arch/arm64/boot/dts/renesas/r8a7795.dtsi +0 -14
index a79c8d3..5f6020e 100644
@@ -1972,20 +1972,6 @@
 					dma-names = "rx", "tx", "rxu", "txu";
 				};
 			};
-
-			ports {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				port@0 {
-					reg = <0>;
-				};
-				port@1 {
-					reg = <1>;
-				};
-				port@2 {
-					reg = <2>;
-				};
-			};
 		};
 
 		audma0: dma-controller@ec700000 {
arch/arm64/boot/dts/renesas/salvator-common.dtsi +3 -0
index 7f91ff5..054a7ee 100644
@@ -707,7 +707,10 @@
 		 <&cpg CPG_CORE CPG_AUDIO_CLK_I>;
 
 	ports {
+		#address-cells = <1>;
+		#size-cells = <0>;
 		rsnd_port0: port@0 {
+			reg = <0>;
 			rsnd_endpoint0: endpoint {
 				remote-endpoint = <&ak4613_endpoint>;
 
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Kuninori Morimoto

From: Kuninori Morimoto <[email protected]>

commit 2d87dc0e5be2 ("arm64: dts: renesas: r8a7795: Add address properties to rcar_sound port nodes") added missing #address-cells and #size-cells for sound ports.
But, these are based on platform, not on SoC. This patch cleanups it.

Thanks,

This looks fine to me but I will wait to see if there are other reviews before applying.

#2 lore raw
Quoted 8 lines · Simon Horman
Quoted 7 lines · Kuninori Morimoto

From: Kuninori Morimoto <[email protected]>

commit 2d87dc0e5be2 ("arm64: dts: renesas: r8a7795: Add address properties to rcar_sound port nodes") added missing #address-cells and #size-cells for sound ports.
But, these are based on platform, not on SoC. This patch cleanups it.

Quoted 6 lines
Quoted 1 line

Thanks,

This looks fine to me but I will wait to see if there are other reviews before applying.

Thanks again Morimoto-san,

applied for v4.21.