aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r--arch/arm/mach-davinci/include/mach/asp.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/asp.h b/arch/arm/mach-davinci/include/mach/asp.h
index 834725f1e81d..0847d2144f1f 100644
--- a/arch/arm/mach-davinci/include/mach/asp.h
+++ b/arch/arm/mach-davinci/include/mach/asp.h
@@ -63,6 +63,16 @@ struct snd_platform_data {
63 unsigned sram_size_playback; 63 unsigned sram_size_playback;
64 unsigned sram_size_capture; 64 unsigned sram_size_capture;
65 65
66 /*
67 * If McBSP peripheral gets the clock from an external pin,
68 * there are three chooses, that are MCBSP_CLKX, MCBSP_CLKR
69 * and MCBSP_CLKS.
70 * Depending on different hardware connections it is possible
71 * to use this setting to change the behaviour of McBSP
72 * driver. The dm365_clk_input_pin enum is available for dm365
73 */
74 int clk_input_pin;
75
66 /* McASP specific fields */ 76 /* McASP specific fields */
67 int tdm_slots; 77 int tdm_slots;
68 u8 op_mode; 78 u8 op_mode;
@@ -78,6 +88,11 @@ enum {
78 MCASP_VERSION_2, /* DA8xx/OMAPL1x */ 88 MCASP_VERSION_2, /* DA8xx/OMAPL1x */
79}; 89};
80 90
91enum dm365_clk_input_pin {
92 MCBSP_CLKR = 0, /* DM365 */
93 MCBSP_CLKS,
94};
95
81#define INACTIVE_MODE 0 96#define INACTIVE_MODE 0
82#define TX_MODE 1 97#define TX_MODE 1
83#define RX_MODE 2 98#define RX_MODE 2