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