[alsa-devel] [PATCH 8/8] ASoC: add snd-soc-dummy DT support

Kuninori Morimoto kuninori.morimoto.gx at gmail.com
Thu Aug 28 12:56:03 CEST 2014


Hi

> > 	sound {
> > 		compatible = "simple-audio-card";
> > 		...
> > 
> > 		cpu {
> > 			sound-dai = <&rcar_sound 0>;
> > 		};
> > 		codec {
> > 			sound-dai = <&ak4643>;
> > 		};
> > 	};
(snip)
> There's two separate things here.  One is how the code is implemented
> (which does look very much like it should be doing DPCM) and the other
> is how the DT binding looks - the DT binding is supposed to be a
> hardware neutral thing and not depend on Linux implementation details.
> If you've already got the hardware described well enough to discover
> everything then that generally indicates that the DT binding should not
> need to change.

In my case, I need DPCM if CPU want to use "sampling rate convert",
otherwise, I don't need it.
So, DPCM <-> non DPCM switching happen if DTS has
sampling-rate-convert = <xxxxxxx> or something like that.
Does my understanding correct ?


More information about the Alsa-devel mailing list