summaryrefslogtreecommitdiff
path: root/sound/soc/sdca/Kconfig
blob: fabb69a3450d3b11327bcc7658bb54b057dcb47d (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
# SPDX-License-Identifier: GPL-2.0-only
menu "SoundWire (SDCA)"

config SND_SOC_SDCA
	tristate
	depends on ACPI
	select AUXILIARY_BUS
	help
	  This option enables support for the MIPI SoundWire Device
	  Class for Audio (SDCA).

config SND_SOC_SDCA_HID
	bool "SDCA HID support"
	depends on SND_SOC_SDCA
	depends on HID=y || HID=SND_SOC_SDCA
	default y
	help
	  This option enables support for audio jack button reporting using HID.

config SND_SOC_SDCA_IRQ
	bool "SDCA IRQ support"
	select REGMAP
	select REGMAP_IRQ
	depends on SND_SOC_SDCA
	default y
	help
	  This option enables support for SDCA IRQs.

config SND_SOC_SDCA_FDL
	bool "SDCA FDL (File DownLoad) support"
	depends on SND_SOC_SDCA
	default y
	help
	  This option enables support for the File Download using UMP,
	  typically used for downloading firmware to devices.

config SND_SOC_SDCA_OPTIONAL
	def_tristate SND_SOC_SDCA || !SND_SOC_SDCA

config SND_SOC_SDCA_CLASS
	tristate "SDCA Class Driver"
	depends on SOUNDWIRE
	depends on HID=y || HID=SND_SOC_SDCA
	depends on SND_SOC_SDCA
	select SND_SOC_SDCA_CLASS_FUNCTION
	select SND_SOC_SDCA_FDL
	select SND_SOC_SDCA_HID
	select SND_SOC_SDCA_IRQ
	help
	  This option enables support for the SDCA Class driver which should
	  support any class compliant SDCA part.

config SND_SOC_SDCA_CLASS_FUNCTION
	tristate
	help
	  This option enables support for the SDCA Class Function drivers,
	  these implement the individual functions of the SDCA Class driver.

endmenu