All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2]   arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound
@ 2019-02-27  5:02 Kuninori Morimoto
  2019-02-27  5:02 ` [PATCH 1/2] " Kuninori Morimoto
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kuninori Morimoto @ 2019-02-27  5:02 UTC (permalink / raw)
  To: Simon; +Cc: Magnus, linux-renesas-soc


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(+)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound
  2019-02-27  5:02 [PATCH 0/2] arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound Kuninori Morimoto
@ 2019-02-27  5:02 ` Kuninori Morimoto
  2019-02-27  5:03 ` [PATCH 2/2] arm64: dts: renesas: r8a77965-salvator-xs: " Kuninori Morimoto
  2019-02-27 11:30 ` [PATCH 0/2] arm64: dts: renesas: r8a77965-salvator-x: " Simon Horman
  2 siblings, 0 replies; 7+ messages in thread
From: Kuninori Morimoto @ 2019-02-27  5:02 UTC (permalink / raw)
  To: Simon; +Cc: Magnus, linux-renesas-soc

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 .../arm64/boot/dts/renesas/r8a77965-salvator-x.dts | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts
index 340a3c7..28a2b83 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dts
@@ -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>;
+			};
+		};
+	};
+};
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] arm64: dts: renesas: r8a77965-salvator-xs: enable HDMI sound
  2019-02-27  5:02 [PATCH 0/2] arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound Kuninori Morimoto
  2019-02-27  5:02 ` [PATCH 1/2] " Kuninori Morimoto
@ 2019-02-27  5:03 ` Kuninori Morimoto
  2019-02-27 11:30 ` [PATCH 0/2] arm64: dts: renesas: r8a77965-salvator-x: " Simon Horman
  2 siblings, 0 replies; 7+ messages in thread
From: Kuninori Morimoto @ 2019-02-27  5:03 UTC (permalink / raw)
  To: Simon; +Cc: Magnus, linux-renesas-soc

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 .../boot/dts/renesas/r8a77965-salvator-xs.dts      | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts b/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
index f03a5e9..e6f6601 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
@@ -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>;
+			};
+		};
+	};
+};
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2]   arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound
  2019-02-27  5:02 [PATCH 0/2] arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound Kuninori Morimoto
  2019-02-27  5:02 ` [PATCH 1/2] " Kuninori Morimoto
  2019-02-27  5:03 ` [PATCH 2/2] arm64: dts: renesas: r8a77965-salvator-xs: " Kuninori Morimoto
@ 2019-02-27 11:30 ` Simon Horman
  2019-03-01  0:41   ` Kuninori Morimoto
  2 siblings, 1 reply; 7+ messages in thread
From: Simon Horman @ 2019-02-27 11:30 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: Magnus, linux-renesas-soc

On Wed, Feb 27, 2019 at 02:02:21PM +0900, Kuninori Morimoto wrote:
> 
> 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?

> 
> 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(+)
> 
> -- 
> 2.7.4
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2]   arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound
  2019-02-27 11:30 ` [PATCH 0/2] arm64: dts: renesas: r8a77965-salvator-x: " Simon Horman
@ 2019-03-01  0:41   ` Kuninori Morimoto
  2019-08-21 10:27     ` Jacopo Mondi
  0 siblings, 1 reply; 7+ messages in thread
From: Kuninori Morimoto @ 2019-03-01  0:41 UTC (permalink / raw)
  To: Simon Horman; +Cc: Magnus, linux-renesas-soc


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?

Beause, I don't have such hardware

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2]   arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound
  2019-03-01  0:41   ` Kuninori Morimoto
@ 2019-08-21 10:27     ` Jacopo Mondi
  2019-08-21 12:01       ` Geert Uytterhoeven
  0 siblings, 1 reply; 7+ messages in thread
From: Jacopo Mondi @ 2019-08-21 10:27 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: Simon Horman, Magnus, linux-renesas-soc

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

Hello Simon, Morimoto-san,

On Fri, Mar 01, 2019 at 09:41:01AM +0900, Kuninori Morimoto wrote:
>
> 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?
>
> Beause, I don't have such hardware

Tested on Salvator-XS M3-N.

Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>

Thanks
  j

>
> Best regards
> ---
> Kuninori Morimoto

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound
  2019-08-21 10:27     ` Jacopo Mondi
@ 2019-08-21 12:01       ` Geert Uytterhoeven
  0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2019-08-21 12:01 UTC (permalink / raw)
  To: Jacopo Mondi; +Cc: Kuninori Morimoto, Simon Horman, Magnus, Linux-Renesas

On Wed, Aug 21, 2019 at 12:44 PM Jacopo Mondi <jacopo@jmondi.org> wrote:
> On Fri, Mar 01, 2019 at 09:41:01AM +0900, Kuninori Morimoto wrote:
> > > > 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.
>
> Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>

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

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-08-21 12:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-27  5:02 [PATCH 0/2] arm64: dts: renesas: r8a77965-salvator-x: enable HDMI sound Kuninori Morimoto
2019-02-27  5:02 ` [PATCH 1/2] " Kuninori Morimoto
2019-02-27  5:03 ` [PATCH 2/2] arm64: dts: renesas: r8a77965-salvator-xs: " Kuninori Morimoto
2019-02-27 11:30 ` [PATCH 0/2] arm64: dts: renesas: r8a77965-salvator-x: " Simon Horman
2019-03-01  0:41   ` Kuninori Morimoto
2019-08-21 10:27     ` Jacopo Mondi
2019-08-21 12:01       ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.