]> Git Repo - linux.git/commitdiff
ASoC: max98090: Add NI/MI values for user pclk 19.2 MHz
authorChen Zhen <[email protected]>
Thu, 22 May 2014 11:21:43 +0000 (13:21 +0200)
committerMark Brown <[email protected]>
Mon, 26 May 2014 13:28:57 +0000 (14:28 +0100)
This patch adds the clock divisor and multiplier NI, MI values for audio
sampling frequencies 44100 and 48000 Hz and PCLK 19.2 MHz. This is useful
for the Odroid X2/U2 boards when the codec works in master mode and its
MCLK clock is fed from the I2S CDCLK output.

Signed-off-by: Chen Zhen <[email protected]>
[[email protected]: edited the commit description]
Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/max98090.c

index c88bf821b86f51aeebb4f90d00b11dad0a43fb33..4ee1f88760c46935c7d3437d9036896eceb7a3a0 100644 (file)
@@ -1545,19 +1545,19 @@ static const int lrclk_rates[] = {
 };
 
 static const int user_pclk_rates[] = {
-       13000000, 13000000
+       13000000, 13000000, 19200000, 19200000,
 };
 
 static const int user_lrclk_rates[] = {
-       44100, 48000
+       44100, 48000, 44100, 48000,
 };
 
 static const unsigned long long ni_value[] = {
-       3528, 768
+       3528, 768, 441, 8
 };
 
 static const unsigned long long mi_value[] = {
-       8125, 1625
+       8125, 1625, 1500, 25
 };
 
 static void max98090_configure_bclk(struct snd_soc_codec *codec)
This page took 0.076818 seconds and 4 git commands to generate.