xref: /linux/drivers/soundwire/Kconfig (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# SoundWire subsystem configuration
4#
5
6menuconfig SOUNDWIRE
7	tristate "SoundWire support"
8	depends on ACPI || OF
9	depends on SND_SOC_SDCA_OPTIONAL
10	help
11	  SoundWire is a 2-Pin interface with data and clock line ratified
12	  by the MIPI Alliance. SoundWire is used for transporting data
13	  typically related to audio functions. SoundWire interface is
14	  optimized to integrate audio devices in mobile or mobile inspired
15	  systems. Say Y to enable this subsystem, N if you do not have such
16	  a device
17
18if SOUNDWIRE
19
20comment "SoundWire Devices"
21
22config SOUNDWIRE_AMD
23	tristate "AMD SoundWire Manager driver"
24	select SOUNDWIRE_GENERIC_ALLOCATION
25	depends on ACPI && SND_SOC
26	help
27	  SoundWire AMD Manager driver.
28	  If you have an AMD platform which has a SoundWire Manager then
29	  enable this config option to get the SoundWire support for that
30	  device.
31
32config SOUNDWIRE_CADENCE
33	tristate
34
35config SOUNDWIRE_INTEL
36	tristate "Intel SoundWire Master driver"
37	select SOUNDWIRE_CADENCE
38	select SOUNDWIRE_GENERIC_ALLOCATION
39	select AUXILIARY_BUS
40	depends on ACPI && SND_SOC
41	depends on SND_SOC_SOF_HDA_MLINK || !SND_SOC_SOF_HDA_MLINK
42	help
43	  SoundWire Intel Master driver.
44	  If you have an Intel platform which has a SoundWire Master then
45	  enable this config option to get the SoundWire support for that
46	  device.
47
48config SOUNDWIRE_QCOM
49	tristate "Qualcomm SoundWire Master driver"
50	imply SLIMBUS
51	depends on SND_SOC
52	help
53	  SoundWire Qualcomm Master driver.
54	  If you have an Qualcomm platform which has a SoundWire Master then
55	  enable this config option to get the SoundWire support for that
56	  device
57
58config SOUNDWIRE_GENERIC_ALLOCATION
59	tristate
60
61endif
62