From: derek.fang Date: Fri, 12 Jun 2020 05:15:22 +0000 (+0800) Subject: ASoC: rl6231: Add new supports on rl6231 X-Git-Tag: v5.9-rc1~120^2~9^2^2~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d8efecb28b8f622330ea3546cbdcc06e667f6b5;p=thirdparty%2Fkernel%2Flinux.git ASoC: rl6231: Add new supports on rl6231 Add pll preset maps for Realtek codecs' PLL2 freq conversions. Signed-off-by: derek.fang Link: https://lore.kernel.org/r/1591938925-1070-2-git-send-email-derek.fang@realtek.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/rl6231.c b/sound/soc/codecs/rl6231.c index 8c9daf32bab84..d1fc1706422f6 100644 --- a/sound/soc/codecs/rl6231.c +++ b/sound/soc/codecs/rl6231.c @@ -103,7 +103,9 @@ struct pll_calc_map { static const struct pll_calc_map pll_preset_table[] = { {19200000, 4096000, 23, 14, 1, false, false}, {19200000, 24576000, 3, 30, 3, false, false}, + {48000000, 3840000, 23, 2, 0, false, false}, {3840000, 24576000, 3, 30, 0, true, false}, + {3840000, 22579200, 3, 5, 0, true, false}, }; static unsigned int find_best_div(unsigned int in,