Commit 8d8efecb authored by derek.fang's avatar derek.fang Committed by Mark Brown

ASoC: rl6231: Add new supports on rl6231

Add pll preset maps for Realtek codecs' PLL2 freq conversions.
Signed-off-by: default avatarderek.fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/1591938925-1070-2-git-send-email-derek.fang@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6b9fbb07
...@@ -103,7 +103,9 @@ struct pll_calc_map { ...@@ -103,7 +103,9 @@ struct pll_calc_map {
static const struct pll_calc_map pll_preset_table[] = { static const struct pll_calc_map pll_preset_table[] = {
{19200000, 4096000, 23, 14, 1, false, false}, {19200000, 4096000, 23, 14, 1, false, false},
{19200000, 24576000, 3, 30, 3, false, false}, {19200000, 24576000, 3, 30, 3, false, false},
{48000000, 3840000, 23, 2, 0, false, false},
{3840000, 24576000, 3, 30, 0, true, false}, {3840000, 24576000, 3, 30, 0, true, false},
{3840000, 22579200, 3, 5, 0, true, false},
}; };
static unsigned int find_best_div(unsigned int in, static unsigned int find_best_div(unsigned int in,
......
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