Skip to content

Commit cc648f4

Browse files
CBala21broonie
authored andcommitted
ASoC: Intel: PTL: Add entry for HDMI-In capture support to non-I2S codec boards.
Adding HDMI-In capture support for the PTL products which doesn't have onboard I2S codec. But need to support HDMI-In capture via I2S and audio playback through HDMI/DP monitor. 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/20250915025655.1154279-1-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent d7871f4 commit cc648f4

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

sound/soc/intel/boards/sof_ssp_amp.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@ static const struct platform_device_id board_ids[] = {
216216
/* SSP 0 and SSP 2 are used for HDMI IN */
217217
SOF_HDMI_PLAYBACK_PRESENT),
218218
},
219+
{
220+
.name = "ptl_lt6911_hdmi_ssp",
221+
.driver_data = (kernel_ulong_t)(SOF_SSP_MASK_HDMI_CAPTURE(0x5) |
222+
/* SSP 0 and SSP 2 are used for HDMI IN */
223+
SOF_HDMI_PLAYBACK_PRESENT),
224+
},
219225
{ }
220226
};
221227
MODULE_DEVICE_TABLE(platform, board_ids);

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_machines[] = {
6161
SND_SOC_ACPI_TPLG_INTEL_SSP_MSB |
6262
SND_SOC_ACPI_TPLG_INTEL_DMIC_NUMBER,
6363
},
64+
/* place amp-only boards in the end of table */
65+
{
66+
.id = "INTC10B0",
67+
.drv_name = "ptl_lt6911_hdmi_ssp",
68+
.sof_tplg_filename = "sof-ptl-hdmi-ssp02.tplg",
69+
},
6470
{},
6571
};
6672
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_ptl_machines);

0 commit comments

Comments
 (0)