Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: Intel: sof_rt5682: Add HDMI-In capture with rt5682 support for PTL.

Added match table entry on ptl 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>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20250716082300.1810352-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Balamurugan C and committed by
Mark Brown
03aa2ed9 8778837f

+14
+7
sound/soc/intel/boards/sof_rt5682.c
··· 892 892 SOF_SSP_PORT_BT_OFFLOAD(2) | 893 893 SOF_BT_OFFLOAD_PRESENT), 894 894 }, 895 + { 896 + .name = "ptl_rt5682_c1_h02", 897 + .driver_data = (kernel_ulong_t)(SOF_RT5682_MCLK_EN | 898 + SOF_SSP_PORT_CODEC(1) | 899 + /* SSP 0 and SSP 2 are used for HDMI IN */ 900 + SOF_SSP_MASK_HDMI_CAPTURE(0x5)), 901 + }, 895 902 { } 896 903 }; 897 904 MODULE_DEVICE_TABLE(platform, board_ids);
+7
sound/soc/intel/common/soc-acpi-intel-ptl-match.c
··· 34 34 struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_machines[] = { 35 35 { 36 36 .comp_ids = &ptl_rt5682_rt5682s_hp, 37 + .drv_name = "ptl_rt5682_c1_h02", 38 + .machine_quirk = snd_soc_acpi_codec_list, 39 + .quirk_data = &ptl_lt6911_hdmi, 40 + .sof_tplg_filename = "sof-ptl-rt5682-ssp1-hdmi-ssp02.tplg", 41 + }, 42 + { 43 + .comp_ids = &ptl_rt5682_rt5682s_hp, 37 44 .drv_name = "ptl_rt5682_def", 38 45 .sof_tplg_filename = "sof-ptl", /* the tplg suffix is added at run time */ 39 46 .tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_AMP_NAME |