[alsa-devel] [PATCH] ASoC: generic: add generic compound card with DT support

Jean-Francois Moine moinejf at free.fr
Thu Jan 2 12:43:31 CET 2014


On Thu, 2 Jan 2014 11:10:56 +0000
Mark Brown <broonie at kernel.org> wrote:

> On Thu, Jan 02, 2014 at 10:26:47AM +0100, Jean-Francois Moine wrote:
> 
> > 		/* audio */
> > 		port at 1 {
> > 			hdmi_i2s_audio: endpoint at 0 {
> > 				reg = <0x03>;
> > 				remote-endpoint = <&audio_hdmi_i2s>;
> > 			};
> 
> I think we want an explicit object in the card representing the DAIs.
> This will both be useful for making it easy to find the configuration
> for the link and will be more extensible for the cases where multiple
> devices are connected, you can't just assume there's just two.

I don't see the problem: the 'port' is the DAI. The associated
endpoints give the DAI links and the routing information.

As the DT definition has been done for video, some properties may be
added at will for audio.

What kind of object were you thinking of?

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


More information about the Alsa-devel mailing list