• Pierre-Louis Bossart's avatar
    ALSA: hda/intel: stop probe if DMICS are detected on Skylake+ platforms · 8c575883
    Pierre-Louis Bossart authored
    The legacy HD-Audio driver cannot handle Skylake+ platforms with
    digital microphones. For those platforms, the SOF or SST drivers need
    to be used.
    
    This patch provides an automatic way of detecting the presence of
    DMICs using NHTL information reported by the BIOS. A kernel kconfig
    option or a kernel module parameter provide an opt-in means of
    stopping the probe. The kernel would then look for an alternate driver
    registered for the same PCI ID to probe.
    
    With this capability, distros no longer have to blacklist
    snd-hda-intel, but still need to make sure the SOF/SST drivers are
    functional by providing the relevant firmware and topology files in
    /lib/firmware/intel
    
    The coexistence between SOF and SST drivers and their dynamic
    detection is not addressed by this patch, different mechanisms need to
    be used, e.g. DMI-based quirks.
    Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    8c575883
Kconfig 7.47 KB