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 help 50 This option enables support for the SDCA Class driver which should 51 support any class compliant SDCA part. 52 53config SND_SOC_SDCA_CLASS_FUNCTION 54 tristate 55 help 56 This option enables support for the SDCA Class Function drivers, 57 these implement the individual functions of the SDCA Class driver. 58 59endmenu 60