@@ -134,6 +134,15 @@ static const struct snd_soc_acpi_adr_device rt712_vb_2_group1_adr[] = {
134134 }
135135};
136136
137+ static const struct snd_soc_acpi_adr_device rt712_vb_3_group1_adr [] = {
138+ {
139+ .adr = 0x000330025d071201ull ,
140+ .num_endpoints = ARRAY_SIZE (jack_amp_g1_dmic_endpoints_endpoints ),
141+ .endpoints = jack_amp_g1_dmic_endpoints_endpoints ,
142+ .name_prefix = "rt712"
143+ }
144+ };
145+
137146static const struct snd_soc_acpi_adr_device rt713_vb_2_adr [] = {
138147 {
139148 .adr = 0x000230025d071301ull ,
@@ -206,6 +215,15 @@ static const struct snd_soc_acpi_adr_device rt1320_1_group2_adr[] = {
206215 }
207216};
208217
218+ static const struct snd_soc_acpi_adr_device rt1320_2_group1_adr [] = {
219+ {
220+ .adr = 0x000230025d132000ull ,
221+ .num_endpoints = 1 ,
222+ .endpoints = & spk_r_endpoint ,
223+ .name_prefix = "rt1320-1"
224+ }
225+ };
226+
209227static const struct snd_soc_acpi_adr_device rt1320_3_group2_adr [] = {
210228 {
211229 .adr = 0x000330025D132001ull ,
@@ -284,6 +302,20 @@ static const struct snd_soc_acpi_link_adr lnl_sdw_rt712_vb_l2_rt1320_l1[] = {
284302 {}
285303};
286304
305+ static const struct snd_soc_acpi_link_adr ptl_sdw_rt712_vb_l3_rt1320_l2 [] = {
306+ {
307+ .mask = BIT (3 ),
308+ .num_adr = ARRAY_SIZE (rt712_vb_3_group1_adr ),
309+ .adr_d = rt712_vb_3_group1_adr ,
310+ },
311+ {
312+ .mask = BIT (2 ),
313+ .num_adr = ARRAY_SIZE (rt1320_2_group1_adr ),
314+ .adr_d = rt1320_2_group1_adr ,
315+ },
316+ {}
317+ };
318+
287319/* this table is used when there is no I2S codec present */
288320struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines [] = {
289321 /* mockup tests need to be first */
@@ -342,6 +374,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = {
342374 .machine_check = snd_soc_acpi_intel_sdca_is_device_rt712_vb ,
343375 .sof_tplg_filename = "sof-lnl-rt712-l2-rt1320-l1.tplg"
344376 },
377+ {
378+ .link_mask = BIT (2 ) | BIT (3 ),
379+ .links = ptl_sdw_rt712_vb_l3_rt1320_l2 ,
380+ .drv_name = "sof_sdw" ,
381+ .machine_check = snd_soc_acpi_intel_sdca_is_device_rt712_vb ,
382+ .sof_tplg_filename = "sof-ptl-rt712-l3-rt1320-l2.tplg"
383+ },
345384 {
346385 .link_mask = BIT (1 ) | BIT (2 ) | BIT (3 ),
347386 .links = lnl_sdw_rt713_vb_l2_rt1320_l13 ,
0 commit comments