@@ -44,6 +44,7 @@ source "sound/soc/jz4740/Kconfig"
source "sound/soc/nuc900/Kconfig"
source "sound/soc/omap/Kconfig"
source "sound/soc/kirkwood/Kconfig"
+source "sound/soc/img/Kconfig"
source "sound/soc/intel/Kconfig"
source "sound/soc/mediatek/Kconfig"
source "sound/soc/mxs/Kconfig"
@@ -23,6 +23,7 @@ obj-$(CONFIG_SND_SOC) += davinci/
obj-$(CONFIG_SND_SOC) += dwc/
obj-$(CONFIG_SND_SOC) += fsl/
obj-$(CONFIG_SND_SOC) += jz4740/
+obj-$(CONFIG_SND_SOC) += img/
obj-$(CONFIG_SND_SOC) += intel/
obj-$(CONFIG_SND_SOC) += mediatek/
obj-$(CONFIG_SND_SOC) += mxs/
new file mode 100644
@@ -0,0 +1,11 @@
+config SND_SOC_IMG_AXD
+ tristate "Imagination AXD Audio Processing IP"
+ depends on MIPS && COMMON_CLK && CMA
+ ---help---
+ Say Y or M here if you to add support for AXD Audio Processing IP.
+
+config SND_SOC_IMG_AXD_DEBUGFS
+ bool "AXD debugfs support"
+ depends on SND_SOC_IMG_AXD && DEBUG_FS
+ ---help---
+ Say Y if you want to create AXD debugfs nodes
new file mode 100644
@@ -0,0 +1 @@
+obj-$(CONFIG_SND_SOC_IMG_AXD) += axd/
new file mode 100644
@@ -0,0 +1,13 @@
+obj-$(CONFIG_SND_SOC_IMG_AXD) := axd.o
+
+axd-objs = axd_alsa_ops.o \
+ axd_buffers.o \
+ axd_cmds.o \
+ axd_cmds_config.o \
+ axd_cmds_decoder_config.o \
+ axd_cmds_info.o \
+ axd_cmds_internal.o \
+ axd_cmds_pipes.o \
+ axd_hdr.o \
+ axd_module.o \
+ axd_platform_$(ARCH).o \
Now all necessary files are added, allow axd to be selected through Kconfig and compiled. Signed-off-by: Qais Yousef <qais.yousef@imgtec.com> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: Jaroslav Kysela <perex@perex.cz> Cc: Takashi Iwai <tiwai@suse.com> Cc: linux-kernel@vger.kernel.org --- sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + sound/soc/img/Kconfig | 11 +++++++++++ sound/soc/img/Makefile | 1 + sound/soc/img/axd/Makefile | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 sound/soc/img/Kconfig create mode 100644 sound/soc/img/Makefile create mode 100644 sound/soc/img/axd/Makefile