ALSA: hda: Add AlderLake-N PCI ID
PATCH 1/2 ALSA: hda: Add AlderLake-N PCI ID
Add HD Audio PCI ID for Intel AlderLake-N. Add rules to snd_intel_dsp_find_config() to choose DSP-based SOF driver for ADL-N systems with PCH-DMIC or Soundwire codecs, and plain HDA driver for the rest (DSP not used).
Signed-off-by Kai Vehmanen <[email protected]>
Reviewed-by Pierre-Louis Bossart <[email protected]>
--- sound/hda/intel-dsp-config.c | 4 ++++ sound/pci/hda/hda_intel.c | 3 +++ 2 files changed, 7 insertions(+)
sound/hda/intel-dsp-config.c +4 -0
@@ -374,6 +374,10 @@ static const struct config_entry config_table[] = { .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, .device = 0x51cc, }, + { + .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, + .device = 0x54c8, + },#endif };
sound/pci/hda/hda_intel.c +3 -0
@@ -2496,6 +2496,9 @@ static const struct pci_device_id azx_ids[] = {/* Alderlake-M */ { PCI_DEVICE(0x8086, 0x51cc), .driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE}, + /* Alderlake-N */ + { PCI_DEVICE(0x8086, 0x54c8), + .driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE}, /* Elkhart Lake */ { PCI_DEVICE(0x8086, 0x4b55), .driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
base-commit: 74a50bd2899fdc9b6b2f2eb9624551e4aa795ad8
Signature · 1 line
2.34.1
PATCH 2/2 ALSA: hda: Add new AlderLake-P variant PCI ID
Add HD Audio PCI ID for a variant of Intel AlderLake-P. Use same driver match rules as for existing AlderLake-P devices.
Signed-off-by Kai Vehmanen <[email protected]>
Reviewed-by Pierre-Louis Bossart <[email protected]>
--- sound/hda/intel-dsp-config.c | 4 ++++ sound/pci/hda/hda_intel.c | 2 ++ 2 files changed, 6 insertions(+)
sound/hda/intel-dsp-config.c +4 -0
@@ -374,6 +374,10 @@ static const struct config_entry config_table[] = { .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, .device = 0x51cc, }, + { + .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, + .device = 0x51cd, + }, { .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, .device = 0x54c8,
sound/pci/hda/hda_intel.c +2 -0
@@ -2493,6 +2493,8 @@ static const struct pci_device_id azx_ids[] = {/* Alderlake-P */ { PCI_DEVICE(0x8086, 0x51c8), .driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE}, + { PCI_DEVICE(0x8086, 0x51cd), + .driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE}, /* Alderlake-M */ { PCI_DEVICE(0x8086, 0x51cc), .driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
Signature · 1 line
2.34.1
Takashi Iwai
AppliedQuoted 8 lines · Kai Vehmanen
Add HD Audio PCI ID for Intel AlderLake-N. Add rules to
snd_intel_dsp_find_config()to choose DSP-based SOF driver for ADL-N systems with PCH-DMIC or Soundwire codecs, and plain HDA driver for the rest (DSP not used).Signed-off-by Kai Vehmanen <[email protected]>Reviewed-by Pierre-Louis Bossart <[email protected]>
Thanks, applied both patches now.
Takashi