Skip to contentSkip to conversation

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

PATCH In review [email protected] 3 participants 5 messages Feb 22, 2019 – Feb 25, 2019

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

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

From: Jiada Wang <[email protected]>

commit 78bc93b3ffb2 ("arm64: dts: renesas: r8a7796: 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/r8a7796-salvator-x.dts  |  1 +
 arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts |  1 +
 arch/arm64/boot/dts/renesas/r8a7796.dtsi            | 11 -----------
 3 files changed, 2 insertions(+), 11 deletions(-)
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +1 -0
index b4f9567..2aefa53 100644
@@ -68,6 +68,7 @@
 	ports {
 		/* rsnd_port0 is on salvator-common */
 		rsnd_port1: port@1 {
+			reg = <1>;
 			rsnd_endpoint1: endpoint {
 				remote-endpoint = <&dw_hdmi0_snd_in>;
 
arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts +1 -0
index 8860be6..fa4ef7c 100644
@@ -69,6 +69,7 @@
 	ports {
 		/* rsnd_port0 is on salvator-common */
 		rsnd_port1: port@1 {
+			reg = <1>;
 			rsnd_endpoint1: endpoint {
 				remote-endpoint = <&dw_hdmi0_snd_in>;
 
arch/arm64/boot/dts/renesas/r8a7796.dtsi +0 -11
index 0648d12..cc601d9 100644
@@ -2162,17 +2162,6 @@
 					dma-names = "rx", "tx", "rxu", "txu";
 				};
 			};
-
-			ports {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				port@0 {
-					reg = <0>;
-				};
-				port@1 {
-					reg = <1>;
-				};
-			};
 		};
 
 		audma0: dma-controller@ec700000 {
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw

Hi

Quoted 10 lines

From: Jiada Wang <[email protected]>

commit 78bc93b3ffb2 ("arm64: dts: renesas: r8a7796: 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.

---

I thought I had mentioned about this, but it seems no fix... Anyway

#2 lore raw
Quoted 10 lines · Kuninori Morimoto

Hi

Quoted 7 lines

From: Jiada Wang <[email protected]>

commit 78bc93b3ffb2 ("arm64: dts: renesas: r8a7796: 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 8 lines
Quoted 3 lines

---

I thought I had mentioned about this, but it seems no fix... Anyway

Thanks Morimoto-san,

applied for v5.2.

#3 lore raw

[CC [email protected], for the record]

Quoted 23 lines · Simon Horman
Quoted 10 lines · Kuninori Morimoto

Hi

Quoted 7 lines

From: Jiada Wang <[email protected]>

commit 78bc93b3ffb2 ("arm64: dts: renesas: r8a7796: 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 8 lines
Quoted 3 lines

---

I thought I had mentioned about this, but it seems no fix... Anyway

Thanks Morimoto-san,

applied for v5.2.

Reviewed-by on v1 1/1
#4 lore raw
In reply to [email protected]
Quoted 9 lines · On Fri, Feb 22, 2019 at 10:34:59AM +0100, [email protected] wrote:

From: Jiada Wang <[email protected]>

commit 78bc93b3ffb2 ("arm64: dts: renesas: r8a7796: 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,

please CC patches for Renesas SoCs to [email protected] (CCed) so they appear in my patch queue.

Otherwise, this patch looks fine to me but I will wait to see if there are other reviews before applying.

Quoted 55 lines
---
 arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts  |  1 +
 arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts |  1 +
 arch/arm64/boot/dts/renesas/r8a7796.dtsi            | 11 -----------
 3 files changed, 2 insertions(+), 11 deletions(-)
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +1 -0
index b4f9567..2aefa53 100644
@@ -68,6 +68,7 @@
 	ports {
 		/* rsnd_port0 is on salvator-common */
 		rsnd_port1: port@1 {
+			reg = <1>;
 			rsnd_endpoint1: endpoint {
 				remote-endpoint = <&dw_hdmi0_snd_in>;
 
arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts +1 -0
index 8860be6..fa4ef7c 100644
@@ -69,6 +69,7 @@
 	ports {
 		/* rsnd_port0 is on salvator-common */
 		rsnd_port1: port@1 {
+			reg = <1>;
 			rsnd_endpoint1: endpoint {
 				remote-endpoint = <&dw_hdmi0_snd_in>;
 
arch/arm64/boot/dts/renesas/r8a7796.dtsi +0 -11
index 0648d12..cc601d9 100644
@@ -2162,17 +2162,6 @@
 					dma-names = "rx", "tx", "rxu", "txu";
 				};
 			};
-
-			ports {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				port@0 {
-					reg = <0>;
-				};
-				port@1 {
-					reg = <1>;
-				};
-			};
 		};
 
 		audma0: dma-controller@ec700000 {
Signature · 1 line
2.7.4