[alsa-devel] [PATCH v2 06/11] ASoC: davinci: Add support for AM33xx SoC Audio
Peter Ujfalusi
peter.ujfalusi at ti.com
Thu Sep 19 11:31:48 CEST 2013
On 09/17/2013 12:26 PM, jsarha at ti.com wrote:
> From: "Hebbar, Gururaja" <gururaja.hebbar at ti.com>
>
> AM33xx uses same McASP IP as the Davinci Platform. This patch updates
> Kconfig and makefile to enable build for McASP, PCM & Codec drivers.
>
> Signed-off-by: Hebbar, Gururaja <gururaja.hebbar at ti.com>
> Signed-off-by: Darren Etheridge <detheridge at ti.com>
> Signed-off-by: Jyri Sarha <jsarha at ti.com>
> ---
> sound/soc/davinci/Kconfig | 18 +++++++++++++++---
> sound/soc/davinci/Makefile | 1 +
> 2 files changed, 16 insertions(+), 3 deletions(-)
>
> diff --git a/sound/soc/davinci/Kconfig b/sound/soc/davinci/Kconfig
> index c82f89c..6c8e687 100644
> --- a/sound/soc/davinci/Kconfig
> +++ b/sound/soc/davinci/Kconfig
> @@ -1,9 +1,10 @@
> config SND_DAVINCI_SOC
> - tristate "SoC Audio for the TI DAVINCI chip"
> - depends on ARCH_DAVINCI
> + tristate "SoC Audio for the TI DAVINCI or AM33XX chip"
> + depends on ARCH_DAVINCI || SOC_AM33XX
> help
> + Machine driver for DAVINCI audio.
Should be:
+ Platform driver for daVinci or AM33xx
But I would just remove the help section as such, the prompt gives enough
information what is this.
> Say Y or M if you want to add support for codecs attached to
> - the DAVINCI AC97 or I2S interface. You will also need
> + the DAVINCI AC97, I2S, or McASP interface. You will also need
> to select the audio interfaces to support below.
>
> config SND_DAVINCI_SOC_I2S
> @@ -15,6 +16,17 @@ config SND_DAVINCI_SOC_MCASP
> config SND_DAVINCI_SOC_VCIF
> tristate
>
> +config SND_AM33XX_SOC_EVM
> + tristate "SoC Audio for the AM33XX chip based boards"
+ depneds on SND_DAVINCI_SOC && SOC_AM33XX
> + select SND_DAVINCI_SOC
Do not select the platform support from here.
> + select SND_SOC_TLV320AIC3X
> + select SND_DAVINCI_SOC_MCASP
> + help
> + Say Y or M if you want to add support for SoC audio on AM33XX
> + boards using McASP and TLV320AIC3X codec. For example AM335X-EVM,
> + AM335X-EVMSK, and BeagelBone with AudioCape boards have this
> + setup.
> +
> config SND_DAVINCI_SOC_EVM
> tristate "SoC Audio support for DaVinci DM6446, DM355 or DM365 EVM"
> depends on SND_DAVINCI_SOC
> diff --git a/sound/soc/davinci/Makefile b/sound/soc/davinci/Makefile
> index a396ab6..bc81e79 100644
> --- a/sound/soc/davinci/Makefile
> +++ b/sound/soc/davinci/Makefile
> @@ -13,6 +13,7 @@ obj-$(CONFIG_SND_DAVINCI_SOC_VCIF) += snd-soc-davinci-vcif.o
> snd-soc-evm-objs := davinci-evm.o
>
> obj-$(CONFIG_SND_DAVINCI_SOC_EVM) += snd-soc-evm.o
> +obj-$(CONFIG_SND_AM33XX_SOC_EVM) += snd-soc-evm.o
> obj-$(CONFIG_SND_DM6467_SOC_EVM) += snd-soc-evm.o
> obj-$(CONFIG_SND_DA830_SOC_EVM) += snd-soc-evm.o
> obj-$(CONFIG_SND_DA850_SOC_EVM) += snd-soc-evm.o
>
--
Péter
More information about the Alsa-devel
mailing list