summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-26 16:01:37 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-27 10:36:34 +0000
commit38113360f03c0834135c89e43d0fe307b04aca08 (patch)
tree1160f5daebbf2e70d47c16b4b8ccf524cf57d5ba /sound/soc/codecs/arizona.c
parent4cbc365509560086faca950d69bd89fc956033b3 (diff)
downloadblackbird-op-linux-38113360f03c0834135c89e43d0fe307b04aca08.tar.gz
blackbird-op-linux-38113360f03c0834135c89e43d0fe307b04aca08.zip
ASoC: arizona: Support higher clock rates
Some devices support higher clock rates, allow users to select these. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
-rw-r--r--sound/soc/codecs/arizona.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index c03b65af3059..500e6cb462d8 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -380,6 +380,18 @@ int arizona_set_sysclk(struct snd_soc_codec *codec, int clk_id,
case 49152000:
val |= 3 << ARIZONA_SYSCLK_FREQ_SHIFT;
break;
+ case 67737600:
+ case 73728000:
+ val |= 4 << ARIZONA_SYSCLK_FREQ_SHIFT;
+ break;
+ case 90316800:
+ case 98304000:
+ val |= 5 << ARIZONA_SYSCLK_FREQ_SHIFT;
+ break;
+ case 135475200:
+ case 147456000:
+ val |= 6 << ARIZONA_SYSCLK_FREQ_SHIFT;
+ break;
default:
return -EINVAL;
}
OpenPOWER on IntegriCloud