xref: /linux/sound/soc/sophgo/Kconfig (revision c17ee635fd3a482b2ad2bf5e269755c2eae5f25e)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# SoC audio configuration for cv1800b
4#
5
6menu "Sophgo"
7	depends on COMPILE_TEST || ARCH_SOPHGO
8
9config SND_SOC_CV1800B_TDM
10	tristate "Sophgo CV1800B I2S/TDM support"
11	depends on SND_SOC && OF
12	select SND_SOC_GENERIC_DMAENGINE_PCM
13	help
14	  This option enables the I2S/TDM audio controller found in Sophgo
15	  CV1800B / SG2002 SoCs. The controller supports standard I2S
16	  audio modes for playback and capture.
17
18	  The driver integrates with the ASoC framework and uses the DMA
19	  engine for audio data transfer. It is intended to be configured
20	  via Device Tree along with simple-audio-card module.
21
22	  To compile the driver as a module, choose M here: the module will
23	  be called cv1800b_tdm.
24
25config SND_SOC_CV1800B_ADC_CODEC
26	tristate "Sophgo CV1800B/SG2002 internal ADC codec"
27	depends on SND_SOC
28	help
29	  This driver provides an ASoC codec DAI for capture and basic
30	  control of the RXADC registers.
31
32	  Say Y or M to build support for the Sophgo CV1800B
33	  internal analog ADC codec block (RXADC).
34	  The module will be called cv1800b-sound-adc
35
36config SND_SOC_CV1800B_DAC_CODEC
37	tristate "Sophgo CV1800B/SG2002 internal DAC codec"
38	depends on SND_SOC
39	help
40	  This driver provides an ASoC codec DAI for playback and basic
41	  control of the TXDAC registers.
42
43	  Say Y or M to build support for the Sophgo CV1800B
44	  internal analog DAC codec block (TXDAC).
45	  The module will be called cv1800b-sound-dac
46
47endmenu
48