summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-02-27 14:02:54 +0900
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-08-21 14:18:27 +0200
commitfe9841595c604ce942c3729a72411096c3f4b675 (patch)
tree65dfe92d48e75f9353c8c6cda593256408bc468b /arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
parent23ad2b4672a7572e0f091cfe90aac1cd9bdca28a (diff)
arm64: dts: renesas: r8a77965-salvator-x(s): Enable HDMI sound
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org> # Salvator-XS [geert: Preserve sort order] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts')
-rw-r--r--arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts b/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
index f03a5e9e0c42..5cef64605464 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
@@ -41,6 +41,12 @@
remote-endpoint = <&hdmi0_con>;
};
};
+ port@2 {
+ reg = <2>;
+ dw_hdmi0_snd_in: endpoint {
+ remote-endpoint = <&rsnd_endpoint1>;
+ };
+ };
};
};
@@ -57,7 +63,29 @@
};
};
+&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>;
+ };
+ };
+ };
+};
+
/* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */
&sata {
status = "okay";
};
+
+&sound_card {
+ dais = <&rsnd_port0 /* ak4613 */
+ &rsnd_port1>; /* HDMI0 */
+};