Skip to content

Commit 120e49a

Browse files
committed
ALSA: hda: intel-dsp-config: add Alder Lake support
Add rules to select SOF driver for Alder Lake systems if a digital microphone or SoundWire codecs are present in the system. This is following same rules as for older Tiger Lake systems. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent 05f382e commit 120e49a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sound/hda/intel-dsp-config.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,18 @@ static const struct config_entry config_table[] = {
321321
},
322322
#endif
323323

324+
/* Alder Lake */
325+
#if IS_ENABLED(CONFIG_SND_SOC_SOF_ALDERLAKE)
326+
{
327+
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
328+
.device = 0x7ad0,
329+
},
330+
{
331+
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
332+
.device = 0x51c8,
333+
},
334+
#endif
335+
324336
};
325337

326338
static const struct config_entry *snd_intel_dsp_find_config

0 commit comments

Comments
 (0)