Commit 2dc025ab authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: audio-graph-card2-custom-sample.dtsi: add convert-rate for DPCM (MIXer)

audio-graph-card2-custom-sample.dtsi is assuming that
DPCM sample is MIXer connection.

	FE		BE
	        ****
	CPU3 -- *  * -- Codec3
	CPU4 -- *  *
	        ****

CPU3/CPU4 need to convert rate in this case.
This patch adds missing "convert-rate" setting sample for it.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/8735b38fta.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5c065eaf
...@@ -49,10 +49,13 @@ / { ...@@ -49,10 +49,13 @@ / {
* +-+ +-+ * +-+ +-+
* *
* [DPCM] * [DPCM]
*
* CPU3/CPU4 are converting rate to 44100
*
* FE BE * FE BE
* **** * ****
* cpu3 <-@--* *--@-> codec3 * cpu3 <-@--* *--@-> codec3
* cpu4 <-@--* * * cpu4 <-@--* * (44.1kHz)
* **** * ****
* *
* [DPCM-Multi] * [DPCM-Multi]
...@@ -286,7 +289,10 @@ ports { ...@@ -286,7 +289,10 @@ ports {
port@2 { codec2_ep: endpoint { remote-endpoint = <&mcodec2_ep>; }; }; port@2 { codec2_ep: endpoint { remote-endpoint = <&mcodec2_ep>; }; };
/* [DPCM]::BE */ /* [DPCM]::BE */
port@3 { codec3_ep: endpoint { remote-endpoint = <&be00_ep>; }; }; port@3 {
convert-rate = <44100>;
codec3_ep: endpoint { remote-endpoint = <&be00_ep>; };
};
/* [DPCM-Multi]::BE */ /* [DPCM-Multi]::BE */
port@4 { codec4_ep: endpoint { remote-endpoint = <&mbe1_ep>; }; }; port@4 { codec4_ep: endpoint { remote-endpoint = <&mbe1_ep>; }; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment