Skip to content

Commit b374398

Browse files
committed
ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in NVL match table
Adding HDMI-In capture via I2S feature support in NVL platform. Signed-off-by: Balamurugan C <balamurugan.c@intel.com>
1 parent 7e9e040 commit b374398

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

sound/soc/intel/boards/sof_es8336.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,16 @@ static const struct platform_device_id board_ids[] = {
847847
SOF_ES8336_SPEAKERS_EN_GPIO1_QUIRK |
848848
SOF_ES8336_JD_INVERTED),
849849
},
850+
{
851+
.name = "nvl_es83x6_c1_h02",
852+
.driver_data = (kernel_ulong_t)(SOF_ES8336_SSP_CODEC(1) |
853+
SOF_NO_OF_HDMI_CAPTURE_SSP(2) |
854+
SOF_HDMI_CAPTURE_1_SSP(0) |
855+
SOF_HDMI_CAPTURE_2_SSP(2) |
856+
SOF_SSP_HDMI_CAPTURE_PRESENT |
857+
SOF_ES8336_SPEAKERS_EN_GPIO1_QUIRK |
858+
SOF_ES8336_JD_INVERTED),
859+
},
850860
{ }
851861
};
852862
MODULE_DEVICE_TABLE(platform, board_ids);

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,24 @@ static const struct snd_soc_acpi_codecs nvl_essx_83x6 = {
1616
.codecs = { "ESSX8316", "ESSX8326", "ESSX8336"},
1717
};
1818

19+
static const struct snd_soc_acpi_codecs nvl_lt6911_hdmi = {
20+
.num_codecs = 1,
21+
.codecs = {"INTC10B0"}
22+
};
23+
1924
static const struct snd_soc_acpi_codecs nvl_rt5682_rt5682s_hp = {
2025
.num_codecs = 2,
2126
.codecs = {RT5682_ACPI_HID, RT5682S_ACPI_HID},
2227
};
2328

2429
struct snd_soc_acpi_mach snd_soc_acpi_intel_nvl_machines[] = {
30+
{
31+
.comp_ids = &nvl_essx_83x6,
32+
.drv_name = "nvl_es83x6_c1_h02",
33+
.machine_quirk = snd_soc_acpi_codec_list,
34+
.quirk_data = &nvl_lt6911_hdmi,
35+
.sof_tplg_filename = "sof-nvl-es83x6-ssp1-hdmi-ssp02.tplg",
36+
},
2537
{
2638
.comp_ids = &nvl_essx_83x6,
2739
.drv_name = "sof-essx8336",

0 commit comments

Comments
 (0)