[alsa-devel] [PATCH 2/2] ASoC: fsl: Allow to select individual common options

Shawn Guo shawn.guo at linaro.org
Mon Feb 10 06:59:45 CET 2014


On Wed, Feb 05, 2014 at 09:31:52PM +0400, Alexander Shiyan wrote:
> This patch allow to select individual common sound options and
> as a result allow using sound cards/codecs based on DT description.
> 
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> ---
>  sound/soc/fsl/Kconfig | 23 ++++++++++++++++++++---
>  1 file changed, 20 insertions(+), 3 deletions(-)
> 
> diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
> index ecc1092..ed74c19 100644
> --- a/sound/soc/fsl/Kconfig
> +++ b/sound/soc/fsl/Kconfig
> @@ -1,14 +1,26 @@
>  menu "SoC Audio for Freescale CPUs"
>  
> +comment "Common SoC Audio options for Freescale CPUs:"
> +
>  config SND_SOC_FSL_SAI
>  	tristate
>  	select SND_SOC_GENERIC_DMAENGINE_PCM

Why do you skip SND_SOC_FSL_SAI and SND_SOC_FSL_ESAI for the change?

>  
>  config SND_SOC_FSL_SSI
> -	tristate
> +	tristate "Synchronous Serial Interface module support"
> +	help
> +	  Say Y if you want to add Synchronous Serial Interface (SSI)
> +	  support for the Freescale CPUs.
> +	  This option is only useful for out-of-tree drivers since
> +	  in-tree drivers select it automatically.
>  
>  config SND_SOC_FSL_SPDIF
> -	tristate
> +	tristate "Sony/Philips Digital Interface module support"
> +	help
> +	  Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
> +	  support for the Freescale CPUs.
> +	  This option is only useful for out-of-tree drivers since
> +	  in-tree drivers select it automatically.
>  
>  config SND_SOC_FSL_ESAI
>  	tristate
> @@ -21,7 +33,12 @@ config SND_SOC_IMX_PCM_DMA
>  	select SND_SOC_GENERIC_DMAENGINE_PCM

Doesn't the simple card driver need this to work on IMX?

Shawn

>  
>  config SND_SOC_IMX_AUDMUX
> -	tristate
> +	tristate "Digital Audio Mux module support"
> +	help
> +	  Say Y if you want to add Digital Audio Mux (AUDMUX) support
> +	  for the ARM i.MX CPUs.
> +	  This option is only useful for out-of-tree drivers since
> +	  in-tree drivers select it automatically.
>  
>  config SND_POWERPC_SOC
>  	tristate "SoC Audio for Freescale PowerPC CPUs"
> -- 
> 1.8.3.2
> 



More information about the Alsa-devel mailing list