1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 #ifndef __ASOC_TI_MCBSP_H
   9 #define __ASOC_TI_MCBSP_H
  10 
  11 #include <linux/spinlock.h>
  12 #include <linux/clk.h>
  13 
  14 
  15 struct omap_mcbsp_ops {
  16         void (*request)(unsigned int);
  17         void (*free)(unsigned int);
  18 };
  19 
  20 struct omap_mcbsp_platform_data {
  21         struct omap_mcbsp_ops *ops;
  22         u16 buffer_size;
  23         u8 reg_size;
  24         u8 reg_step;
  25 
  26         
  27         bool has_wakeup; 
  28         bool has_ccr; 
  29         int (*force_ick_on)(struct clk *clk, bool force_on);
  30 };
  31 
  32 void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data *pdata);
  33 
  34 #endif