• Home
  • Raw
  • Download

Lines Matching +full:dsp +full:- +full:based

1 // SPDX-License-Identifier: GPL-2.0
12 #include <sound/intel-dsp-config.h>
13 #include <sound/intel-nhlt.h>
18 MODULE_PARM_DESC(dsp_driver, "Force the DSP driver for Intel DSP (0=auto, 1=legacy, 2=SST, 3=SOF)");
38 * - the order of similar PCI ID entries is important!
39 * - the first successful match will win
49 /* Broxton-T */
57 * Apollolake (Broxton-P)
59 * Chromebooks (SST), as well as devices based on the ES8336 codec
70 DMI_MATCH(DMI_BOARD_NAME, "UP-APL01"),
102 /* Sunrise Point-LP */
122 /* Kabylake-LP */
145 * Chromebooks and devices based on the ES8336 codec
175 * When the Chromebook quirk is not present, it's based on information
177 * either based on product information or a placeholder.
223 /* Cometlake-LP */
259 /* Cometlake-H */
370 /* Meteorlake-P */
375 /* ArrowLake-S */
389 /* Lunarlake-P */
402 device = pci->device; in snd_intel_dsp_find_config()
403 for (; len > 0; len--, table++) { in snd_intel_dsp_find_config()
404 if (table->device != device) in snd_intel_dsp_find_config()
406 if (table->dmi_table && !dmi_check_system(table->dmi_table)) in snd_intel_dsp_find_config()
408 if (table->codec_hid[0] && !acpi_dev_present(table->codec_hid, NULL, -1)) in snd_intel_dsp_find_config()
420 nhlt = intel_nhlt_init(&pci->dev); in snd_intel_dsp_check_dmic()
422 if (intel_nhlt_get_dmic_geo(&pci->dev, nhlt)) in snd_intel_dsp_check_dmic()
436 handle = ACPI_HANDLE(&pci->dev); in snd_intel_dsp_check_soundwire()
456 if (pci->vendor != 0x8086) in snd_intel_dsp_driver_probe()
463 * detect DSP by checking class/subclass/prog-id information in snd_intel_dsp_driver_probe()
464 * class=04 subclass 03 prog-if 00: no DSP, use legacy driver in snd_intel_dsp_driver_probe()
465 * class=04 subclass 01 prog-if 00: DSP is present in snd_intel_dsp_driver_probe()
467 * class=04 subclass 03 prog-if 80: use DSP or legacy mode in snd_intel_dsp_driver_probe()
469 if (pci->class == 0x040300) in snd_intel_dsp_driver_probe()
471 if (pci->class != 0x040100 && pci->class != 0x040380) { in snd_intel_dsp_driver_probe()
472 …dev_err(&pci->dev, "Unknown PCI class/subclass/prog-if information (0x%06x) found, selecting HDAud… in snd_intel_dsp_driver_probe()
476 dev_info(&pci->dev, "DSP detected with PCI class/subclass/prog-if info 0x%06x\n", pci->class); in snd_intel_dsp_driver_probe()
483 if (cfg->flags & FLAG_SOF) { in snd_intel_dsp_driver_probe()
484 if (cfg->flags & FLAG_SOF_ONLY_IF_SOUNDWIRE && in snd_intel_dsp_driver_probe()
486 dev_info(&pci->dev, "SoundWire enabled on CannonLake+ platform, using SOF driver\n"); in snd_intel_dsp_driver_probe()
489 if (cfg->flags & FLAG_SOF_ONLY_IF_DMIC && in snd_intel_dsp_driver_probe()
491 dev_info(&pci->dev, "Digital mics found on Skylake+ platform, using SOF driver\n"); in snd_intel_dsp_driver_probe()
494 if (!(cfg->flags & FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE)) in snd_intel_dsp_driver_probe()
499 if (cfg->flags & FLAG_SST) { in snd_intel_dsp_driver_probe()
500 if (cfg->flags & FLAG_SST_ONLY_IF_DMIC) { in snd_intel_dsp_driver_probe()
502 dev_info(&pci->dev, "Digital mics found on Skylake+ platform, using SST driver\n"); in snd_intel_dsp_driver_probe()
515 MODULE_DESCRIPTION("Intel DSP config driver");