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 dynamically

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, Koro Chen

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 IO in this

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 this driver)

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 into

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 connected

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 paths are

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 paths