Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-05-03 Thread Koro Chen
On Thu, 2015-04-30 at 21:12 +0100, Mark Brown wrote: > On Wed, Apr 22, 2015 at 11:17:20AM +0800, Koro Chen wrote: > > > If using DPCM, it seems the most suitable FE DAIs will be memif, and > > external interface like I2S should be BE DAIs. Do you think it is > > suitable for our memif to be FE DAI

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-30 Thread Mark Brown
On Wed, Apr 22, 2015 at 11:17:20AM +0800, Koro Chen wrote: > If using DPCM, it seems the most suitable FE DAIs will be memif, and > external interface like I2S should be BE DAIs. Do you think it is > suitable for our memif to be FE DAIs? Then which memif to used can be > described in a machine dri

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-21 Thread Koro Chen
On Mon, 2015-04-20 at 21:48 +0100, Mark Brown wrote: > On Mon, Apr 20, 2015 at 06:37:47AM +0200, Sascha Hauer wrote: > > On Sat, Apr 18, 2015 at 06:34:07PM +0100, Mark Brown wrote: > > > On Fri, Apr 10, 2015 at 04:14:07PM +0800, Koro Chen wrote: > > > > > +Each external interface (called "IO" in t

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-21 Thread Mark Brown
On Tue, Apr 21, 2015 at 06:15:06PM +0800, Koro Chen wrote: > On Tue, 2015-04-21 at 11:49 +0200, Sascha Hauer wrote: > > there are two programmable hardware gain blocks which can be inserted to > > the digital audio path using the crossbar switch. There must be some > > mechanism to configure them

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-21 Thread Koro Chen
On Tue, 2015-04-21 at 11:49 +0200, Sascha Hauer wrote: > On Mon, Apr 20, 2015 at 09:48:49PM +0100, Mark Brown wrote: > > On Mon, Apr 20, 2015 at 06:37:47AM +0200, Sascha Hauer wrote: > > > On Sat, Apr 18, 2015 at 06:34:07PM +0100, Mark Brown wrote: > > > > On Fri, Apr 10, 2015 at 04:14:07PM +0800,

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-21 Thread Mark Brown
On Tue, Apr 21, 2015 at 11:49:26AM +0200, Sascha Hauer wrote: > I think this could be done. I checked the possible connections in the > crossbar switch and it seems all memory interfaces can be connected with > all relevant external interfaces. So indeed the memory interfaces could > be dynamicall

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-21 Thread Sascha Hauer
On Mon, Apr 20, 2015 at 09:48:49PM +0100, Mark Brown wrote: > On Mon, Apr 20, 2015 at 06:37:47AM +0200, Sascha Hauer wrote: > > On Sat, Apr 18, 2015 at 06:34:07PM +0100, Mark Brown wrote: > > > On Fri, Apr 10, 2015 at 04:14:07PM +0800, Koro Chen wrote: > > > > > +Each external interface (called "I

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-20 Thread Mark Brown
On Mon, Apr 20, 2015 at 06:37:47AM +0200, Sascha Hauer wrote: > On Sat, Apr 18, 2015 at 06:34:07PM +0100, Mark Brown wrote: > > On Fri, Apr 10, 2015 at 04:14:07PM +0800, Koro Chen wrote: > > > +Each external interface (called "IO" in this driver) is presented as a > > > +DAI to ASoC. An IO must be

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-19 Thread Sascha Hauer
On Sat, Apr 18, 2015 at 06:34:07PM +0100, Mark Brown wrote: > On Fri, Apr 10, 2015 at 04:14:07PM +0800, Koro Chen wrote: > > > +Each external interface (called "IO" in this driver) is presented as a > > +DAI to ASoC. An IO must be connected via the interconnect to a memif. > > +The connection path

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-04-18 Thread Mark Brown
On Fri, Apr 10, 2015 at 04:14:07PM +0800, Koro Chen wrote: > +Each external interface (called "IO" in this driver) is presented as a > +DAI to ASoC. An IO must be connected via the interconnect to a memif. > +The connection paths are configured through the device tree. Why are these connection pa