]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoc: tas2783A: acpi match for 4 channel for mtl
authorNiranjan H Y <niranjan.hy@ti.com>
Mon, 15 Dec 2025 15:32:17 +0000 (21:02 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Dec 2025 08:21:49 +0000 (08:21 +0000)
  Add changes to support 4 tas2783A devices on mtl platform.
The supported unique IDs are updated to 9, a, c, d, where
c and d are configured to play left channels and 9 and a
are configured to play right channel.

Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
Link: https://patch.msgid.link/20251215153219.810-6-niranjan.hy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-mtl-match.c

index ec9fd8486c0534532f33019d98ac77309a93617d..f12d42986a758e4451802dd6d52fd576381d8ccd 100644 (file)
@@ -950,7 +950,7 @@ static const struct snd_soc_acpi_adr_device cs42l42_0_adr[] = {
 
 static const struct snd_soc_acpi_adr_device tas2783_0_adr[] = {
        {
-               .adr = 0x0000380102000001ull,
+               .adr = 0x00003c0102000001ull,
                .num_endpoints = 1,
                .endpoints = &spk_l_endpoint,
                .name_prefix = "tas2783-1"
@@ -960,6 +960,18 @@ static const struct snd_soc_acpi_adr_device tas2783_0_adr[] = {
                .num_endpoints = 1,
                .endpoints = &spk_r_endpoint,
                .name_prefix = "tas2783-2"
+       },
+       {
+               .adr = 0x00003d0102000001ull,
+               .num_endpoints = 1,
+               .endpoints = &spk_l_endpoint,
+               .name_prefix = "tas2783-3"
+       },
+       {
+               .adr = 0x00003a0102000001ull,
+               .num_endpoints = 1,
+               .endpoints = &spk_r_endpoint,
+               .name_prefix = "tas2783-4"
        }
 };