Skip to content

Commit fb00ab1

Browse files
CBala21broonie
authored andcommitted
ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in PTL match table
Adding HDMI-In capture via I2S feature support in PTL platform. 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 2813f53 commit fb00ab1

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

sound/soc/intel/boards/sof_es8336.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,16 @@ static const struct platform_device_id board_ids[] = {
826826
SOF_ES8336_SPEAKERS_EN_GPIO1_QUIRK |
827827
SOF_ES8336_JD_INVERTED),
828828
},
829+
{
830+
.name = "ptl_es83x6_c1_h02",
831+
.driver_data = (kernel_ulong_t)(SOF_ES8336_SSP_CODEC(1) |
832+
SOF_NO_OF_HDMI_CAPTURE_SSP(2) |
833+
SOF_HDMI_CAPTURE_1_SSP(0) |
834+
SOF_HDMI_CAPTURE_2_SSP(2) |
835+
SOF_SSP_HDMI_CAPTURE_PRESENT |
836+
SOF_ES8336_SPEAKERS_EN_GPIO1_QUIRK |
837+
SOF_ES8336_JD_INVERTED),
838+
},
829839
{ }
830840
};
831841
MODULE_DEVICE_TABLE(platform, board_ids);

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ static const struct snd_soc_acpi_codecs ptl_essx_83x6 = {
2626
.codecs = { "ESSX8316", "ESSX8326", "ESSX8336"},
2727
};
2828

29+
static const struct snd_soc_acpi_codecs ptl_lt6911_hdmi = {
30+
.num_codecs = 1,
31+
.codecs = {"INTC10B0"}
32+
};
33+
2934
struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_machines[] = {
3035
{
3136
.comp_ids = &ptl_rt5682_rt5682s_hp,
@@ -34,6 +39,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_machines[] = {
3439
.tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_AMP_NAME |
3540
SND_SOC_ACPI_TPLG_INTEL_CODEC_NAME,
3641
},
42+
{
43+
.comp_ids = &ptl_essx_83x6,
44+
.drv_name = "ptl_es83x6_c1_h02",
45+
.machine_quirk = snd_soc_acpi_codec_list,
46+
.quirk_data = &ptl_lt6911_hdmi,
47+
.sof_tplg_filename = "sof-ptl-es83x6-ssp1-hdmi-ssp02.tplg",
48+
},
3749
{
3850
.comp_ids = &ptl_essx_83x6,
3951
.drv_name = "sof-essx8336",

0 commit comments

Comments
 (0)