[PATCH v2 10/10] arm64: dts: renesas: r8a77961-salvator-xs: add HDMI Sound support

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Sep 8 06:06:57 UTC 2020


Hi Morimoto-san,

Thank you for the patch.

On Tue, Sep 08, 2020 at 09:35:25AM +0900, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> This patch enables HDMI Sound on R-Car M3-W+ Salvator-XS board.
> 
> This reverts commit b997613fad58a03588f0f64a3d86db6c5bd76dd2.

Which tree can this commit be found in ?

> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> ---
>  .../boot/dts/renesas/r8a77961-salvator-xs.dts | 29 +++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a77961-salvator-xs.dts b/arch/arm64/boot/dts/renesas/r8a77961-salvator-xs.dts
> index ca21a702db54..1e7603365106 100644
> --- a/arch/arm64/boot/dts/renesas/r8a77961-salvator-xs.dts
> +++ b/arch/arm64/boot/dts/renesas/r8a77961-salvator-xs.dts
> @@ -51,9 +51,38 @@ rcar_dw_hdmi0_out: endpoint {
>  				remote-endpoint = <&hdmi0_con>;
>  			};
>  		};
> +		port at 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 at 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>;
> +			};
> +		};
> +	};
> +};
> +
> +&sound_card {
> +	dais = <&rsnd_port0	/* ak4613 */
> +		&rsnd_port1>;	/* HDMI0  */
> +};

-- 
Regards,

Laurent Pinchart


More information about the dri-devel mailing list