]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5bf6f1ad6fd0e338f3c2d6cffa93a2377fc3f7ed
tree3b02a26bdcb4476949129e7ea0c26e5c95655033
parentb02c05088c086cbf674c422dcb5bd4c511a1159e
parentcac83d74110c7900ef9194be6d9132e4a43841b9
ASoC: SOF: Intel: override mclk_id for ES8336 support

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.
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/mtl.c