ASoC: SOF: Intel: override mclk_id for ES8336 support
authorMark Brown <broonie@kernel.org>
Tue, 20 Sep 2022 11:25:56 +0000 (12:25 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 20 Sep 2022 11:25:56 +0000 (12:25 +0100)
Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:

This patchset solves a known issue with ES8336 platforms wrt MCLK
selection. Most of the devices use the MCLK0 signal, but some devices
do use the MCLK1 signal.

The MCLK is defined in the topology, it would be a nightmare to
generate more topology files just for one MCLK difference. With a
minor extension to the intel-nhlt library, the MCLK information can be
found by parsing the NHLT table, and we can override the mclk_id at
boot time.

The only known issues for this platform remain the detection of GPIO
and microphone connections, currently only possible with manual
quirks.

Thanks to Eugene J. Markow for testing this patchset.

1  2 
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/mtl.c

Simple merge
Simple merge