xref: /linux/sound/soc/sdca/Kconfig (revision 177bf8620cf4ed290ee170a6c5966adc0924b336)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "SoundWire (SDCA)"
3
4config SND_SOC_SDCA
5	tristate
6	depends on ACPI
7	help
8	  This option enables support for the MIPI SoundWire Device
9	  Class for Audio (SDCA).
10
11config SND_SOC_SDCA_HID
12	bool "SDCA HID support"
13	depends on SND_SOC_SDCA
14	depends on HID=y || HID=SND_SOC_SDCA
15	default y
16	help
17	  This option enables support for audio jack button reporting using HID.
18
19config SND_SOC_SDCA_IRQ
20	bool "SDCA IRQ support"
21	select REGMAP
22	select REGMAP_IRQ
23	depends on SND_SOC_SDCA
24	default y
25	help
26	  This option enables support for SDCA IRQs.
27
28config SND_SOC_SDCA_OPTIONAL
29	def_tristate SND_SOC_SDCA || !SND_SOC_SDCA
30
31endmenu
32