0001
0002
0003
0004
0005
0006
0007
0008 #ifndef __ASOC_TI_MCBSP_H
0009 #define __ASOC_TI_MCBSP_H
0010
0011 #include <linux/spinlock.h>
0012 #include <linux/clk.h>
0013
0014
0015 struct omap_mcbsp_ops {
0016 void (*request)(unsigned int);
0017 void (*free)(unsigned int);
0018 };
0019
0020 struct omap_mcbsp_platform_data {
0021 struct omap_mcbsp_ops *ops;
0022 u16 buffer_size;
0023 u8 reg_size;
0024 u8 reg_step;
0025
0026
0027 bool has_wakeup;
0028 bool has_ccr;
0029 int (*force_ick_on)(struct clk *clk, bool force_on);
0030 };
0031
0032 void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data *pdata);
0033
0034 #endif