[alsa-devel] [PATCH v3] ASoC: imx: Allow using sound with DT descriptions only

Alexander Shiyan shc_work at mail.ru
Mon Jan 13 15:32:12 CET 2014


On Mon, 13 Jan 2014 11:56:28 +0800
Shawn Guo <shawn.guo at linaro.org> wrote:
> On Fri, Jan 10, 2014 at 05:00:27PM +0400, Alexander Shiyan wrote:
> > This patch allow using generic sound cards/codecs based on DT description.
> > -config SND_SOC_IMX_AUDMUX
> > +menuconfig SND_IMX_SOC
> > +	tristate "SoC Audio for Freescale i.MX CPUs"
> > +	depends on ARCH_MXC || COMPILE_TEST
> > +	select SND_SOC_FSL_SSI if OF
> > +	select SND_SOC_IMX_AUDMUX
> > +	select SND_SOC_IMX_PCM_DMA
> Just want to understand the direction of this change.  Besides
> FSL_SSI, we will have other CPU DAIs FSL_SPDIF, FSL_ESAI and FSL_SAI.
> Will we select all of them from SND_IMX_SOC, or we only do it for
> FSL_SSI?  Note, IMX_AUDMUX should be only needed for machine drivers
> that use SSI CPU DAI.

Not clear how to do it right ...
I conclude that the first version of the patch was the best, do a separate
symbol for DT and select all required options.
Rewrite in this way?

Alexander Shiyan <shc_work at mail.ru>

More information about the Alsa-devel mailing list