xref: /linux/sound/soc/sdca/Kconfig (revision af0bc3ac9a9e830cb52b718ecb237c4e76a466be)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "SoundWire (SDCA)"
3
4config SND_SOC_SDCA
5	tristate
6	depends on ACPI
7	select AUXILIARY_BUS
8	help
9	  This option enables support for the MIPI SoundWire Device
10	  Class for Audio (SDCA).
11
12config SND_SOC_SDCA_HID
13	bool "SDCA HID support"
14	depends on SND_SOC_SDCA
15	depends on HID=y || HID=SND_SOC_SDCA
16	default y
17	help
18	  This option enables support for audio jack button reporting using HID.
19
20config SND_SOC_SDCA_IRQ
21	bool "SDCA IRQ support"
22	select REGMAP
23	select REGMAP_IRQ
24	depends on SND_SOC_SDCA
25	default y
26	help
27	  This option enables support for SDCA IRQs.
28
29config SND_SOC_SDCA_FDL
30	bool "SDCA FDL (File DownLoad) support"
31	depends on SND_SOC_SDCA
32	default y
33	help
34	  This option enables support for the File Download using UMP,
35	  typically used for downloading firmware to devices.
36
37config SND_SOC_SDCA_OPTIONAL
38	def_tristate SND_SOC_SDCA || !SND_SOC_SDCA
39
40config SND_SOC_SDCA_CLASS
41	tristate "SDCA Class Driver"
42	depends on SOUNDWIRE
43	depends on HID=y || HID=SND_SOC_SDCA
44	depends on SND_SOC_SDCA
45	select SND_SOC_SDCA_CLASS_FUNCTION
46	select SND_SOC_SDCA_FDL
47	select SND_SOC_SDCA_HID
48	select SND_SOC_SDCA_IRQ
49	select REGMAP_SOUNDWIRE
50	help
51	  This option enables support for the SDCA Class driver which should
52	  support any class compliant SDCA part.
53
54config SND_SOC_SDCA_CLASS_FUNCTION
55	tristate
56	select REGMAP_SOUNDWIRE_MBQ
57	help
58	  This option enables support for the SDCA Class Function drivers,
59	  these implement the individual functions of the SDCA Class driver.
60
61endmenu
62