aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/twl4030-codec.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2009-11-04 09:58:19 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-10 12:07:23 +0000
commitf9b4639e045c750e2bad37462476403995508350 (patch)
treead64a6e75caf3733e65e436281abc3824fca62b2 /include/linux/mfd/twl4030-codec.h
parentOMAP: Configure audio_mclk for twl4030-codec MFD (diff)
downloadlinux-dev-f9b4639e045c750e2bad37462476403995508350.tar.xz
linux-dev-f9b4639e045c750e2bad37462476403995508350.zip
MFD: twl4030-codec: APLL_INFREQ handling in the MFD driver
Configure the APLL_INFREQ field in the APLL_CTL register based on the platform data. Provide also a function for childs to query the audio_mclk frequency. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd/twl4030-codec.h')
-rw-r--r--include/linux/mfd/twl4030-codec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/twl4030-codec.h b/include/linux/mfd/twl4030-codec.h
index ef0a3041d759..2ec317c68e59 100644
--- a/include/linux/mfd/twl4030-codec.h
+++ b/include/linux/mfd/twl4030-codec.h
@@ -267,5 +267,6 @@ enum twl4030_codec_res {
int twl4030_codec_disable_resource(enum twl4030_codec_res id);
int twl4030_codec_enable_resource(enum twl4030_codec_res id);
+unsigned int twl4030_codec_get_mclk(void);
#endif /* End of __TWL4030_CODEC_H__ */