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)
commitdbef51669b9a2f753ba67841a93c9de6d8c58288
tree6ecfa8029af8add2f9eee4d8ab35edf17d5cd223
parent09d86dbf16fc0fa33ad105c57a72008f575ab307
parent54fcd9dd44b2c82a0262e29b288c2d0b36c6bba5
ASoC: amd: acp: Add sound support for a line of

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.