@@ -138,7 +138,7 @@ static const struct snd_soc_acpi_endpoint jack_dmic_endpoints[] = {
138
138
},
139
139
};
140
140
141
- static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints_endpoints [] = {
141
+ static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints [] = {
142
142
/* Jack Endpoint */
143
143
{
144
144
.num = 0 ,
@@ -288,17 +288,17 @@ static const struct snd_soc_acpi_adr_device rt711_sdca_0_adr[] = {
288
288
static const struct snd_soc_acpi_adr_device rt712_vb_2_group1_adr [] = {
289
289
{
290
290
.adr = 0x000230025D071201ull ,
291
- .num_endpoints = ARRAY_SIZE (jack_amp_g1_dmic_endpoints_endpoints ),
292
- .endpoints = jack_amp_g1_dmic_endpoints_endpoints ,
291
+ .num_endpoints = ARRAY_SIZE (jack_amp_g1_dmic_endpoints ),
292
+ .endpoints = jack_amp_g1_dmic_endpoints ,
293
293
.name_prefix = "rt712"
294
294
}
295
295
};
296
296
297
297
static const struct snd_soc_acpi_adr_device rt712_vb_3_group1_adr [] = {
298
298
{
299
299
.adr = 0x000330025D071201ull ,
300
- .num_endpoints = ARRAY_SIZE (jack_amp_g1_dmic_endpoints_endpoints ),
301
- .endpoints = jack_amp_g1_dmic_endpoints_endpoints ,
300
+ .num_endpoints = ARRAY_SIZE (jack_amp_g1_dmic_endpoints ),
301
+ .endpoints = jack_amp_g1_dmic_endpoints ,
302
302
.name_prefix = "rt712"
303
303
}
304
304
};
@@ -321,6 +321,15 @@ static const struct snd_soc_acpi_adr_device rt713_vb_3_adr[] = {
321
321
}
322
322
};
323
323
324
+ static const struct snd_soc_acpi_adr_device rt1320_3_group1_adr [] = {
325
+ {
326
+ .adr = 0x000330025D132001ull ,
327
+ .num_endpoints = 1 ,
328
+ .endpoints = & spk_r_endpoint ,
329
+ .name_prefix = "rt1320-1"
330
+ }
331
+ };
332
+
324
333
static const struct snd_soc_acpi_adr_device rt721_3_single_adr [] = {
325
334
{
326
335
.adr = 0x000330025d072101ull ,
@@ -541,6 +550,20 @@ static const struct snd_soc_acpi_link_adr ptl_sdw_rt712_vb_l3_rt1320_l2[] = {
541
550
{}
542
551
};
543
552
553
+ static const struct snd_soc_acpi_link_adr ptl_sdw_rt712_vb_l3_rt1320_l3 [] = {
554
+ {
555
+ .mask = BIT (3 ),
556
+ .num_adr = ARRAY_SIZE (rt712_vb_3_group1_adr ),
557
+ .adr_d = rt712_vb_3_group1_adr ,
558
+ },
559
+ {
560
+ .mask = BIT (3 ),
561
+ .num_adr = ARRAY_SIZE (rt1320_3_group1_adr ),
562
+ .adr_d = rt1320_3_group1_adr ,
563
+ },
564
+ {}
565
+ };
566
+
544
567
/* this table is used when there is no I2S codec present */
545
568
struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines [] = {
546
569
/* Order Priority: mockup > most links > most bit link-mask > alphabetical */
@@ -633,6 +656,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = {
633
656
.sof_tplg_filename = "sof-ptl-cs42l43-l3.tplg" ,
634
657
.get_function_tplg_files = sof_sdw_get_tplg_files ,
635
658
},
659
+ {
660
+ .link_mask = BIT (3 ),
661
+ .links = ptl_sdw_rt712_vb_l3_rt1320_l3 ,
662
+ .drv_name = "sof_sdw" ,
663
+ .machine_check = snd_soc_acpi_intel_sdca_is_device_rt712_vb ,
664
+ .sof_tplg_filename = "sof-ptl-rt712-l3-rt1320-l3.tplg" ,
665
+ .get_function_tplg_files = sof_sdw_get_tplg_files ,
666
+ },
636
667
{
637
668
.link_mask = BIT (3 ),
638
669
.links = ptl_rt721_l3 ,
0 commit comments