]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: Intel: soc-acpi: add support for HP Omen14 ARL
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 16 Jul 2025 08:22:33 +0000 (16:22 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 16 Jul 2025 10:50:32 +0000 (11:50 +0100)
This platform has an RT711-sdca on link0 and RT1316 on link3.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20250716082233.1810334-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-arl-match.c

index 1ad704ca2c5f2bc4c1a79e0794244627ef2ed8bd..6bf7a6250ddc32eb3bee367fa12fa1af355c7e0c 100644 (file)
@@ -238,6 +238,15 @@ static const struct snd_soc_acpi_adr_device rt722_0_single_adr[] = {
        }
 };
 
+static const struct snd_soc_acpi_adr_device rt1316_3_single_adr[] = {
+       {
+               .adr = 0x000330025D131601ull,
+               .num_endpoints = 1,
+               .endpoints = &single_endpoint,
+               .name_prefix = "rt1316-1"
+       }
+};
+
 static const struct snd_soc_acpi_adr_device rt1320_2_single_adr[] = {
        {
                .adr = 0x000230025D132001ull,
@@ -368,6 +377,20 @@ static const struct snd_soc_acpi_link_adr arl_sdca_rvp[] = {
        {}
 };
 
+static const struct snd_soc_acpi_link_adr arl_rt711_l0_rt1316_l3[] = {
+       {
+               .mask = BIT(0),
+               .num_adr = ARRAY_SIZE(rt711_sdca_0_adr),
+               .adr_d = rt711_sdca_0_adr,
+       },
+       {
+               .mask = BIT(3),
+               .num_adr = ARRAY_SIZE(rt1316_3_single_adr),
+               .adr_d = rt1316_3_single_adr,
+       },
+       {}
+};
+
 static const struct snd_soc_acpi_link_adr arl_rt722_l0_rt1320_l2[] = {
        {
                .mask = BIT(0),
@@ -481,6 +504,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_arl_sdw_machines[] = {
                .sof_tplg_filename = "sof-arl-cs42l43-l2.tplg",
                .get_function_tplg_files = sof_sdw_get_tplg_files,
        },
+       {
+               .link_mask = BIT(0) | BIT(3),
+               .links = arl_rt711_l0_rt1316_l3,
+               .drv_name = "sof_sdw",
+               .sof_tplg_filename = "sof-arl-rt711-l0-rt1316-l3.tplg",
+       },
        {
                .link_mask = 0x1, /* link0 required */
                .links = arl_rvp,