[alsa-devel] [PATCH] ASoC: imx: Allow using sound with DT descriptions only

Alexander Shiyan shc_work at mail.ru
Sun Jan 5 07:35:26 CET 2014


This patch adds new Kconfig symbol to allow using generic sound
cards/codecs based on DT description.

Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 sound/soc/fsl/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index bb4ab96..51fabc6 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -126,6 +126,16 @@ config SND_SOC_IMX_PCM_DMA
 config SND_SOC_IMX_AUDMUX
 	tristate
 
+config SND_SOC_IMX_DT
+	tristate "SoC Audio support for i.MX DT boards"
+	depends on OF
+	select SND_SOC_FSL_SSI
+	select SND_SOC_IMX_AUDMUX
+	select SND_SOC_IMX_PCM_DMA
+	help
+	  Say Y if you want to add support for SoC audio on an i.MX boards
+	  described in devicetree.
+
 config SND_MXC_SOC_WM1133_EV1
 	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
 	depends on MACH_MX31ADS_WM1133_EV1
-- 
1.8.3.2



More information about the Alsa-devel mailing list