Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/8735b38fta.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
2dc025ab 5c065eaf

+8 -2
+8 -2
sound/soc/generic/audio-graph-card2-custom-sample.dtsi
··· 49 49 * +-+ +-+ 50 50 * 51 51 * [DPCM] 52 + * 53 + * CPU3/CPU4 are converting rate to 44100 54 + * 52 55 * FE BE 53 56 * **** 54 57 * cpu3 <-@--* *--@-> codec3 55 - * cpu4 <-@--* * 58 + * cpu4 <-@--* * (44.1kHz) 56 59 * **** 57 60 * 58 61 * [DPCM-Multi] ··· 289 286 port@2 { codec2_ep: endpoint { remote-endpoint = <&mcodec2_ep>; }; }; 290 287 291 288 /* [DPCM]::BE */ 292 - port@3 { codec3_ep: endpoint { remote-endpoint = <&be00_ep>; }; }; 289 + port@3 { 290 + convert-rate = <44100>; 291 + codec3_ep: endpoint { remote-endpoint = <&be00_ep>; }; 292 + }; 293 293 294 294 /* [DPCM-Multi]::BE */ 295 295 port@4 { codec4_ep: endpoint { remote-endpoint = <&mbe1_ep>; }; };