|
@@ -18,11 +18,6 @@
|
|
#ifndef DAVINCI_MCASP_H
|
|
#ifndef DAVINCI_MCASP_H
|
|
#define DAVINCI_MCASP_H
|
|
#define DAVINCI_MCASP_H
|
|
|
|
|
|
-#include <linux/io.h>
|
|
|
|
-#include <linux/platform_data/davinci_asp.h>
|
|
|
|
-
|
|
|
|
-#include "davinci-pcm.h"
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* McASP register definitions
|
|
* McASP register definitions
|
|
*/
|
|
*/
|
|
@@ -290,34 +285,4 @@
|
|
#define NUMEVT_MASK (0xFF << 8)
|
|
#define NUMEVT_MASK (0xFF << 8)
|
|
#define NUMDMA_MASK (0xFF)
|
|
#define NUMDMA_MASK (0xFF)
|
|
|
|
|
|
-struct davinci_audio_dev {
|
|
|
|
- struct davinci_pcm_dma_params dma_params[2];
|
|
|
|
- void __iomem *base;
|
|
|
|
- struct device *dev;
|
|
|
|
-
|
|
|
|
- /* McASP specific data */
|
|
|
|
- int tdm_slots;
|
|
|
|
- u8 op_mode;
|
|
|
|
- u8 num_serializer;
|
|
|
|
- u8 *serial_dir;
|
|
|
|
- u8 version;
|
|
|
|
- u16 bclk_lrclk_ratio;
|
|
|
|
-
|
|
|
|
- /* McASP FIFO related */
|
|
|
|
- u8 txnumevt;
|
|
|
|
- u8 rxnumevt;
|
|
|
|
-
|
|
|
|
-#ifdef CONFIG_PM_SLEEP
|
|
|
|
- struct {
|
|
|
|
- u32 txfmtctl;
|
|
|
|
- u32 rxfmtctl;
|
|
|
|
- u32 txfmt;
|
|
|
|
- u32 rxfmt;
|
|
|
|
- u32 aclkxctl;
|
|
|
|
- u32 aclkrctl;
|
|
|
|
- u32 pdir;
|
|
|
|
- } context;
|
|
|
|
-#endif
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
#endif /* DAVINCI_MCASP_H */
|
|
#endif /* DAVINCI_MCASP_H */
|