diff options
author | Brent Lu <brent.lu@intel.com> | 2022-01-13 11:52:19 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-01-13 13:20:54 +0100 |
commit | 19980aa10d2d944ed8fe345ce2eb87c2cb4bedf8 (patch) | |
tree | 3cdf8e097e161e0ee13231f46d45a399519424c7 /sound/hda | |
parent | ALSA: hda: cs35l41: fix double free on error in probe() (diff) | |
download | linux-19980aa10d2d944ed8fe345ce2eb87c2cb4bedf8.tar.xz linux-19980aa10d2d944ed8fe345ce2eb87c2cb4bedf8.zip |
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 <brent.lu@intel.com>
Link: https://lore.kernel.org/r/20220113105220.1114694-2-brent.lu@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda')
-rw-r--r-- | sound/hda/intel-dsp-config.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c index c26229ed642f..3a3026fa4a17 100644 --- a/sound/hda/intel-dsp-config.c +++ b/sound/hda/intel-dsp-config.c @@ -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 */ |