xref: /openbmc/linux/drivers/soundwire/Kconfig (revision 16921921)
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	help
41	  SoundWire Intel Master driver.
42	  If you have an Intel platform which has a SoundWire Master then
43	  enable this config option to get the SoundWire support for that
44	  device.
45
46config SOUNDWIRE_QCOM
47	tristate "Qualcomm SoundWire Master driver"
48	imply SLIMBUS
49	depends on SND_SOC
50	help
51	  SoundWire Qualcomm Master driver.
52	  If you have an Qualcomm platform which has a SoundWire Master then
53	  enable this config option to get the SoundWire support for that
54	  device
55
56config SOUNDWIRE_GENERIC_ALLOCATION
57	tristate
58
59endif
60