2022-06-01 20:05:23

by Pierre-Louis Bossart

[permalink] [raw]
Subject: Re: soundwire: device drivers for PC based hardware



On 5/31/22 10:17, Muni Sekhar wrote:
> Hi all,
>
> I am looking for the soundwire device drivers which run on x86 CPU for
> PC based platforms.
>
> linux/drivers/soundwire at master · torvalds/linux · GitHub
>
> Can the above mentioned mainline tree drivers can be used for this purpose?
>
> config SOUNDWIRE_INTEL
> depends on ACPI && SND_SOC
>
> config SOUNDWIRE_QCOM
> depends on SND_SOC
>
> As per the Kconfig file, both the Intel and Qualcomm SoundWire Master
> driver depend on SND_SOC, does it mean it is only possible to run on
> SoC CPU(Arm chipsets)?

Here's what you need in your .config to use SoundWire on x86-based
hardware. Today this includes mostly Dell platforms, HP x360 convertible
laptops and Intel 'bishop canyon' NUC laptops.

CONFIG_REGMAP_SOUNDWIRE=m

CONFIG_REGMAP_SOUNDWIRE_MBQ=m

CONFIG_SND_INTEL_SOUNDWIRE_ACPI=m

CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m

CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=m

CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE=m

CONFIG_SOUNDWIRE=m

CONFIG_SOUNDWIRE_CADENCE=m

CONFIG_SOUNDWIRE_INTEL=m

# CONFIG_SOUNDWIRE_QCOM is not set

CONFIG_SOUNDWIRE_GENERIC_ALLOCATION=m


I think you can get everything if you select these 3 high-level ones:
CONFIG_SOUNDWIRE
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE
CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH