forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/fsl/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menu "SoC Audio for Freescale CPUs"
23
34 comment "Common SoC Audio options for Freescale CPUs:"
....@@ -23,6 +24,23 @@
2324 support for the Freescale CPUs.
2425 This option is only useful for out-of-tree drivers since
2526 in-tree drivers select it automatically.
27
+
28
+config SND_SOC_FSL_MQS
29
+ tristate "Medium Quality Sound (MQS) module support"
30
+ depends on SND_SOC_FSL_SAI
31
+ select REGMAP_MMIO
32
+ help
33
+ Say Y if you want to add Medium Quality Sound (MQS)
34
+ support for the Freescale CPUs.
35
+ This option is only useful for out-of-tree drivers since
36
+ in-tree drivers select it automatically.
37
+
38
+config SND_SOC_FSL_AUDMIX
39
+ tristate "Audio Mixer (AUDMIX) module support"
40
+ select REGMAP_MMIO
41
+ help
42
+ Say Y if you want to add Audio Mixer (AUDMIX)
43
+ support for the NXP iMX CPUs.
2644
2745 config SND_SOC_FSL_SSI
2846 tristate "Synchronous Serial Interface module (SSI) support"
....@@ -56,6 +74,26 @@
5674 (ESAI) support for the Freescale CPUs.
5775 This option is only useful for out-of-tree drivers since
5876 in-tree drivers select it automatically.
77
+
78
+config SND_SOC_FSL_MICFIL
79
+ tristate "Pulse Density Modulation Microphone Interface (MICFIL) module support"
80
+ select REGMAP_MMIO
81
+ select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
82
+ select SND_SOC_GENERIC_DMAENGINE_PCM
83
+ help
84
+ Say Y if you want to add Pulse Density Modulation microphone
85
+ interface (MICFIL) support for NXP.
86
+
87
+config SND_SOC_FSL_EASRC
88
+ tristate "Enhanced Asynchronous Sample Rate Converter (EASRC) module support"
89
+ depends on SND_SOC_FSL_ASRC
90
+ select REGMAP_MMIO
91
+ select SND_SOC_GENERIC_DMAENGINE_PCM
92
+ help
93
+ Say Y if you want to add Enhanced ASRC support for NXP. The ASRC is
94
+ a digital module that converts audio from a source sample rate to a
95
+ destination sample rate. It is a new design module compare with the
96
+ old ASRC.
5997
6098 config SND_SOC_FSL_UTILS
6199 tristate
....@@ -277,6 +315,7 @@
277315 depends on OF && I2C
278316 # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
279317 depends on SND_AC97_CODEC || SND_AC97_CODEC=n
318
+ select SND_SIMPLE_CARD_UTILS
280319 select SND_SOC_IMX_AUDMUX
281320 select SND_SOC_IMX_PCM_DMA
282321 select SND_SOC_FSL_ESAI
....@@ -285,9 +324,18 @@
285324 help
286325 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
287326 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
288
- CS4271, CS4272 and SGTL5000.
327
+ CS4271, CS4272, SGTL5000 and TLV320AIC32x4.
289328 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
290329
330
+config SND_SOC_IMX_AUDMIX
331
+ tristate "SoC Audio support for i.MX boards with AUDMIX"
332
+ select SND_SOC_FSL_AUDMIX
333
+ select SND_SOC_FSL_SAI
334
+ help
335
+ SoC Audio support for i.MX boards with Audio Mixer
336
+ Say Y if you want to add support for SoC audio on an i.MX board with
337
+ an Audio Mixer.
338
+
291339 endif # SND_IMX_SOC
292340
293341 endmenu