| From 5a685b0de3915fd63179f45387a1c91f62a19869 Mon Sep 17 00:00:00 2001 |
| From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Date: Mon, 23 Apr 2018 01:41:07 +0000 |
| Subject: [PATCH 1505/1795] arm64: dts: renesas: r8a7796-salvator-xs: enable |
| HDMI sound |
| |
| Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Tested-by: Nguyen Viet Dung <nv-dung@jinso.co.jp> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit d134635f1cd2ba47edbb4c120769f22406373384) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| .../boot/dts/renesas/r8a7796-salvator-xs.dts | 28 +++++++++++++++++++ |
| 1 file changed, 28 insertions(+) |
| |
| diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts b/arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts |
| index 2c37055efa94..ddf35d4cd5e5 100644 |
| --- a/arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts |
| +++ b/arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts |
| @@ -40,6 +40,11 @@ |
| "dclkin.0", "dclkin.1", "dclkin.2"; |
| }; |
| |
| +&sound_card { |
| + dais = <&rsnd_port0 /* ak4613 */ |
| + &rsnd_port1>; /* HDMI0 */ |
| +}; |
| + |
| &hdmi0 { |
| status = "okay"; |
| |
| @@ -50,9 +55,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_port0 is on salvator-common */ |
| + rsnd_port1: port@1 { |
| + rsnd_endpoint1: endpoint { |
| + remote-endpoint = <&dw_hdmi0_snd_in>; |
| + |
| + dai-format = "i2s"; |
| + bitclock-master = <&rsnd_endpoint1>; |
| + frame-master = <&rsnd_endpoint1>; |
| + |
| + playback = <&ssi2>; |
| + }; |
| + }; |
| + }; |
| +}; |
| -- |
| 2.19.0 |
| |