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