# SPDX-License-Identifier: GPL-2.0-only
menu "SoundWire (SDCA)"

config SND_SOC_SDCA
	tristate
	depends on ACPI
	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

endmenu
