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

Alexander Shiyan shc_work at mail.ru
Mon Jan 6 08:06:17 CET 2014


Hello.

> > This patch adds new Kconfig symbol to allow using generic sound
> > cards/codecs based on DT description.
> > 
> > Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> > ---
> >  sound/soc/fsl/Kconfig | 10 ++++++++++
> >  1 file changed, 10 insertions(+)
> > 
> > diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
> > index bb4ab96..51fabc6 100644
> > --- a/sound/soc/fsl/Kconfig
> > +++ b/sound/soc/fsl/Kconfig
> > @@ -126,6 +126,16 @@ config SND_SOC_IMX_PCM_DMA
> >  config SND_SOC_IMX_AUDMUX
> >  	tristate
> >  
> > +config SND_SOC_IMX_DT
> > +	tristate "SoC Audio support for i.MX DT boards"
> 
> "i.MX ASoC generic sound card support" would be better?
> 
> > +	depends on OF
> 
> It seems to me that we should depend on SND_SIMPLE_CARD and add OF
> dependency for SND_SIMPLE_CARD symbol?

SND_SIMPLE_CARD can be used with pdata.
For i.MX non-DT boards the imx-ssi driver is used, but for OF - fsl-ssi only,
so I think OF dependency should be still here.
Thanks.

---


More information about the Alsa-devel mailing list