Skip to content

Commit

Permalink
soundwire: dmi-quirks: add quirk for Intel 'Bishop County' NUC M15
Browse files Browse the repository at this point in the history
The same quirk is used for LAPBC510 and LAPBC710 skews who use the
same audio design.

These devices have the same BIOS issues inherited from the Intel
reference, add the same _ADR remap previously used on HP devices.

BugLink: thesofproject#3049
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
  • Loading branch information
plbossart authored and vinodkoul committed Jul 23, 2021
1 parent 899a750 commit caa15c8
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions drivers/soundwire/dmi-quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ struct adr_remap {
};

/*
* HP Spectre 360 Convertible devices do not expose the correct _ADR
* in the DSDT.
* Some TigerLake devices based on an initial Intel BIOS do not expose
* the correct _ADR in the DSDT.
* Remap the bad _ADR values to the ones reported by hardware
*/
static const struct adr_remap hp_spectre_360[] = {
static const struct adr_remap intel_tgl_bios[] = {
{
0x000010025D070100ull,
0x000020025D071100ull
Expand Down Expand Up @@ -61,7 +61,15 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
DMI_MATCH(DMI_SYS_VENDOR, "HP"),
DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible"),
},
.driver_data = (void *)hp_spectre_360,
.driver_data = (void *)intel_tgl_bios,
},
{
/* quirk used for NUC15 'Bishop County' LAPBC510 and LAPBC710 skews */
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Intel(R) Client Systems"),
DMI_MATCH(DMI_PRODUCT_NAME, "LAPBC"),
},
.driver_data = (void *)intel_tgl_bios,
},
{
.matches = {
Expand Down

0 comments on commit caa15c8

Please sign in to comment.