Skip to content

Commit

Permalink
ASoC: Add ability to build sti drivers
Browse files Browse the repository at this point in the history
Define the platform and codec drivers, and how to build them.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Arnaud Pouliquen authored and Mark Brown committed Jul 16, 2015
1 parent f3bd847 commit 1e6babb
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ source "sound/soc/samsung/Kconfig"
source "sound/soc/sh/Kconfig"
source "sound/soc/sirf/Kconfig"
source "sound/soc/spear/Kconfig"
source "sound/soc/sti/Kconfig"
source "sound/soc/tegra/Kconfig"
source "sound/soc/txx9/Kconfig"
source "sound/soc/ux500/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions sound/soc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ obj-$(CONFIG_SND_SOC) += samsung/
obj-$(CONFIG_SND_SOC) += sh/
obj-$(CONFIG_SND_SOC) += sirf/
obj-$(CONFIG_SND_SOC) += spear/
obj-$(CONFIG_SND_SOC) += sti/
obj-$(CONFIG_SND_SOC) += tegra/
obj-$(CONFIG_SND_SOC) += txx9/
obj-$(CONFIG_SND_SOC) += ux500/
Expand Down
11 changes: 11 additions & 0 deletions sound/soc/sti/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# STM SoC audio configuration
#
menuconfig SND_SOC_STI
tristate "SoC Audio support for STI System-On-Chip"
depends on SND_SOC
depends on ARCH_STI || COMPILE_TEST
select SND_SOC_GENERIC_DMAENGINE_PCM
help
Say Y if you want to enable ASoC-support for
any of the STI platforms (e.g. STIH416).
4 changes: 4 additions & 0 deletions sound/soc/sti/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# STI platform support
snd-soc-sti-objs := sti_uniperif.o uniperif_player.o uniperif_reader.o

obj-$(CONFIG_SND_SOC_STI) += snd-soc-sti.o

0 comments on commit 1e6babb

Please sign in to comment.