Skip to contentSkip to conversation

arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound

PATCH In review Kuninori Morimoto 4 participants 7 messages Feb 27, 2019 – Aug 21, 2019

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

cover arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound

Hi Simon

These are HDMI sound support for r8a77965.
I didn't/can't test these.

Kuninori Morimoto (2):
arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound
arm64: dts: renesas: r8a77965-salvator-xs: enable HDMI sound

 .../arm64/boot/dts/renesas/r8a77965-salvator-x.dts | 28 ++++++++++++++++++++++
 .../boot/dts/renesas/r8a77965-salvator-xs.dts      | 28 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound

From: Kuninori Morimoto <[email protected]>

---
 .../arm64/boot/dts/renesas/r8a77965-salvator-x.dts | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts +28 -0
index 340a3c7..28a2b83 100644
@@ -31,6 +31,11 @@
 		      "dclkin.0", "dclkin.1", "dclkin.3";
 };
 
+&sound_card {
+	dais = <&rsnd_port0	/* ak4613 */
+		&rsnd_port1>;	/* HDMI0  */
+};
+
 &hdmi0 {
 	status = "okay";
 
@@ -41,9 +46,32 @@
 				remote-endpoint = <&hdmi0_con>;
 			};
 		};
+		port@2 {
+			reg = <2>;
+			dw_hdmi0_snd_in: endpoint {
+				remote-endpoint = <&rsnd_endpoint1>;
+			};
+		};
 	};
 };
 
 &hdmi0_con {
 	remote-endpoint = <&rcar_dw_hdmi0_out>;
 };
+
+&rcar_sound {
+	ports {
+		rsnd_port1: port@1 {
+			reg = <1>;
+			rsnd_endpoint1: endpoint {
+				remote-endpoint = <&dw_hdmi0_snd_in>;
+
+				dai-format = "i2s";
+				bitclock-master = <&rsnd_endpoint1>;
+				frame-master = <&rsnd_endpoint1>;
+
+				playback = <&ssi2>;
+			};
+		};
+	};
+};
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 arm64: dts: renesas: r8a77965-salvator-xs: enable HDMI sound

In reply to Kuninori Morimoto

From: Kuninori Morimoto <[email protected]>

---
 .../boot/dts/renesas/r8a77965-salvator-xs.dts      | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts +28 -0
index f03a5e9..e6f6601 100644
@@ -31,6 +31,11 @@
 		      "dclkin.0", "dclkin.1", "dclkin.3";
 };
 
+&sound_card {
+	dais = <&rsnd_port0	/* ak4613 */
+		&rsnd_port1>;	/* HDMI0  */
+};
+
 &hdmi0 {
 	status = "okay";
 
@@ -41,6 +46,12 @@
 				remote-endpoint = <&hdmi0_con>;
 			};
 		};
+		port@2 {
+			reg = <2>;
+			dw_hdmi0_snd_in: endpoint {
+				remote-endpoint = <&rsnd_endpoint1>;
+			};
+		};
 	};
 };
 
@@ -61,3 +72,20 @@
 &sata {
 	status = "okay";
 };
+
+&rcar_sound {
+	ports {
+		rsnd_port1: port@1 {
+			reg = <1>;
+			rsnd_endpoint1: endpoint {
+				remote-endpoint = <&dw_hdmi0_snd_in>;
+
+				dai-format = "i2s";
+				bitclock-master = <&rsnd_endpoint1>;
+				frame-master = <&rsnd_endpoint1>;
+
+				playback = <&ssi2>;
+			};
+		};
+	};
+};
Signature · 1 line
2.7.4
#3 lore raw
In reply to Kuninori Morimoto
Quoted 5 lines · Kuninori Morimoto

Hi Simon

These are HDMI sound support for r8a77965.
I didn't/can't test these.

Thanks Morimoto-san,

Is this because of lack of hardware or some deeper reason?

Quoted 12 lines

Kuninori Morimoto (2):
arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound
arm64: dts: renesas: r8a77965-salvator-xs: enable HDMI sound

 .../arm64/boot/dts/renesas/r8a77965-salvator-x.dts | 28 ++++++++++++++++++++++
 .../boot/dts/renesas/r8a77965-salvator-xs.dts      | 28 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)
Signature · 1 line
2.7.4
#4 lore raw

Hi Simon

Quoted 6 lines
Quoted 2 lines

These are HDMI sound support for r8a77965.
I didn't/can't test these.

Thanks Morimoto-san,

Is this because of lack of hardware or some deeper reason?

Beause, I don't have such hardware

Best regards
---
Kuninori Morimoto

Tested-by
#5 lore raw

Hello Simon, Morimoto-san,

Quoted 11 lines · Kuninori Morimoto

Hi Simon

Quoted 6 lines
Quoted 2 lines

These are HDMI sound support for r8a77965.
I didn't/can't test these.

Thanks Morimoto-san,

Is this because of lack of hardware or some deeper reason?

Beause, I don't have such hardware

Tested on Salvator-XS M3-N.

Thanks
j

Quoted 4 lines

Best regards
---
Kuninori Morimoto

#6 lore raw
Quoted 6 lines · Jacopo Mondi
Quoted 5 lines · Kuninori Morimoto
Quoted 5 lines
Quoted 2 lines

These are HDMI sound support for r8a77965.
I didn't/can't test these.

Thanks Morimoto-san,

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Is this because of lack of hardware or some deeper reason?

Beause, I don't have such hardware

Tested on Salvator-XS M3-N.

Thanks, queuing in renesas-devel for v5.4, after preserving sort order.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds