[PATCH 2/5] ASoC: rl6231: Add new supports on rl6231
derek.fang at realtek.com
derek.fang at realtek.com
Fri Jun 12 07:15:22 CEST 2020
From: "derek.fang" <derek.fang at realtek.com>
Add pll preset maps for Realtek codecs' PLL2 freq conversions.
Signed-off-by: derek.fang <derek.fang at realtek.com>
---
sound/soc/codecs/rl6231.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/rl6231.c b/sound/soc/codecs/rl6231.c
index 8c9daf3..d1fc170 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,
--
2.7.4
More information about the Alsa-devel
mailing list