Skip to content

Commit

Permalink
Merge remote-tracking branch 'sof/integration/soundwire-machine-drive…
Browse files Browse the repository at this point in the history
…rs' into integration/soundwire-latest

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
  • Loading branch information
plbossart committed Dec 4, 2019
2 parents ac84cdb + 3f0cb65 commit 7747326
Show file tree
Hide file tree
Showing 14 changed files with 1,674 additions and 328 deletions.
6 changes: 6 additions & 0 deletions include/sound/soc-acpi-intel-match.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_intel_tgl_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_ehl_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_jsl_machines[];

extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_sdw_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cfl_sdw_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cml_sdw_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_icl_sdw_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_tgl_sdw_machines[];

/*
* generic table used for HDA codec-based platforms, possibly with
* additional ACPI-enumerated codecs
Expand Down
47 changes: 42 additions & 5 deletions sound/soc/intel/boards/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -500,22 +500,59 @@ config SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH

endif ## SND_SOC_SOF_COMETLAKE_LP && SND_SOC_SOF_HDA_LINK

if SND_SOC_SOF_TIGERLAKE
if SND_SOC_SOF_TIGERLAKE && SND_SOC_SOF_INTEL_SOUNDWIRE

config SND_SOC_INTEL_TGL_RT1308_MACH
tristate "TGL with RT1308 in I2S Mode"
config SND_SOC_INTEL_TGL_RT711_RT1308_MACH
tristate "TGL with RT711 in SDW mode and RT1308 in I2S Mode"
depends on I2C && ACPI
depends on MFD_INTEL_LPSS || COMPILE_TEST
select SND_SOC_RT711_SDW
select SND_SOC_RT1308
select SND_SOC_DMIC
select SND_HDA_CODEC_HDMI if SND_SOC_SOF_HDA_CODEC
select SND_SOC_HDAC_HDMI if SND_SOC_SOF_HDA_LINK
help
This adds support for ASoC machine driver for Tigerlake platforms
with RT1308 I2S audio codec.
with SoundWire RT711 and RT1308 I2S audio codec.
Say Y if you have such a device.
If unsure select "N".

endif ## SND_SOC_SOF_TIGERLAKE
endif ## SND_SOC_SOF_TIGERLAKE && SND_SOC_SOF_INTEL_SOUNDWIRE

if SND_SOC_SOF_INTEL_SOUNDWIRE

config SND_SOC_INTEL_SOUNDWIRE_RT700_MACH
tristate "SoundWire with RT700 codec"
depends on SOUNDWIRE && ACPI
select SND_SOC_RT700_SDW
select SND_SOC_DMIC
select SND_SOC_HDAC_HDMI if SND_SOC_SOF_HDA_LINK
help
Add support for Intel SoundWire-based platforms connected to RT700
on link 0 or 1
If unsure select "N"

config SND_SOC_INTEL_SOUNDWIRE_RT711_MACH
tristate "SoundWire with RT711 codec"
depends on SOUNDWIRE && ACPI
select SND_SOC_RT711_SDW
help
Add support for Intel SoundWire-based platforms connected to RT711
on link 0 or 1
If unsure select "N"

config SND_SOC_INTEL_SOUNDWIRE_RT711_RT1308_RT715_MACH
tristate "SoundWire with RT711, RT1308 and RT715"
depends on SOUNDWIRE && ACPI
select SND_SOC_RT711_SDW
select SND_SOC_RT1308_SDW
select SND_SOC_RT715_SDW
select SND_SOC_HDAC_HDMI if SND_SOC_SOF_HDA_LINK
help
Add support for Intel SoundWire-based platforms connected to RT711,
RT1308 and RT715
If unsure select "N".

endif

endif ## SND_SOC_INTEL_MACH
13 changes: 10 additions & 3 deletions sound/soc/intel/boards/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ccflags-y += -DDEBUG

# SPDX-License-Identifier: GPL-2.0
snd-soc-sst-haswell-objs := haswell.o
snd-soc-sst-byt-rt5640-mach-objs := byt-rt5640.o
Expand Down Expand Up @@ -30,8 +32,10 @@ snd-soc-skl_rt286-objs := skl_rt286.o
snd-soc-skl_hda_dsp-objs := skl_hda_dsp_generic.o skl_hda_dsp_common.o hda_dsp_common.o
snd-skl_nau88l25_max98357a-objs := skl_nau88l25_max98357a.o
snd-soc-skl_nau88l25_ssm4567-objs := skl_nau88l25_ssm4567.o
snd-soc-tgl-rt1308-objs := tgl_rt1308.o hda_dsp_common.o

snd-soc-tgl-rt711-rt1308-objs := sdw_rt711_i2s_rt1308.o hda_dsp_common.o
snd-soc-sdw-rt700-objs := sdw_rt700.o hda_dsp_common.o
snd-soc-sdw-rt711-objs := sdw_rt711.o hda_dsp_common.o
snd-soc-sdw-rt711-rt1308-rt715-objs := sdw_rt711_rt1308_rt715.o hda_dsp_common.o
obj-$(CONFIG_SND_SOC_INTEL_SOF_RT5682_MACH) += snd-soc-sof_rt5682.o
obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-sst-haswell.o
obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o
Expand Down Expand Up @@ -63,4 +67,7 @@ obj-$(CONFIG_SND_SOC_INTEL_SKL_RT286_MACH) += snd-soc-skl_rt286.o
obj-$(CONFIG_SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH) += snd-skl_nau88l25_max98357a.o
obj-$(CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH) += snd-soc-skl_nau88l25_ssm4567.o
obj-$(CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH) += snd-soc-skl_hda_dsp.o
obj-$(CONFIG_SND_SOC_INTEL_TGL_RT1308_MACH) += snd-soc-tgl-rt1308.o
obj-$(CONFIG_SND_SOC_INTEL_TGL_RT711_RT1308_MACH) += snd-soc-tgl-rt711-rt1308.o
obj-$(CONFIG_SND_SOC_INTEL_SOUNDWIRE_RT700_MACH) += snd-soc-sdw-rt700.o
obj-$(CONFIG_SND_SOC_INTEL_SOUNDWIRE_RT711_MACH) += snd-soc-sdw-rt711.o
obj-$(CONFIG_SND_SOC_INTEL_SOUNDWIRE_RT711_RT1308_RT715_MACH) += snd-soc-sdw-rt711-rt1308-rt715.o
Loading

0 comments on commit 7747326

Please sign in to comment.