summaryrefslogtreecommitdiff
path: root/sound/soc/sophgo/Kconfig
blob: 9b454261bcfd0dff286f2df44a4a316cf892e22f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: GPL-2.0-only
#
# SoC audio configuration for cv1800b
#

menu "Sophgo"
	depends on COMPILE_TEST || ARCH_SOPHGO

config SND_SOC_CV1800B_TDM
	tristate "Sophgo CV1800B I2S/TDM support"
	depends on SND_SOC && OF
	select SND_SOC_GENERIC_DMAENGINE_PCM
	help
	  This option enables the I2S/TDM audio controller found in Sophgo
	  CV1800B / SG2002 SoCs. The controller supports standard I2S
	  audio modes for playback and capture.

	  The driver integrates with the ASoC framework and uses the DMA
	  engine for audio data transfer. It is intended to be configured
	  via Device Tree along with simple-audio-card module.

	  To compile the driver as a module, choose M here: the module will
	  be called cv1800b_tdm.

config SND_SOC_CV1800B_ADC_CODEC
	tristate "Sophgo CV1800B/SG2002 internal ADC codec"
	depends on SND_SOC
	help
	  This driver provides an ASoC codec DAI for capture and basic
	  control of the RXADC registers.

	  Say Y or M to build support for the Sophgo CV1800B
	  internal analog ADC codec block (RXADC).
	  The module will be called cv1800b-sound-adc

config SND_SOC_CV1800B_DAC_CODEC
	tristate "Sophgo CV1800B/SG2002 internal DAC codec"
	depends on SND_SOC
	help
	  This driver provides an ASoC codec DAI for playback and basic
	  control of the TXDAC registers.

	  Say Y or M to build support for the Sophgo CV1800B
	  internal analog DAC codec block (TXDAC).
	  The module will be called cv1800b-sound-dac

endmenu