Skip to content

Commit 322706e

Browse files
CBala21broonie
authored andcommitted
ASoC: Intel: ARL: Add entry for HDMI-In capture support to non-I2S codec boards.
Adding HDMI-In capture support for the ARL 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 <[email protected]> Reviewed-by: Pierre-Louis Bossart <[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 47d94c1 commit 322706e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

sound/soc/intel/boards/sof_ssp_amp.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,12 @@ static const struct platform_device_id board_ids[] = {
210210
/* SSP 0 and SSP 2 are used for HDMI IN */
211211
SOF_HDMI_PLAYBACK_PRESENT),
212212
},
213+
{
214+
.name = "arl_lt6911_hdmi_ssp",
215+
.driver_data = (kernel_ulong_t)(SOF_SSP_MASK_HDMI_CAPTURE(0x5) |
216+
/* SSP 0 and SSP 2 are used for HDMI IN */
217+
SOF_HDMI_PLAYBACK_PRESENT),
218+
},
213219
{ }
214220
};
215221
MODULE_DEVICE_TABLE(platform, board_ids);

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_arl_machines[] = {
323323
.quirk_data = &arl_lt6911_hdmi,
324324
.sof_tplg_filename = "sof-arl-rt5682-ssp1-hdmi-ssp02.tplg",
325325
},
326+
/* place amp-only boards in the end of table */
327+
{
328+
.id = "INTC10B0",
329+
.drv_name = "arl_lt6911_hdmi_ssp",
330+
.sof_tplg_filename = "sof-arl-hdmi-ssp02.tplg",
331+
},
326332
{},
327333
};
328334
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_arl_machines);

0 commit comments

Comments
 (0)