Skip to content

Commit 3054996

Browse files
committed
ASOC: Intel: add quirk for Intel 'Rooks County' NUC
Merge series from Bard Liao <[email protected]>: Adding Intel 'Rooks County' NUC M15 support. To support 'Rooks County', we also need the "soundwire: dmi-quirks: add remapping for Intel 'Rooks County'" patch.
2 parents 083a25b + 9c691a4 commit 3054996

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

sound/soc/intel/boards/sof_sdw.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,17 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
213213
SOF_SDW_PCH_DMIC |
214214
RT711_JD1),
215215
},
216+
{
217+
/* NUC15 'Rooks County' LAPRC510 and LAPRC710 skews */
218+
.callback = sof_sdw_quirk_cb,
219+
.matches = {
220+
DMI_MATCH(DMI_SYS_VENDOR, "Intel(R) Client Systems"),
221+
DMI_MATCH(DMI_PRODUCT_NAME, "LAPRC"),
222+
},
223+
.driver_data = (void *)(SOF_SDW_TGL_HDMI |
224+
SOF_SDW_PCH_DMIC |
225+
RT711_JD2_100K),
226+
},
216227
/* TigerLake-SDCA devices */
217228
{
218229
.callback = sof_sdw_quirk_cb,

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,20 @@ static const struct snd_soc_acpi_link_adr adl_sdw_rt711_link0_rt1316_link3[] = {
354354
{}
355355
};
356356

357+
static const struct snd_soc_acpi_link_adr adl_sdw_rt711_link0_rt1316_link2[] = {
358+
{
359+
.mask = BIT(0),
360+
.num_adr = ARRAY_SIZE(rt711_sdca_0_adr),
361+
.adr_d = rt711_sdca_0_adr,
362+
},
363+
{
364+
.mask = BIT(2),
365+
.num_adr = ARRAY_SIZE(rt1316_2_single_adr),
366+
.adr_d = rt1316_2_single_adr,
367+
},
368+
{}
369+
};
370+
357371
static const struct snd_soc_acpi_adr_device mx8373_2_adr[] = {
358372
{
359373
.adr = 0x000223019F837300ull,
@@ -624,6 +638,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_sdw_machines[] = {
624638
.drv_name = "sof_sdw",
625639
.sof_tplg_filename = "sof-adl-rt711-l0-rt1316-l3.tplg",
626640
},
641+
{
642+
.link_mask = 0x5, /* 2 active links required */
643+
.links = adl_sdw_rt711_link0_rt1316_link2,
644+
.drv_name = "sof_sdw",
645+
.sof_tplg_filename = "sof-adl-rt711-l0-rt1316-l2.tplg",
646+
},
627647
{
628648
.link_mask = 0x1, /* link0 required */
629649
.links = adl_rvp,

0 commit comments

Comments
 (0)