Commit 19980aa1 authored by Brent Lu's avatar Brent Lu Committed by Takashi Iwai

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: default avatarBrent Lu <brent.lu@intel.com>
Link: https://lore.kernel.org/r/20220113105220.1114694-2-brent.lu@intel.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 10b1a5a9
...@@ -309,13 +309,30 @@ static const struct config_entry config_table[] = { ...@@ -309,13 +309,30 @@ static const struct config_entry config_table[] = {
}, },
#endif #endif
/* JasperLake */ /* Jasper Lake */
#if IS_ENABLED(CONFIG_SND_SOC_SOF_JASPERLAKE) #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, .flags = FLAG_SOF,
.device = 0x4dc8, .device = 0x4dc8,
.codec_hid = "ESSX8336", .codec_hid = "ESSX8336",
}, },
{
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC,
.device = 0x4dc8,
},
#endif #endif
/* Tigerlake */ /* Tigerlake */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment