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

2014-01-02 Thread Mark Brown
On Thu, Jan 02, 2014 at 06:50:55PM +0100, Jean-Francois Moine wrote: > No, the 'endpoint' <=> 'remote-endpoint' is a point to point relation. > Even if the sources and sinks are not explicitly defined, the way > the stream flows is easy to find: the main source is always in the > 'audio-controller

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

2014-01-02 Thread Jean-Francois Moine
On Thu, 2 Jan 2014 13:10:45 + Mark Brown wrote: > On Thu, Jan 02, 2014 at 01:44:37PM +0100, Jean-Francois Moine wrote: > > > I still don't understand. There is already such cases in the Cubox: > > the S/PDIF output from the kirkwood audio controller is connected to > > both the HDMI transmit

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

2014-01-02 Thread Mark Brown
On Thu, Jan 02, 2014 at 01:44:37PM +0100, Jean-Francois Moine wrote: > I still don't understand. There is already such cases in the Cubox: > the S/PDIF output from the kirkwood audio controller is connected to > both the HDMI transmitter and the S/PDIF TOSLINK. So, in the audio > controller, the p

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

2014-01-02 Thread Jean-Francois Moine
On Thu, 2 Jan 2014 11:56:18 + Mark Brown wrote: > On Thu, Jan 02, 2014 at 12:43:31PM +0100, Jean-Francois Moine wrote: > > Mark Brown wrote: > > > > 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 configurat

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

2014-01-02 Thread Mark Brown
On Thu, Jan 02, 2014 at 12:43:31PM +0100, Jean-Francois Moine wrote: > Mark Brown wrote: > > 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 w

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

2014-01-02 Thread Jean-Francois Moine
On Thu, 2 Jan 2014 11:10:56 + Mark Brown wrote: > On Thu, Jan 02, 2014 at 10:26:47AM +0100, Jean-Francois Moine wrote: > > > /* audio */ > > port@1 { > > hdmi_i2s_audio: endpoint@0 { > > reg = <0x03>; > >

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

2014-01-02 Thread Mark Brown
On Thu, Jan 02, 2014 at 10:26:47AM +0100, Jean-Francois Moine wrote: > /* audio */ > port@1 { > hdmi_i2s_audio: endpoint@0 { > reg = <0x03>; > remote-endpoint = <&audio_hdmi_i2s>; >

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

2014-01-02 Thread Jean-Francois Moine
On Wed, 01 Jan 2014 21:11:23 +0100 Lars-Peter Clausen wrote: > On 01/01/2014 09:08 PM, Jean-Francois Moine wrote: > > On Wed, 01 Jan 2014 20:05:05 +0100 > > Lars-Peter Clausen wrote: > > > >> As Mark also said, this binding definitely leaks way too much internals of > >> the current ASoC implem

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

2014-01-01 Thread Lars-Peter Clausen
On 01/01/2014 09:08 PM, Jean-Francois Moine wrote: > On Wed, 01 Jan 2014 20:05:05 +0100 > Lars-Peter Clausen wrote: > >> As Mark also said, this binding definitely leaks way too much internals of >> the current ASoC implementation. In my opinion the way forward for ASoC is >> to stop to distingui

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

2014-01-01 Thread Jean-Francois Moine
On Wed, 01 Jan 2014 20:05:05 +0100 Lars-Peter Clausen wrote: > As Mark also said, this binding definitely leaks way too much internals of > the current ASoC implementation. In my opinion the way forward for ASoC is > to stop to distinguish between different types of components. This is on one > h

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

2014-01-01 Thread Lars-Peter Clausen
On 12/31/2013 11:31 AM, Jean-Francois Moine wrote: > Some audio cards are built from different hardware components. > When such compound cards don't need specific code, this driver creates > them with the required DAI links and routes from a DT. > > Signed-off-by: Jean-Francois Moine > --- > This

Re: [PATCH] ASoC: generic: add generic compound card with DT support

2013-12-31 Thread Mark Brown
On Tue, Dec 31, 2013 at 01:36:10PM +0100, Jean-Francois Moine wrote: > Mark Brown wrote: > > It would have been useful to have provided that feedback at the time > > rather than waiting until after it had been merged - it was in review > > for long enough. It would also be good to articulate the

Re: [PATCH] ASoC: generic: add generic compound card with DT support

2013-12-31 Thread Jean-Francois Moine
On Tue, 31 Dec 2013 11:59:27 + Mark Brown wrote: > > This code was first developped on the generic simple card, but its > > recent DT extension cannot be easily extended again to support compound > > cards as the one in the Cubox. > > It would have been useful to have provided that feedbac

Re: [PATCH] ASoC: generic: add generic compound card with DT support

2013-12-31 Thread Mark Brown
On Tue, Dec 31, 2013 at 11:31:38AM +0100, Jean-Francois Moine wrote: > This code was first developped on the generic simple card, but its > recent DT extension cannot be easily extended again to support compound > cards as the one in the Cubox. It would have been useful to have provided that feed

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

2013-12-31 Thread Jean-Francois Moine
Some audio cards are built from different hardware components. When such compound cards don't need specific code, this driver creates them with the required DAI links and routes from a DT. Signed-off-by: Jean-Francois Moine --- This code was first developped on the generic simple card, but its re