hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/soundwire/Kconfig
....@@ -1,10 +1,11 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # SoundWire subsystem configuration
34 #
45
56 menuconfig SOUNDWIRE
67 tristate "SoundWire support"
7
- depends on ACPI
8
+ depends on ACPI || OF
89 help
910 SoundWire is a 2-Pin interface with data and clock line ratified
1011 by the MIPI Alliance. SoundWire is used for transporting data
....@@ -23,11 +24,25 @@
2324 config SOUNDWIRE_INTEL
2425 tristate "Intel SoundWire Master driver"
2526 select SOUNDWIRE_CADENCE
26
- depends on X86 && ACPI && SND_SOC
27
- ---help---
27
+ select SOUNDWIRE_GENERIC_ALLOCATION
28
+ depends on ACPI && SND_SOC
29
+ help
2830 SoundWire Intel Master driver.
2931 If you have an Intel platform which has a SoundWire Master then
3032 enable this config option to get the SoundWire support for that
3133 device.
3234
35
+config SOUNDWIRE_QCOM
36
+ tristate "Qualcomm SoundWire Master driver"
37
+ imply SLIMBUS
38
+ depends on SND_SOC
39
+ help
40
+ SoundWire Qualcomm Master driver.
41
+ If you have an Qualcomm platform which has a SoundWire Master then
42
+ enable this config option to get the SoundWire support for that
43
+ device
44
+
45
+config SOUNDWIRE_GENERIC_ALLOCATION
46
+ tristate
47
+
3348 endif