Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: cs35l41: Add 12288000 clk freq to cs35l41_fs_mon clk config

There are 8 cs35l41 speaker amplifier connected to TDM
in my Xiaomi Mi Pad 5 Pro tablet. In this case, it's necessary
to set 12288000 (48000 * 32 * 8) clk freq for it.

rate=48000, slot_width=32, slots=8.

Signed-off-by: Jianhua Lu <lujianhua000@gmail.com>
Reviewed-by: David Rhodes <David.Rhodes@cirrus.com>
Link: https://lore.kernel.org/r/20230318141440.29023-1-lujianhua000@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Jianhua Lu and committed by
Mark Brown
00a7ef32 446967a4

+1
+1
sound/soc/codecs/cs35l41.c
··· 150 150 { 5644800, 16, 24 }, 151 151 { 6000000, 16, 24 }, 152 152 { 6144000, 16, 24 }, 153 + { 12288000, 0, 0 }, 153 154 }; 154 155 155 156 static int cs35l41_get_fs_mon_config_index(int freq)