xref: /openbmc/linux/sound/soc/jz4740/Kconfig (revision 96ac6d43)
1# SPDX-License-Identifier: GPL-2.0-only
2config SND_JZ4740_SOC
3	tristate "SoC Audio for Ingenic JZ4740 SoC"
4	depends on MIPS || COMPILE_TEST
5	select SND_SOC_GENERIC_DMAENGINE_PCM
6	help
7	  Say Y or M if you want to add support for codecs attached to
8	  the JZ4740 I2S interface. You will also need to select the audio
9	  interfaces to support below.
10
11if SND_JZ4740_SOC
12
13config SND_JZ4740_SOC_I2S
14	tristate "SoC Audio (I2S protocol) for Ingenic JZ4740 SoC"
15	depends on HAS_IOMEM
16	help
17	  Say Y if you want to use I2S protocol and I2S codec on Ingenic JZ4740
18	  based boards.
19
20config SND_JZ4740_SOC_QI_LB60
21	tristate "SoC Audio support for Qi LB60"
22	depends on HAS_IOMEM
23	depends on JZ4740_QI_LB60 || COMPILE_TEST
24	select SND_JZ4740_SOC_I2S
25    select SND_SOC_JZ4740_CODEC
26	help
27	  Say Y if you want to add support for ASoC audio on the Qi LB60 board
28	  a.k.a Qi Ben NanoNote.
29
30endif
31