Skip to content

Commit 19980aa

Browse files
brentlutiwai
authored andcommitted
ALSA: hda: intel-dsp-config: add JasperLake support
Add rules to select SOF driver for Jasper Lake systems if digital microphone is present or the system is a Chromebook. Signed-off-by: Brent Lu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 10b1a5a commit 19980aa

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

sound/hda/intel-dsp-config.c

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,30 @@ static const struct config_entry config_table[] = {
309309
},
310310
#endif
311311

312-
/* JasperLake */
312+
/* Jasper Lake */
313313
#if IS_ENABLED(CONFIG_SND_SOC_SOF_JASPERLAKE)
314+
{
315+
.flags = FLAG_SOF,
316+
.device = 0x4dc8,
317+
.dmi_table = (const struct dmi_system_id []) {
318+
{
319+
.ident = "Google Chromebooks",
320+
.matches = {
321+
DMI_MATCH(DMI_SYS_VENDOR, "Google"),
322+
}
323+
},
324+
{}
325+
}
326+
},
314327
{
315328
.flags = FLAG_SOF,
316329
.device = 0x4dc8,
317330
.codec_hid = "ESSX8336",
318331
},
332+
{
333+
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC,
334+
.device = 0x4dc8,
335+
},
319336
#endif
320337

321338
/* Tigerlake */

0 commit comments

Comments
 (0)