Skip to content

Commit 3d2cdb8

Browse files
committed
Merge series "ASoC: Intel: add SoundWire machine driver" from Pierre-Louis Bossart <[email protected]>:
To handle multiple hardware combinations, this patchset suggests a single machine driver which will create and initialize dailinks dynamically. This allows us to support new configurations easily, as shown with the TigerLake rt5682 example. Each configuration updates the card component string, and UCM can test for the presence of components to configure them as needed. Since we use a single the machine driver name, all previous ACPI tables need to be updated. That should have no impact since the machine drivers listed at the time were not upstreamed and are no longer maintained. Naveen Manohar (2): ASoC: Intel: common: add match table for TGL RT5682 SoundWire driver ASoC: Intel: sof_sdw: Add Volteer support with RT5682 SNDW helper function Pierre-Louis Bossart (1): ASoC: Intel: boards: add sof_sdw machine driver Rander Wang (1): ASoC: Intel: soc-acpi: update topology and driver name for SoundWire platforms sound/soc/intel/boards/Kconfig | 24 + sound/soc/intel/boards/Makefile | 8 +- sound/soc/intel/boards/sof_sdw.c | 962 ++++++++++++++++++ sound/soc/intel/boards/sof_sdw_common.h | 114 +++ sound/soc/intel/boards/sof_sdw_dmic.c | 42 + sound/soc/intel/boards/sof_sdw_hdmi.c | 97 ++ sound/soc/intel/boards/sof_sdw_rt1308.c | 151 +++ sound/soc/intel/boards/sof_sdw_rt5682.c | 126 +++ sound/soc/intel/boards/sof_sdw_rt700.c | 125 +++ sound/soc/intel/boards/sof_sdw_rt711.c | 156 +++ sound/soc/intel/boards/sof_sdw_rt715.c | 42 + .../intel/common/soc-acpi-intel-cml-match.c | 24 +- .../intel/common/soc-acpi-intel-icl-match.c | 6 +- .../intel/common/soc-acpi-intel-tgl-match.c | 30 +- 14 files changed, 1896 insertions(+), 11 deletions(-) create mode 100644 sound/soc/intel/boards/sof_sdw.c create mode 100644 sound/soc/intel/boards/sof_sdw_common.h create mode 100644 sound/soc/intel/boards/sof_sdw_dmic.c create mode 100644 sound/soc/intel/boards/sof_sdw_hdmi.c create mode 100644 sound/soc/intel/boards/sof_sdw_rt1308.c create mode 100644 sound/soc/intel/boards/sof_sdw_rt5682.c create mode 100644 sound/soc/intel/boards/sof_sdw_rt700.c create mode 100644 sound/soc/intel/boards/sof_sdw_rt711.c create mode 100644 sound/soc/intel/boards/sof_sdw_rt715.c -- 2.20.1
2 parents acd4946 + 798313f commit 3d2cdb8

14 files changed

+1896
-11
lines changed

sound/soc/intel/boards/Kconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,4 +524,28 @@ config SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH
524524

525525
endif ## SND_SOC_SOF_JASPERLAKE
526526

527+
if SND_SOC_SOF_INTEL_SOUNDWIRE
528+
529+
config SND_SOC_INTEL_SOUNDWIRE_SOF_MACH
530+
tristate "SoundWire generic machine driver"
531+
depends on I2C && ACPI
532+
depends on MFD_INTEL_LPSS || COMPILE_TEST
533+
depends on SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES || COMPILE_TEST
534+
depends on SOUNDWIRE
535+
depends on SND_HDA_CODEC_HDMI
536+
select SND_SOC_RT700_SDW
537+
select SND_SOC_RT711_SDW
538+
select SND_SOC_RT1308_SDW
539+
select SND_SOC_RT1308
540+
select SND_SOC_RT715_SDW
541+
select SND_SOC_RT5682_SDW
542+
select SND_SOC_DMIC
543+
help
544+
Add support for Intel SoundWire-based platforms connected to
545+
RT700, RT711, RT1308 and RT715
546+
If unsure select "N".
547+
548+
endif
549+
550+
527551
endif ## SND_SOC_INTEL_MACH

sound/soc/intel/boards/Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ snd-soc-skl_hda_dsp-objs := skl_hda_dsp_generic.o skl_hda_dsp_common.o hda_dsp_c
3131
snd-skl_nau88l25_max98357a-objs := skl_nau88l25_max98357a.o
3232
snd-soc-skl_nau88l25_ssm4567-objs := skl_nau88l25_ssm4567.o
3333
snd-soc-sof_da7219_max98373-objs := sof_da7219_max98373.o hda_dsp_common.o
34-
34+
snd-soc-sof-sdw-objs += sof_sdw.o \
35+
sof_sdw_rt711.o sof_sdw_rt700.o \
36+
sof_sdw_rt1308.o sof_sdw_rt715.o \
37+
sof_sdw_rt5682.o \
38+
sof_sdw_dmic.o sof_sdw_hdmi.o hda_dsp_common.o
3539
obj-$(CONFIG_SND_SOC_INTEL_SOF_RT5682_MACH) += snd-soc-sof_rt5682.o
3640
obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-sst-haswell.o
3741
obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o
@@ -64,4 +68,4 @@ obj-$(CONFIG_SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH) += snd-skl_nau88l25_max9
6468
obj-$(CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH) += snd-soc-skl_nau88l25_ssm4567.o
6569
obj-$(CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH) += snd-soc-skl_hda_dsp.o
6670
obj-$(CONFIG_SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH) += snd-soc-sof_da7219_max98373.o
67-
71+
obj-$(CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH) += snd-soc-sof-sdw.o

0 commit comments

Comments
 (0)