Commit 00a7ef32 authored by Jianhua Lu's avatar Jianhua Lu Committed by Mark Brown

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: default avatarJianhua Lu <lujianhua000@gmail.com>
Reviewed-by: default avatarDavid Rhodes <David.Rhodes@cirrus.com>
Link: https://lore.kernel.org/r/20230318141440.29023-1-lujianhua000@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 446967a4
...@@ -150,6 +150,7 @@ static const struct cs35l41_fs_mon_config cs35l41_fs_mon[] = { ...@@ -150,6 +150,7 @@ static const struct cs35l41_fs_mon_config cs35l41_fs_mon[] = {
{ 5644800, 16, 24 }, { 5644800, 16, 24 },
{ 6000000, 16, 24 }, { 6000000, 16, 24 },
{ 6144000, 16, 24 }, { 6144000, 16, 24 },
{ 12288000, 0, 0 },
}; };
static int cs35l41_get_fs_mon_config_index(int freq) static int cs35l41_get_fs_mon_config_index(int freq)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment