xref: /linux/drivers/soundwire/Kconfig (revision 4f9786035f9e519db41375818e1d0b5f20da2f10)
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	select CRC8
35
36config SOUNDWIRE_INTEL
37	tristate "Intel SoundWire Master driver"
38	select SOUNDWIRE_CADENCE
39	select SOUNDWIRE_GENERIC_ALLOCATION
40	select AUXILIARY_BUS
41	depends on ACPI && SND_SOC
42	depends on SND_SOC_SOF_HDA_MLINK || !SND_SOC_SOF_HDA_MLINK
43	help
44	  SoundWire Intel Master driver.
45	  If you have an Intel platform which has a SoundWire Master then
46	  enable this config option to get the SoundWire support for that
47	  device.
48
49config SOUNDWIRE_QCOM
50	tristate "Qualcomm SoundWire Master driver"
51	imply SLIMBUS
52	depends on SND_SOC
53	help
54	  SoundWire Qualcomm Master driver.
55	  If you have an Qualcomm platform which has a SoundWire Master then
56	  enable this config option to get the SoundWire support for that
57	  device
58
59config SOUNDWIRE_GENERIC_ALLOCATION
60	tristate
61
62endif
63