diff options
| author | Rajeev Kumar <rajeev-dlh.kumar@st.com> | 2013-06-10 06:49:40 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2013-06-12 11:25:22 -0400 |
| commit | e58070ee4fdf797c47cb296992ce8db3df715eca (patch) | |
| tree | b5f8146d28c62a7d756b0729e3a633b86fb4a42d | |
| parent | 19c7efcd24a71d0f707cecd3c0cee5f4a1289b1e (diff) | |
ASoC: Add Kconfig and Makefile to support SPEAr audio driver
This patch adds Kconfig and Makefile to support SPEAr Audio driver.
Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
| -rw-r--r-- | sound/soc/Kconfig | 1 | ||||
| -rw-r--r-- | sound/soc/Makefile | 1 | ||||
| -rw-r--r-- | sound/soc/spear/Kconfig | 39 | ||||
| -rw-r--r-- | sound/soc/spear/Makefile | 7 |
4 files changed, 48 insertions, 0 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 9e675c76436c..45eeaa9f7fec 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig | |||
| @@ -51,6 +51,7 @@ source "sound/soc/pxa/Kconfig" | |||
| 51 | source "sound/soc/samsung/Kconfig" | 51 | source "sound/soc/samsung/Kconfig" |
| 52 | source "sound/soc/s6000/Kconfig" | 52 | source "sound/soc/s6000/Kconfig" |
| 53 | source "sound/soc/sh/Kconfig" | 53 | source "sound/soc/sh/Kconfig" |
| 54 | source "sound/soc/spear/Kconfig" | ||
| 54 | source "sound/soc/tegra/Kconfig" | 55 | source "sound/soc/tegra/Kconfig" |
| 55 | source "sound/soc/txx9/Kconfig" | 56 | source "sound/soc/txx9/Kconfig" |
| 56 | source "sound/soc/ux500/Kconfig" | 57 | source "sound/soc/ux500/Kconfig" |
diff --git a/sound/soc/Makefile b/sound/soc/Makefile index 197b6ae54c8d..bc0261476d7a 100644 --- a/sound/soc/Makefile +++ b/sound/soc/Makefile | |||
| @@ -29,6 +29,7 @@ obj-$(CONFIG_SND_SOC) += pxa/ | |||
| 29 | obj-$(CONFIG_SND_SOC) += samsung/ | 29 | obj-$(CONFIG_SND_SOC) += samsung/ |
| 30 | obj-$(CONFIG_SND_SOC) += s6000/ | 30 | obj-$(CONFIG_SND_SOC) += s6000/ |
| 31 | obj-$(CONFIG_SND_SOC) += sh/ | 31 | obj-$(CONFIG_SND_SOC) += sh/ |
| 32 | obj-$(CONFIG_SND_SOC) += spear/ | ||
| 32 | obj-$(CONFIG_SND_SOC) += tegra/ | 33 | obj-$(CONFIG_SND_SOC) += tegra/ |
| 33 | obj-$(CONFIG_SND_SOC) += txx9/ | 34 | obj-$(CONFIG_SND_SOC) += txx9/ |
| 34 | obj-$(CONFIG_SND_SOC) += ux500/ | 35 | obj-$(CONFIG_SND_SOC) += ux500/ |
diff --git a/sound/soc/spear/Kconfig b/sound/soc/spear/Kconfig new file mode 100644 index 000000000000..3b7cdadc11cc --- /dev/null +++ b/sound/soc/spear/Kconfig | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | config SND_SPEAR_EVM | ||
| 2 | tristate "SoC Audio support for SPEAr EVM" | ||
| 3 | select SND_DESIGNWARE_I2S | ||
| 4 | select SND_SOC_STA529 | ||
| 5 | select SND_SPEAR_SOC | ||
| 6 | help | ||
| 7 | Say Y if you want to add support for SoC audio on SPEAr | ||
| 8 | platform | ||
| 9 | |||
| 10 | config SND_SPEAR1340_EVM | ||
| 11 | tristate "SoC Audio support for SPEAr1340 EVM" | ||
| 12 | select SND_DESIGNWARE_I2S | ||
| 13 | select SND_SOC_STA529 | ||
| 14 | select SND_SPEAR_SPDIF_OUT | ||
| 15 | select SND_SPEAR_SPDIF_IN | ||
| 16 | select SND_SOC_SPDIF | ||
| 17 | select SND_SPEAR_SOC | ||
| 18 | help | ||
| 19 | Say Y if you want to add support for SoC audio on SPEAr1340 | ||
| 20 | platform | ||
| 21 | |||
| 22 | config SND_SPEAR_SOC | ||
| 23 | tristate "SoC Audio for the ST chip" | ||
| 24 | depends on SND_DESIGNWARE_I2S || SND_SPEAR_SPDIF_OUT || \ | ||
| 25 | SND_SPEAR_SPDIF_IN | ||
| 26 | help | ||
| 27 | Say Y or M if you want to add support for any of the audio | ||
| 28 | controllers (I2S/SPDIF). You will also need to select | ||
| 29 | the audio interface codecs to support below. | ||
| 30 | |||
| 31 | config SND_SPEAR_SPDIF_OUT | ||
| 32 | tristate "SPEAr SPDIF Out Device Driver" | ||
| 33 | help | ||
| 34 | Say Y or M if you want to add support for SPDIF OUT driver. | ||
| 35 | |||
| 36 | config SND_SPEAR_SPDIF_IN | ||
| 37 | tristate "SPEAr SPDIF IN Device Driver" | ||
| 38 | help | ||
| 39 | Say Y or M if you want to add support for SPDIF IN driver. | ||
diff --git a/sound/soc/spear/Makefile b/sound/soc/spear/Makefile new file mode 100644 index 000000000000..b36512655bcf --- /dev/null +++ b/sound/soc/spear/Makefile | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # SPEAR Platform Support | ||
| 2 | obj-$(CONFIG_SND_SPEAR_SOC) += spear_pcm.o | ||
| 3 | obj-$(CONFIG_SND_SPEAR_SPDIF_IN) += spdif_in.o | ||
| 4 | obj-$(CONFIG_SND_SPEAR_SPDIF_OUT) += spdif_out.o | ||
| 5 | |||
| 6 | # SPEAR Machine Support | ||
| 7 | obj-$(CONFIG_SND_SPEAR_EVM) += spear_evb.o | ||
