xref: /linux/drivers/soundwire/Kconfig (revision c17ee635fd3a482b2ad2bf5e269755c2eae5f25e)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
29251345dSVinod Koul#
39251345dSVinod Koul# SoundWire subsystem configuration
49251345dSVinod Koul#
59251345dSVinod Koul
69251345dSVinod Koulmenuconfig SOUNDWIRE
78676b3caSPierre-Louis Bossart	tristate "SoundWire support"
80f8c0f8aSMichal Suchanek	depends on ACPI || OF
90c673d28SPierre-Louis Bossart	depends on SND_SOC_SDCA_OPTIONAL
109d7cd9d5SPierre-Louis Bossart	help
119251345dSVinod Koul	  SoundWire is a 2-Pin interface with data and clock line ratified
129251345dSVinod Koul	  by the MIPI Alliance. SoundWire is used for transporting data
139251345dSVinod Koul	  typically related to audio functions. SoundWire interface is
149251345dSVinod Koul	  optimized to integrate audio devices in mobile or mobile inspired
159251345dSVinod Koul	  systems. Say Y to enable this subsystem, N if you do not have such
169251345dSVinod Koul	  a device
179251345dSVinod Koul
189251345dSVinod Koulif SOUNDWIRE
199251345dSVinod Koul
209251345dSVinod Koulcomment "SoundWire Devices"
219251345dSVinod Koul
22c0bf349eSVijendar Mukundaconfig SOUNDWIRE_AMD
23c0bf349eSVijendar Mukunda	tristate "AMD SoundWire Manager driver"
24c0bf349eSVijendar Mukunda	select SOUNDWIRE_GENERIC_ALLOCATION
25c0bf349eSVijendar Mukunda	depends on ACPI && SND_SOC
26c0bf349eSVijendar Mukunda	help
27c0bf349eSVijendar Mukunda	  SoundWire AMD Manager driver.
28c0bf349eSVijendar Mukunda	  If you have an AMD platform which has a SoundWire Manager then
29c0bf349eSVijendar Mukunda	  enable this config option to get the SoundWire support for that
30c0bf349eSVijendar Mukunda	  device.
31c0bf349eSVijendar Mukunda
322f52a517SVinod Koulconfig SOUNDWIRE_CADENCE
332f52a517SVinod Koul	tristate
348eb5d7adSPierre-Louis Bossart	select CRC8
352f52a517SVinod Koul
3671bb8a1bSVinod Koulconfig SOUNDWIRE_INTEL
3771bb8a1bSVinod Koul	tristate "Intel SoundWire Master driver"
3871bb8a1bSVinod Koul	select SOUNDWIRE_CADENCE
399026118fSBard Liao	select SOUNDWIRE_GENERIC_ALLOCATION
4029a269c6SPierre-Louis Bossart	select AUXILIARY_BUS
412948d192SPierre-Louis Bossart	depends on ACPI && SND_SOC
42a1b828f2SArnd Bergmann	depends on SND_SOC_SOF_HDA_MLINK || !SND_SOC_SOF_HDA_MLINK
43*dc3a6a94SArnd Bergmann	depends on SND_HDA_CORE || !SND_HDA_ALIGNED_MMIO
4492fd75f1SVinod Koul	help
4571bb8a1bSVinod Koul	  SoundWire Intel Master driver.
4671bb8a1bSVinod Koul	  If you have an Intel platform which has a SoundWire Master then
4771bb8a1bSVinod Koul	  enable this config option to get the SoundWire support for that
4871bb8a1bSVinod Koul	  device.
4971bb8a1bSVinod Koul
5002efb49aSSrinivas Kandagatlaconfig SOUNDWIRE_QCOM
5102efb49aSSrinivas Kandagatla	tristate "Qualcomm SoundWire Master driver"
525bd77324SJonathan Marek	imply SLIMBUS
5302efb49aSSrinivas Kandagatla	depends on SND_SOC
5402efb49aSSrinivas Kandagatla	help
5502efb49aSSrinivas Kandagatla	  SoundWire Qualcomm Master driver.
5602efb49aSSrinivas Kandagatla	  If you have an Qualcomm platform which has a SoundWire Master then
5702efb49aSSrinivas Kandagatla	  enable this config option to get the SoundWire support for that
5802efb49aSSrinivas Kandagatla	  device
599026118fSBard Liao
609026118fSBard Liaoconfig SOUNDWIRE_GENERIC_ALLOCATION
619026118fSBard Liao	tristate
629026118fSBard Liao
639251345dSVinod Koulendif
64