summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/modules.mk6
-rw-r--r--target/linux/config/Config.in.audio27
2 files changed, 32 insertions, 1 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index 59f609cc8..cc862cc13 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -1238,6 +1238,12 @@ $(eval $(call KMOD_template,SND_PXA2XX_SOC_SPITZ,snd-pxa2xx-soc-spitz,\
$(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-spitz \
,55, kmod-snd-soc))
+$(eval $(call KMOD_template,SND_IMX_SOC,snd-imx-soc,\
+ $(MODULES_DIR)/kernel/sound/soc/fsl/imx-pcm-dma \
+ $(MODULES_DIR)/kernel/sound/soc/fsl/snd-soc-fsl-spdif \
+ $(MODULES_DIR)/kernel/sound/soc/fsl/snd-soc-imx-spdif \
+,55, kmod-snd-soc))
+
$(eval $(call KMOD_template,SND_BCM2835,snd-bcm2835,\
$(MODULES_DIR)/kernel/sound/arm/snd-bcm2835 \
,55))
diff --git a/target/linux/config/Config.in.audio b/target/linux/config/Config.in.audio
index d228feb96..b618c59b7 100644
--- a/target/linux/config/Config.in.audio
+++ b/target/linux/config/Config.in.audio
@@ -10,6 +10,18 @@ config ADK_KERNEL_SND_PCI
config ADK_KERNEL_SND_USB
boolean
+config ADK_KERNEL_SND_SOC_IMX_PCM_DMA
+ boolean
+
+config ADK_KERNEL_SND_SOC_IMX_HDMI_DMA
+ boolean
+
+config ADK_KERNEL_SND_SOC_IMX_SPDIF
+ boolean
+
+config ADK_KERNEL_SND_SOC_IMX_HDMI
+ boolean
+
config ADK_KERNEL_SND_PXA2XX_AC97
boolean
@@ -124,7 +136,7 @@ config ADK_KPACKAGE_KMOD_SND_BCM2708_SOC_I2S
select ADK_KPACKAGE_KMOD_SND
select ADK_KERNEL_SND_ARM
select ADK_KPACKAGE_KMOD_SND_SOC
- select ADK_KPACKAGE_KMOD_SND_PCM_DMAENGINE if !ADK_KERNEL_VERSION_3_10_34
+ select ADK_KPACKAGE_KMOD_SND_PCM_DMAENGINE if !ADK_KERNEL_VERSION_3_10_37
select ADK_KPACKAGE_KMOD_SND_COMPRESS
depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
default n
@@ -147,4 +159,17 @@ config ADK_KPACKAGE_KMOD_SND_BCM2708_SOC_HIFIBERRY_DIGI
depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
default n
+config ADK_KPACKAGE_KMOD_SND_IMX_SOC
+ prompt "Cubox-i SoC sound chip"
+ tristate
+ depends on ADK_TARGET_SYSTEM_CUBOX_I
+ select ADK_KPACKAGE_KMOD_SND
+ select ADK_KPACKAGE_KMOD_SND_SOC
+ select ADK_KERNEL_SND_SOC_IMX_PCM_DMA
+ select ADK_KERNEL_SND_SOC_IMX_HDMI_DMA
+ select ADK_KERNEL_SND_SOC_IMX_HDMI
+ select ADK_KERNEL_SND_SOC_IMX_SPDIF
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ default n
+
endmenu