forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/jz4740/Kconfig
....@@ -1,29 +1,9 @@
1
-config SND_JZ4740_SOC
2
- tristate "SoC Audio for Ingenic JZ4740 SoC"
3
- depends on MACH_JZ4740 || COMPILE_TEST
4
- select SND_SOC_GENERIC_DMAENGINE_PCM
5
- help
6
- Say Y or M if you want to add support for codecs attached to
7
- the JZ4740 I2S interface. You will also need to select the audio
8
- interfaces to support below.
9
-
10
-if SND_JZ4740_SOC
11
-
1
+# SPDX-License-Identifier: GPL-2.0-only
122 config SND_JZ4740_SOC_I2S
133 tristate "SoC Audio (I2S protocol) for Ingenic JZ4740 SoC"
14
- depends on HAS_IOMEM
4
+ depends on MIPS || COMPILE_TEST
5
+ depends on OF && HAS_IOMEM
6
+ select SND_SOC_GENERIC_DMAENGINE_PCM
157 help
168 Say Y if you want to use I2S protocol and I2S codec on Ingenic JZ4740
179 based boards.
18
-
19
-config SND_JZ4740_SOC_QI_LB60
20
- tristate "SoC Audio support for Qi LB60"
21
- depends on HAS_IOMEM
22
- depends on JZ4740_QI_LB60 || COMPILE_TEST
23
- select SND_JZ4740_SOC_I2S
24
- select SND_SOC_JZ4740_CODEC
25
- help
26
- Say Y if you want to add support for ASoC audio on the Qi LB60 board
27
- a.k.a Qi Ben NanoNote.
28
-
29
-endif