xref: /linux/sound/soc/sdca/Kconfig (revision 2aa680df68062e4e0c356ec2aa7100c13654907b)
13a513da1SPierre-Louis Bossart# SPDX-License-Identifier: GPL-2.0-only
236e64204SKuninori Morimotomenu "SoundWire (SDCA)"
33a513da1SPierre-Louis Bossart
43a513da1SPierre-Louis Bossartconfig SND_SOC_SDCA
5845cb1ddSBard Liao	tristate
63a513da1SPierre-Louis Bossart	depends on ACPI
74496d1c6SPierre-Louis Bossart	select AUXILIARY_BUS
83a513da1SPierre-Louis Bossart	help
93a513da1SPierre-Louis Bossart	  This option enables support for the MIPI SoundWire Device
103a513da1SPierre-Louis Bossart	  Class for Audio (SDCA).
113a513da1SPierre-Louis Bossart
12ac558015SShuming Fanconfig SND_SOC_SDCA_HID
13ad465565SArnd Bergmann	bool "SDCA HID support"
14ad465565SArnd Bergmann	depends on SND_SOC_SDCA
15ad465565SArnd Bergmann	depends on HID=y || HID=SND_SOC_SDCA
166894e49bSCharles Keepax	default y
176894e49bSCharles Keepax	help
186894e49bSCharles Keepax	  This option enables support for audio jack button reporting using HID.
1951c18d4dSMark Brown
20b126394dSMaciej Strozekconfig SND_SOC_SDCA_IRQ
216894e49bSCharles Keepax	bool "SDCA IRQ support"
22b126394dSMaciej Strozek	select REGMAP
23b126394dSMaciej Strozek	select REGMAP_IRQ
246894e49bSCharles Keepax	depends on SND_SOC_SDCA
256894e49bSCharles Keepax	default y
26b126394dSMaciej Strozek	help
27b126394dSMaciej Strozek	  This option enables support for SDCA IRQs.
28c1d10f4cSMark Brown
2971f7990aSMaciej Strozekconfig SND_SOC_SDCA_FDL
3071f7990aSMaciej Strozek	bool "SDCA FDL (File DownLoad) support"
3171f7990aSMaciej Strozek	depends on SND_SOC_SDCA
3271f7990aSMaciej Strozek	default y
3371f7990aSMaciej Strozek	help
3471f7990aSMaciej Strozek	  This option enables support for the File Download using UMP,
3571f7990aSMaciej Strozek	  typically used for downloading firmware to devices.
3671f7990aSMaciej Strozek
376894e49bSCharles Keepaxconfig SND_SOC_SDCA_OPTIONAL
386894e49bSCharles Keepax	def_tristate SND_SOC_SDCA || !SND_SOC_SDCA
396894e49bSCharles Keepax
402d877d06SCharles Keepaxconfig SND_SOC_SDCA_CLASS
412d877d06SCharles Keepax	tristate "SDCA Class Driver"
42*b025f01eSCharles Keepax	depends on SOUNDWIRE
43*b025f01eSCharles Keepax	depends on HID=y || HID=SND_SOC_SDCA
442d877d06SCharles Keepax	depends on SND_SOC_SDCA
453af1815aSCharles Keepax	select SND_SOC_SDCA_CLASS_FUNCTION
462d877d06SCharles Keepax	select SND_SOC_SDCA_FDL
472d877d06SCharles Keepax	select SND_SOC_SDCA_HID
482d877d06SCharles Keepax	select SND_SOC_SDCA_IRQ
492d877d06SCharles Keepax	help
502d877d06SCharles Keepax	  This option enables support for the SDCA Class driver which should
512d877d06SCharles Keepax	  support any class compliant SDCA part.
522d877d06SCharles Keepax
533af1815aSCharles Keepaxconfig SND_SOC_SDCA_CLASS_FUNCTION
543af1815aSCharles Keepax	tristate
553af1815aSCharles Keepax	help
563af1815aSCharles Keepax	  This option enables support for the SDCA Class Function drivers,
573af1815aSCharles Keepax	  these implement the individual functions of the SDCA Class driver.
583af1815aSCharles Keepax
5936e64204SKuninori Morimotoendmenu
60