projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5ada3f
)
ASoC: cs42l42: Add PLL configuration for 44.1kHz/16-bit
author
Richard Fitzgerald
<rf@opensource.cirrus.com>
Thu, 5 Aug 2021 16:11:08 +0000
(17:11 +0100)
committer
Mark Brown
<broonie@kernel.org>
Thu, 5 Aug 2021 22:33:43 +0000
(23:33 +0100)
44.1kHz 16-bit standard I2S gives a SCLK of 1.4112 MHz. Add
a PLL configuration for this.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20210805161111.10410-5-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l42.c
b/sound/soc/codecs/cs42l42.c
index
99c022b
..
6895f2f
100644
(file)
--- a/
sound/soc/codecs/cs42l42.c
+++ b/
sound/soc/codecs/cs42l42.c
@@
-586,6
+586,7
@@
struct cs42l42_pll_params {
* Table 4-5 from the Datasheet
*/
static const struct cs42l42_pll_params pll_ratio_table[] = {
+ { 1411200, 0, 1, 0x00, 0x80, 0x000000, 0x03, 0x10, 11289600, 128, 2},
{ 1536000, 0, 1, 0x00, 0x7D, 0x000000, 0x03, 0x10, 12000000, 125, 2},
{ 2304000, 0, 1, 0x00, 0x55, 0xC00000, 0x02, 0x10, 12288000, 85, 2},
{ 2400000, 0, 1, 0x00, 0x50, 0x000000, 0x03, 0x10, 12000000, 80, 2},