Skip to content

Commit 9a1d248

Browse files
plbossartbroonie
authored andcommitted
ASoC: Intel: soc-acpi: add ES83x6 support to IceLake
Missing entry to find a machine driver for ES83x6-based platforms. Link: thesofproject#3873 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20221031195836.250193-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6f934af commit 9a1d248

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

sound/soc/intel/common/soc-acpi-intel-icl-match.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
#include <sound/soc-acpi-intel-match.h>
1111
#include "../skylake/skl.h"
1212

13+
static const struct snd_soc_acpi_codecs essx_83x6 = {
14+
.num_codecs = 3,
15+
.codecs = { "ESSX8316", "ESSX8326", "ESSX8336"},
16+
};
17+
1318
static struct skl_machine_pdata icl_pdata = {
1419
.use_tplg_pcm = true,
1520
};
@@ -27,6 +32,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_icl_machines[] = {
2732
.drv_name = "sof_rt5682",
2833
.sof_tplg_filename = "sof-icl-rt5682.tplg",
2934
},
35+
{
36+
.comp_ids = &essx_83x6,
37+
.drv_name = "sof-essx8336",
38+
.sof_tplg_filename = "sof-icl-es8336", /* the tplg suffix is added at run time */
39+
.tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_SSP_NUMBER |
40+
SND_SOC_ACPI_TPLG_INTEL_SSP_MSB |
41+
SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER,
42+
},
3043
{},
3144
};
3245
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_icl_machines);

0 commit comments

Comments
 (0)