[alsa-devel] [PATCH v4 3/4] ASoC: simple-card: add multi-CODECs in DT

Jean-Francois Moine moinejf at free.fr
Mon Nov 10 10:05:26 CET 2014


On Mon, 10 Nov 2014 09:39:57 +0100
Arnd Bergmann <arnd at arndb.de> wrote:

> On Sunday 09 November 2014 12:22:21 Jean-Francois Moine wrote:
> > -- sound-dai                            : phandle and port of CPU/CODEC
> > +either
> > +  - sound-dai                          : phandle and port of CPU/CODEC
> > +or
> > +  - sound-dais                         : list of phandle and port of CODECs
> 
> Is it really necessary to change the property name here? I woudl think
> that you can make it all work more consistently with just the existing
> 'sound-dai' property, just extend it to allow multiple codecs

This was an idea from Benoit Cousson:

 "Something like that:

   sound-dais = <&spdif_codec 1>, <&hdmi 0>;

 That being said, it will require changing the name with a plural form,"

As I coded it, both names are accepted for a single or many codecs.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/


More information about the Alsa-devel mailing list