ALSA: hda: Add AlderLake-M PCI ID
Add HD Audio PCI ID for Intel AlderLake-M. Add rules to snd_intel_dsp_find_config() to choose SOF driver for ADL-M systems with PCH-DMIC or Soundwire codecs, and legacy driver for the rest. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210528185123.48332-1-kai.vehmanen@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
50dbfae972
commit
4ad7935df6
|
@ -331,6 +331,10 @@ static const struct config_entry config_table[] = {
|
||||||
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
|
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
|
||||||
.device = 0x51c8,
|
.device = 0x51c8,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
|
||||||
|
.device = 0x51cc,
|
||||||
|
},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -2485,6 +2485,9 @@ static const struct pci_device_id azx_ids[] = {
|
||||||
/* Alderlake-P */
|
/* Alderlake-P */
|
||||||
{ PCI_DEVICE(0x8086, 0x51c8),
|
{ PCI_DEVICE(0x8086, 0x51c8),
|
||||||
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
|
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
|
||||||
|
/* Alderlake-M */
|
||||||
|
{ PCI_DEVICE(0x8086, 0x51cc),
|
||||||
|
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
|
||||||
/* Elkhart Lake */
|
/* Elkhart Lake */
|
||||||
{ PCI_DEVICE(0x8086, 0x4b55),
|
{ PCI_DEVICE(0x8086, 0x4b55),
|
||||||
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
|
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
|
||||||
|
|
Loading…
Reference in New Issue