ASoC: amd: acp: Add sound support for a line of
authorMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 21:38:20 +0000 (22:38 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 21:38:20 +0000 (22:38 +0100)
Merge series from Marian Postevca <posteuca@mutex.one>:

This series adds support for a line of HUAWEI laptops with
AMD CPUs that connect using the ACP3x module to a ES8336 CODEC.

The CODEC driver must be extended to support the S32 LE format
and the MCLK div by 2 option. MCLK div by 2 is needed for one specific
SKU, which uses a 48Mhz MCLK, which seems to be too high of a frequency
for the CODEC and must be divided by 2.

The acp legacy driver must also be extended by using callbacks so that
the more complicated handling of this specific CODEC can be moved
outside the more generic ACP code.


Trivial merge