Commit d134635f authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Simon Horman
Browse files

arm64: dts: renesas: r8a7796-salvator-xs: enable HDMI sound

parent b27ebfa7
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -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>;
			};
		};
	};
};