]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: Intel: NVL: Add entry for HDMI-In capture support to non-I2S codec boards.
authorBalamurugan C <balamurugan.c@intel.com>
Tue, 11 Aug 2026 00:53:54 +0000 (08:53 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 11 Aug 2026 16:14:15 +0000 (17:14 +0100)
Adding HDMI-In capture support for the NVL 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/20260811005354.2884137-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_ssp_amp.c
sound/soc/intel/common/soc-acpi-intel-nvl-match.c

index 729c0cd7c19c25e654ee61019e01790900cbd6a7..b80d24966cbd57cb41bedd9b6968139d4fedc210 100644 (file)
@@ -222,6 +222,12 @@ static const struct platform_device_id board_ids[] = {
                                        /* SSP 0 and SSP 2 are used for HDMI IN */
                                        SOF_HDMI_PLAYBACK_PRESENT),
        },
+       {
+               .name = "nvl_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);
index 4a6208f821eb0971fdeedd9e1f8b9a11448f4501..8f6e987c791e1bad685cae5b7391a0bcd6d4864b 100644 (file)
@@ -56,6 +56,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_nvl_machines[] = {
                .tplg_quirk_mask = SND_SOC_ACPI_TPLG_INTEL_SSP_NUMBER |
                                        SND_SOC_ACPI_TPLG_INTEL_SSP_MSB,
        },
+       /* place amp/hdmi-in only boards in the end of table */
+       {
+               .id = "INTC10B0",
+               .drv_name = "nvl_lt6911_hdmi_ssp",
+               .sof_tplg_filename = "sof-nvl-hdmi-ssp02.tplg",
+       },
        {},
 };
 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_nvl_machines);