Skip to content

Commit cf95065

Browse files
committed
ASoC: Intel: soc-acpi-intel-ptl-match: Add support for LG Gram 17Z90U
This patch adds support for the LG Gram 17Z90U. Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
1 parent d2be53a commit cf95065

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

sound/soc/intel/common/soc-acpi-intel-ptl-match.c

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,15 @@ static const struct snd_soc_acpi_adr_device rt1320_3_group2_adr[] = {
394394
}
395395
};
396396

397+
static const struct snd_soc_acpi_adr_device rt1320_1_single_adr[] = {
398+
{
399+
.adr = 0x000130025D132001ull,
400+
.num_endpoints = 1,
401+
.endpoints = &single_endpoint,
402+
.name_prefix = "rt1320-1"
403+
}
404+
};
405+
397406
static const struct snd_soc_acpi_link_adr ptl_cs42l43_agg_l3_cs35l56_l2[] = {
398407
{
399408
.mask = BIT(3),
@@ -493,6 +502,20 @@ static const struct snd_soc_acpi_link_adr ptl_sdw_rt713_vb_l3_rt1320_l12[] = {
493502
{}
494503
};
495504

505+
static const struct snd_soc_acpi_link_adr ptl_sdw_rt713_vb_l3_rt1320_l1[] = {
506+
{
507+
.mask = BIT(3),
508+
.num_adr = ARRAY_SIZE(rt713_vb_3_adr),
509+
.adr_d = rt713_vb_3_adr,
510+
},
511+
{
512+
.mask = BIT(1),
513+
.num_adr = ARRAY_SIZE(rt1320_1_single_adr),
514+
.adr_d = rt1320_1_single_adr,
515+
},
516+
{}
517+
};
518+
496519
static const struct snd_soc_acpi_link_adr ptl_sdw_rt712_vb_l2_rt1320_l1[] = {
497520
{
498521
.mask = BIT(2),
@@ -599,6 +622,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = {
599622
.sof_tplg_filename = "sof-ptl-rt712-l2-rt1320-l1.tplg",
600623
.get_function_tplg_files = sof_sdw_get_tplg_files,
601624
},
625+
{
626+
.link_mask = BIT(1) | BIT(3),
627+
.links = ptl_sdw_rt713_vb_l3_rt1320_l1,
628+
.drv_name = "sof_sdw",
629+
.machine_check = snd_soc_acpi_intel_sdca_is_device_rt712_vb,
630+
.sof_tplg_filename = "sof-ptl-rt713-l3-rt1320-l1.tplg",
631+
},
602632
{
603633
.link_mask = BIT(2) | BIT(3),
604634
.links = ptl_sdw_rt712_vb_l3_rt1320_l2,

0 commit comments

Comments
 (0)