| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # |
| 3 | # SoundWire subsystem configuration |
| 4 | # |
| 5 | |
| 6 | menuconfig 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 | |
| 18 | if SOUNDWIRE |
| 19 | |
| 20 | comment "SoundWire Devices" |
| 21 | |
| 22 | config 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 | |
| 32 | config SOUNDWIRE_CADENCE |
| 33 | tristate |
| 34 | select CRC8 |
| 35 | |
| 36 | config 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 | depends on SND_HDA_CORE || !SND_HDA_ALIGNED_MMIO |
| 44 | help |
| 45 | SoundWire Intel Master driver. |
| 46 | If you have an Intel platform which has a SoundWire Master then |
| 47 | enable this config option to get the SoundWire support for that |
| 48 | device. |
| 49 | |
| 50 | config SOUNDWIRE_QCOM |
| 51 | tristate "Qualcomm SoundWire Master driver" |
| 52 | imply SLIMBUS |
| 53 | depends on SND_SOC |
| 54 | help |
| 55 | SoundWire Qualcomm Master driver. |
| 56 | If you have an Qualcomm platform which has a SoundWire Master then |
| 57 | enable this config option to get the SoundWire support for that |
| 58 | device |
| 59 | |
| 60 | config SOUNDWIRE_GENERIC_ALLOCATION |
| 61 | tristate |
| 62 | |
| 63 | endif |