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

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.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 10b1a5a9
Loading
Loading
Loading
Loading
+18 −1
Original line number Diff line number Diff line
@@ -311,11 +311,28 @@ static const struct config_entry config_table[] = {

/* 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 */