Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tas2783A: Add acpi match changes for Intel MTL

acpi match changes to support tas2783a on mtl
on link 0 for 2 devices

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
Link: https://patch.msgid.link/20250912083624.804-5-niranjan.hy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Niranjan H Y and committed by
Mark Brown
63b4c346 b41949a2

+30
+30
sound/soc/intel/common/soc-acpi-intel-mtl-match.c
··· 948 948 } 949 949 }; 950 950 951 + static const struct snd_soc_acpi_adr_device tas2783_0_adr[] = { 952 + { 953 + .adr = 0x0000380102000001ull, 954 + .num_endpoints = 1, 955 + .endpoints = &spk_l_endpoint, 956 + .name_prefix = "tas2783-1" 957 + }, 958 + { 959 + .adr = 0x0000390102000001ull, 960 + .num_endpoints = 1, 961 + .endpoints = &spk_r_endpoint, 962 + .name_prefix = "tas2783-2" 963 + } 964 + }; 965 + 966 + static const struct snd_soc_acpi_link_adr tas2783_link0[] = { 967 + { 968 + .mask = BIT(0), 969 + .num_adr = ARRAY_SIZE(tas2783_0_adr), 970 + .adr_d = tas2783_0_adr, 971 + }, 972 + {} 973 + }; 974 + 951 975 static const struct snd_soc_acpi_link_adr cs42l42_link0_max98363_link2[] = { 952 976 /* Expected order: jack -> amp */ 953 977 { ··· 1103 1079 .links = sdw_mockup_mic_headset_1amp, 1104 1080 .drv_name = "sof_sdw", 1105 1081 .sof_tplg_filename = "sof-mtl-rt715-rt711-rt1308-mono.tplg", 1082 + }, 1083 + { 1084 + .link_mask = BIT(0), 1085 + .links = tas2783_link0, 1086 + .drv_name = "sof_sdw", 1087 + .sof_tplg_filename = "sof-mtl-tas2783.tplg", 1106 1088 }, 1107 1089 { 1108 1090 .link_mask = GENMASK(3, 0),