Skip to content

Commit 2813f53

Browse files
CBala21broonie
authored andcommitted
ASoC: Intel: soc-acpi: Add entry for sof_es8336 in PTL match table.
Adding ES83x6 I2S codec support for PTL platforms and entry in match table. Signed-off-by: Balamurugan C <[email protected]> Reviewed-by: Liam Girdwood <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent bb96a31 commit 2813f53

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ static const struct snd_soc_acpi_codecs ptl_rt5682_rt5682s_hp = {
2121
.codecs = {RT5682_ACPI_HID, RT5682S_ACPI_HID},
2222
};
2323

24+
static const struct snd_soc_acpi_codecs ptl_essx_83x6 = {
25+
.num_codecs = 3,
26+
.codecs = { "ESSX8316", "ESSX8326", "ESSX8336"},
27+
};
28+
2429
struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_machines[] = {
2530
{
2631
.comp_ids = &ptl_rt5682_rt5682s_hp,
@@ -29,6 +34,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_machines[] = {
2934
.tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_AMP_NAME |
3035
SND_SOC_ACPI_TPLG_INTEL_CODEC_NAME,
3136
},
37+
{
38+
.comp_ids = &ptl_essx_83x6,
39+
.drv_name = "sof-essx8336",
40+
.sof_tplg_filename = "sof-ptl-es8336", /* the tplg suffix is added at run time */
41+
.tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_SSP_NUMBER |
42+
SND_SOC_ACPI_TPLG_INTEL_SSP_MSB |
43+
SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER,
44+
},
3245
{},
3346
};
3447
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_ptl_machines);

0 commit comments

Comments
 (0)