summaryrefslogtreecommitdiffstats
path: root/include/sound/tlv320dac33-plat.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>2010-03-11 16:26:22 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-12 11:12:25 +0000
commiteeb309a8a6ff86ce462e072bc95ecbe85618505e (patch)
treeefd7344fd7ee5035835351bf5b552335390afee6 /include/sound/tlv320dac33-plat.h
parentc3746a07f13f8711885fd3909c03477a1b47ab82 (diff)
downloadop-kernel-dev-eeb309a8a6ff86ce462e072bc95ecbe85618505e.zip
op-kernel-dev-eeb309a8a6ff86ce462e072bc95ecbe85618505e.tar.gz
ASoC: tlv320dac33: Add option for keeping the BCLK running
Platform data option for the codec to keep the BCLK clock continuously running in FIFO modes (codec master). OMAP3 McBSP when in slave mode needs continuous BCLK running on the serial bus in order to operate correctly. Since in FIFO mode the DAC33 can also shut down the BCLK clock and enable it only when it is needed, let the platforms decide if the CPU side needs the BCLK running or not. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/tlv320dac33-plat.h')
-rw-r--r--include/sound/tlv320dac33-plat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/tlv320dac33-plat.h b/include/sound/tlv320dac33-plat.h
index ac06652..3f428d5 100644
--- a/include/sound/tlv320dac33-plat.h
+++ b/include/sound/tlv320dac33-plat.h
@@ -15,6 +15,7 @@
struct tlv320dac33_platform_data {
int power_gpio;
+ int keep_bclk; /* Keep the BCLK running in FIFO modes */
u8 burst_bclkdiv;
};
OpenPOWER on IntegriCloud