Skip to content

Commit 6a8c889

Browse files
committed
ASoC: Intel: sof_rt5682: Add HDMI-In capture with rt5682 support for NVL.
Added match table entry on nvl machines to support HDMI-In capture with rt5682 I2S audio codec. also added the respective quirk configuration in rt5682 machine driver. Signed-off-by: Balamurugan C <balamurugan.c@intel.com>
1 parent b374398 commit 6a8c889

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

sound/soc/intel/boards/sof_rt5682.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,13 @@ static const struct platform_device_id board_ids[] = {
915915
/* SSP 0 and SSP 2 are used for HDMI IN */
916916
SOF_SSP_MASK_HDMI_CAPTURE(0x5)),
917917
},
918+
{
919+
.name = "nvl_rt5682_c1_h02",
920+
.driver_data = (kernel_ulong_t)(SOF_RT5682_MCLK_EN |
921+
SOF_SSP_PORT_CODEC(1) |
922+
/* SSP 0 and SSP 2 are used for HDMI IN */
923+
SOF_SSP_MASK_HDMI_CAPTURE(0x5)),
924+
},
918925
{ }
919926
};
920927
MODULE_DEVICE_TABLE(platform, board_ids);

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_nvl_machines[] = {
4242
SND_SOC_ACPI_TPLG_INTEL_SSP_MSB |
4343
SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER,
4444
},
45+
{
46+
.comp_ids = &nvl_rt5682_rt5682s_hp,
47+
.drv_name = "nvl_rt5682_c1_h02",
48+
.machine_quirk = snd_soc_acpi_codec_list,
49+
.quirk_data = &nvl_lt6911_hdmi,
50+
.sof_tplg_filename = "sof-nvl-rt5682-ssp1-hdmi-ssp02.tplg",
51+
},
4552
{
4653
.comp_ids = &nvl_rt5682_rt5682s_hp,
4754
.drv_name = "sof_rt5682",

0 commit comments

Comments
 (0)