Skip to content

Commit

Permalink
ALSA: hda: intel-dsp-config: add JasperLake support
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
brentlu authored and tiwai committed Jan 13, 2022
1 parent 10b1a5a commit 19980aa
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion sound/hda/intel-dsp-config.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,30 @@ static const struct config_entry config_table[] = {
},
#endif

/* JasperLake */
/* Jasper Lake */
#if IS_ENABLED(CONFIG_SND_SOC_SOF_JASPERLAKE)
{
.flags = FLAG_SOF,
.device = 0x4dc8,
.dmi_table = (const struct dmi_system_id []) {
{
.ident = "Google Chromebooks",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Google"),
}
},
{}
}
},
{
.flags = FLAG_SOF,
.device = 0x4dc8,
.codec_hid = "ESSX8336",
},
{
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC,
.device = 0x4dc8,
},
#endif

/* Tigerlake */
Expand Down

0 comments on commit 19980aa

Please sign in to comment.