[alsa-devel] [RFC][PATCH 2/2 v3] ASoC: simple-card: add Device Tree support

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Feb 1 02:05:43 CET 2013

Hi Stephen, Mark

> > +- simple-audio,dai-name			: simple-audio CPU/CODEC DAI name
> OK, I see those two are CPU-/CODEC-specific. However, you could easily
> just have different property names for the two.
> I assume you didn't like my idea of not putting the DAI names into the
> DT, but using extra arguments after the phandles instead? Doing so would
> be more alike most existing DT bindings.

The reason why I need "dai-name" is that phandle can select "cpu/codec device"
itself, but, it can't select "port".
This port is called/controlled as "xxx_dai_name" on ASoC I think.

like this

| FSI  port A |--> ak4642
|      port B |--> HDMI

Then, I would like to ask Stephen, Mark

>> Mark

Now, "codec_dai_name" is must item in ASoC, but "cpu_dai_name" is option.
I guess codec can use same matching method like cpu.
Can I modify codec side method ?

>> Stephen

Some board needs port selection.
Can you agree that simple-audio has "port" (= dai-name) property as option ?

Best regards
Kuninori Morimoto

More information about the Alsa-devel mailing list