summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/arizona.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-02-20 17:28:40 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-04 11:01:00 +0800
commitee929a9780605f21ad67a1ccb626baa41e038c1a (patch)
tree7f46c9218a20210e1fa8988d723af3c5ba90c0b2 /sound/soc/codecs/arizona.h
parentde1e6eedddeab2fa417c38c231d896198f903129 (diff)
downloadop-kernel-dev-ee929a9780605f21ad67a1ccb626baa41e038c1a.zip
op-kernel-dev-ee929a9780605f21ad67a1ccb626baa41e038c1a.tar.gz
ASoC: arizona: Add support for directly setting the FLL REFCLK
This patch allows the REFCLK to be set directly allowing much greater flexibility in how the FLLs are configured. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/arizona.h')
-rw-r--r--sound/soc/codecs/arizona.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.h b/sound/soc/codecs/arizona.h
index bedf12a..f2ca41f 100644
--- a/sound/soc/codecs/arizona.h
+++ b/sound/soc/codecs/arizona.h
@@ -211,6 +211,8 @@ struct arizona_fll {
extern int arizona_init_fll(struct arizona *arizona, int id, int base,
int lock_irq, int ok_irq, struct arizona_fll *fll);
+extern int arizona_set_fll_refclk(struct arizona_fll *fll, int source,
+ unsigned int Fref, unsigned int Fout);
extern int arizona_set_fll(struct arizona_fll *fll, int source,
unsigned int Fref, unsigned int Fout);
OpenPOWER on IntegriCloud