Skip to content

Commit

Permalink
ASoC: Intel: ARL: Add entry for HDMI-In capture support to non-I2S co…
Browse files Browse the repository at this point in the history
…dec 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]>
  • Loading branch information
CBala21 authored and bardliao committed Sep 9, 2024
1 parent 99076b1 commit e9eaeac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sound/soc/intel/boards/sof_ssp_amp.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,12 @@ static const struct platform_device_id board_ids[] = {
/* SSP 0 and SSP 2 are used for HDMI IN */
SOF_HDMI_PLAYBACK_PRESENT),
},
{
.name = "arl_lt6911_hdmi_ssp",
.driver_data = (kernel_ulong_t)(SOF_SSP_MASK_HDMI_CAPTURE(0x5) |
/* SSP 0 and SSP 2 are used for HDMI IN */
SOF_HDMI_PLAYBACK_PRESENT),
},
{ }
};
MODULE_DEVICE_TABLE(platform, board_ids);
Expand Down
6 changes: 6 additions & 0 deletions sound/soc/intel/common/soc-acpi-intel-arl-match.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_arl_machines[] = {
.quirk_data = &arl_lt6911_hdmi,
.sof_tplg_filename = "sof-arl-rt5682-ssp1-hdmi-ssp02.tplg",
},
/* place amp-only boards in the end of table */
{
.id = "INTC10B0",
.drv_name = "arl_lt6911_hdmi_ssp",
.sof_tplg_filename = "sof-arl-hdmi-ssp02.tplg",
},
{},
};
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_arl_machines);
Expand Down

0 comments on commit e9eaeac

Please sign in to comment.