ALSA: hda: intel-dsp-config: add Alder Lake support
PATCH 1/1 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.
--- sound/hda/intel-dsp-config.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
NOTES:
- PCI id 0x51c8 is not yet in tiwai/master, but it's in Mark's tree added with patch "ASoC: SOF: Intel: initial support to AlderLake-P"
sound/hda/intel-dsp-config.c +12 -0
@@ -321,6 +321,18 @@ static const struct config_entry config_table[] = { },#endif +/* Alder Lake */ +#if IS_ENABLED(CONFIG_SND_SOC_SOF_ALDERLAKE) + { + .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, + .device = 0x7ad0, + }, + { + .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, + .device = 0x51c8, + }, +#endif + }; static const struct config_entry *snd_intel_dsp_find_config
base-commit: fbd0a1d723513f82c9521c363e93967618517bb8
Signature · 1 line
2.29.2
Quoted 9 lines · Kai Vehmanen
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 <[email protected]>Reviewed-by Xiuli Pan <[email protected]>Reviewed-by Ranjani Sridharan <[email protected]>Reviewed-by Pierre-Louis Bossart <[email protected]>
Quoted 7 lines
--- sound/hda/intel-dsp-config.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)NOTES:
- PCI id0x51c8is not yet in tiwai/master, but it's in Mark's tree added with patch "ASoC: SOF: Intel: initial support to AlderLake-P"
OK, then for consistency, I'll wait for Mark's PR for his tree, then merge this one over it.
thanks,
Takashi
Quoted 29 lines
sound/hda/intel-dsp-config.c +12
-0@@ -321,6 +321,18 @@ static const struct config_entry config_table[] = { },#endif +/* Alder Lake */ +#if IS_ENABLED(CONFIG_SND_SOC_SOF_ALDERLAKE) + { + .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, + .device = 0x7ad0, + }, + { + .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, + .device = 0x51c8, + }, +#endif + }; static const struct config_entry *snd_intel_dsp_find_configbase-commit:
fbd0a1d723513f82c9521c363e93967618517bb8Signature · 1 line
2.29.2