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

Lars-Peter Clausen lars at metafoo.de
Tue Aug 26 11:19:01 CEST 2014


On 08/26/2014 11:11 AM, Mark Brown wrote:
> On Tue, Aug 26, 2014 at 01:34:21AM -0700, Kuninori Morimoto wrote:
>
>> This patch expand route setting by using DAI name.
>> You can select "ak4642-hifi" side "Playback" by below.
>
>> DT
>> 	simple-audio-card,routing =
>> 		"ak4642-hifi Playback", "DAI0 Playback";
>
>> non DT
>> 	struct snd_soc_dapm_route route[] = {
>> 		{ "ak4642-hifi Playback", NULL, "DAI0 Playback"},
>> 	}
>
> If we're already specifying the DAI links for the (D)PCM code it seems
> like we shouldn't also have to put DAPM routes for them in DT as well.
>

Yes, and I think we shouldn't use anything except for datahsheet pin names 
in the devicetree routing, because otherwise we are leaking driver 
implementation details.


More information about the Alsa-devel mailing list