summaryrefslogtreecommitdiff
path: root/sound/soc/starfive/Kconfig
blob: b87f30cd4174b634ff8f2f08963012355dbe1174 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# SPDX-License-Identifier: GPL-2.0-only
config SND_SOC_STARFIVE
	tristate "Audio support for StarFive SoC"
	depends on COMPILE_TEST || ARCH_STARFIVE
	help
	  Say Y or M if you want to add support for codecs attached to
	  the Starfive SoCs' Audio interfaces. You will also need to
	  select the audio interfaces to support below.

config SND_SOC_JH7110_PWMDAC
	tristate "JH7110 PWM-DAC device driver"
	depends on HAVE_CLK && SND_SOC_STARFIVE
	select SND_SOC_GENERIC_DMAENGINE_PCM
	select SND_SOC_SPDIF
	help
	 Say Y or M if you want to add support for StarFive JH7110
	 PWM-DAC driver.

config SND_SOC_JH7110_TDM
	tristate "JH7110 TDM device driver"
	depends on HAVE_CLK && SND_SOC_STARFIVE
	select SND_SOC_GENERIC_DMAENGINE_PCM
	help
	  Say Y or M if you want to add support for StarFive TDM driver.

config SND_STARFIVE_SPDIF
	tristate "starfive spdif"
	depends on SOC_STARFIVE || COMPILE_TEST
	select SND_SOC_GENERIC_DMAENGINE_PCM
	select REGMAP_MMIO
	help
	  Say Y or M if you want to add support for codecs attached to the
	  I2S interface on VIC vic_starlight board. You will also need to select
	  the drivers for the rest of VIC audio subsystem.

config SND_STARFIVE_SPDIF_PCM
	bool "PCM PIO extension for spdif driver"
	depends on SND_STARFIVE_SPDIF
	help
	 Say Y or N if you want to add a custom ALSA extension that registers
	 a PCM and uses PIO to transfer data.

config SND_STARFIVE_PWMDAC
	tristate "starfive pwmdac Device Driver"
	depends on SOC_STARFIVE || COMPILE_TEST
	select SND_SOC_GENERIC_DMAENGINE_PCM
	help
	 Say Y or M if you want to add support for sf pwmdac driver.

config SND_STARFIVE_PWMDAC_PCM
	bool "PCM PIO extension for pwmdac driver"
	depends on SND_STARFIVE_PWMDAC
	help
	 Say Y or N if you want to add a custom ALSA extension that registers
	 a PCM and uses PIO to transfer data.

config SND_STARFIVE_PDM
	tristate "starfive pdm Device Driver"
	depends on SOC_STARFIVE || COMPILE_TEST
	select REGMAP_MMIO
	help
	 Say Y or M if you want to add support for sf pdm driver.

config SND_STARFIVE_I2SVAD
	tristate "starfive I2SVAD Device Driver"
	depends on SOC_STARFIVE || COMPILE_TEST
	select SND_SOC_GENERIC_DMAENGINE_PCM
	help
	 Say Y or M if you want to add support for I2SVAD driver for
	 starfive I2SVAD device.

config SND_STARFIVE_I2SVAD_PCM
	bool "PCM PIO extension for I2SVAD driver"
	depends on SND_STARFIVE_I2SVAD
	help
	 Say Y or N if you want to add a custom ALSA extension that registers
	 a PCM and uses PIO to transfer data.

	 This functionality is specially suited for I2SVAD devices that don't have
	 DMA support.