Skip to content

Commit bb85d7e

Browse files
committed
ASoC: Intel: sof_sdw: add quirk for HP Spectre x360 convertible
This set of devices has SoundWire support along with DMICs. The DMI information was provided by users for 3 separate skus. BugLink: #2700 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 12679b9 commit bb85d7e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

sound/soc/intel/boards/sof_sdw.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,22 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
159159
SOF_SDW_PCH_DMIC |
160160
SOF_SDW_FOUR_SPK),
161161
},
162+
{
163+
/*
164+
* this entry covers multiple HP SKUs. The family name
165+
* does not seem robust enough, so we use a partial
166+
* match that ignores the product name suffix
167+
* (e.g. 15-eb1xxx, 14t-ea000 or 13-aw2xxx)
168+
*/
169+
.callback = sof_sdw_quirk_cb,
170+
.matches = {
171+
DMI_MATCH(DMI_SYS_VENDOR, "HP"),
172+
DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible"),
173+
},
174+
.driver_data = (void *)(SOF_SDW_TGL_HDMI |
175+
SOF_SDW_PCH_DMIC |
176+
SOF_RT711_JD_SRC_JD2),
177+
},
162178
/* TigerLake-SDCA devices */
163179
{
164180
.callback = sof_sdw_quirk_cb,

0 commit comments

Comments
 (0)