aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-03-08 03:40:08 -0500
committerLiam Girdwood <lrg@ti.com>2012-03-12 09:34:23 -0400
commit33cec399048545c64d9b9a1368b968acee8acb35 (patch)
tree3933414fd36ccc90a7da1ef45844ff65a81559fc /sound/soc/omap
parent40c0764b18342f2e99e92779330cb4612a971420 (diff)
ARM/ASoC: OMAP McBSP: Move remainig defines from arch to ASoC header
Clock signal muxing, and functional clock related defines are only needed in ASoC drivers. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Acked-by: Mark Brown <broonoie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r--sound/soc/omap/mcbsp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/omap/mcbsp.h b/sound/soc/omap/mcbsp.h
index a5518d71913f..acc94700f5b7 100644
--- a/sound/soc/omap/mcbsp.h
+++ b/sound/soc/omap/mcbsp.h
@@ -230,6 +230,18 @@ enum {
230#define XRDYEN BIT(10) 230#define XRDYEN BIT(10)
231#define XEMPTYEOFEN BIT(14) 231#define XEMPTYEOFEN BIT(14)
232 232
233/* CLKR signal muxing options */
234#define CLKR_SRC_CLKR 0
235#define CLKR_SRC_CLKX 1
236
237/* FSR signal muxing options */
238#define FSR_SRC_FSR 0
239#define FSR_SRC_FSX 1
240
241/* McBSP functional clock sources */
242#define MCBSP_CLKS_PRCM_SRC 0
243#define MCBSP_CLKS_PAD_SRC 1
244
233/* we don't do multichannel for now */ 245/* we don't do multichannel for now */
234struct omap_mcbsp_reg_cfg { 246struct omap_mcbsp_reg_cfg {
235 u16 spcr2; 247 u16 spcr2;