@@ -185,6 +185,33 @@ static const struct snd_soc_acpi_endpoint cs42l43_amp_spkagg_endpoints[] = {
185
185
},
186
186
};
187
187
188
+ static const struct snd_soc_acpi_endpoint cs42l43_endpoints [] = {
189
+ { /* Jack Playback Endpoint */
190
+ .num = 0 ,
191
+ .aggregated = 0 ,
192
+ .group_position = 0 ,
193
+ .group_id = 0 ,
194
+ },
195
+ { /* DMIC Capture Endpoint */
196
+ .num = 1 ,
197
+ .aggregated = 0 ,
198
+ .group_position = 0 ,
199
+ .group_id = 0 ,
200
+ },
201
+ { /* Jack Capture Endpoint */
202
+ .num = 2 ,
203
+ .aggregated = 0 ,
204
+ .group_position = 0 ,
205
+ .group_id = 0 ,
206
+ },
207
+ { /* Speaker Playback Endpoint */
208
+ .num = 3 ,
209
+ .aggregated = 0 ,
210
+ .group_position = 0 ,
211
+ .group_id = 0 ,
212
+ },
213
+ };
214
+
188
215
static const struct snd_soc_acpi_adr_device cs42l43_2_adr [] = {
189
216
{
190
217
.adr = 0x00023001fa424301ull ,
@@ -236,6 +263,15 @@ static const struct snd_soc_acpi_adr_device cs35l56_3_3amp_adr[] = {
236
263
}
237
264
};
238
265
266
+ static const struct snd_soc_acpi_adr_device cs42l43_3_adr [] = {
267
+ {
268
+ .adr = 0x00033001FA424301ull ,
269
+ .num_endpoints = ARRAY_SIZE (cs42l43_endpoints ),
270
+ .endpoints = cs42l43_endpoints ,
271
+ .name_prefix = "cs42l43"
272
+ }
273
+ };
274
+
239
275
static const struct snd_soc_acpi_adr_device rt711_sdca_0_adr [] = {
240
276
{
241
277
.adr = 0x000030025D071101ull ,
@@ -390,6 +426,14 @@ static const struct snd_soc_acpi_link_adr ptl_cs42l43_l2_cs35l56x6_l13[] = {
390
426
{}
391
427
};
392
428
429
+ static const struct snd_soc_acpi_link_adr ptl_cs42l43_l3 [] = {
430
+ {
431
+ .mask = BIT (3 ),
432
+ .num_adr = ARRAY_SIZE (cs42l43_3_adr ),
433
+ .adr_d = cs42l43_3_adr ,
434
+ }
435
+ };
436
+
393
437
static const struct snd_soc_acpi_link_adr ptl_rt722_only [] = {
394
438
{
395
439
.mask = BIT (0 ),
@@ -531,6 +575,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = {
531
575
.drv_name = "sof_sdw" ,
532
576
.sof_tplg_filename = "sof-ptl-rt711.tplg" ,
533
577
},
578
+ {
579
+ .link_mask = BIT (3 ),
580
+ .links = ptl_cs42l43_l3 ,
581
+ .drv_name = "sof_sdw" ,
582
+ .sof_tplg_filename = "sof-ptl-cs42l43-l3.tplg" ,
583
+ },
534
584
{
535
585
.link_mask = BIT (3 ),
536
586
.links = ptl_rt721_l3 ,
0 commit comments