diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/mxs-spi.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/spi/mxs-spi.h b/include/linux/spi/mxs-spi.h index d07f8dc7fdd9..61ae1306db23 100644 --- a/include/linux/spi/mxs-spi.h +++ b/include/linux/spi/mxs-spi.h | |||
@@ -24,6 +24,8 @@ | |||
24 | #ifndef __LINUX_SPI_MXS_SPI_H__ | 24 | #ifndef __LINUX_SPI_MXS_SPI_H__ |
25 | #define __LINUX_SPI_MXS_SPI_H__ | 25 | #define __LINUX_SPI_MXS_SPI_H__ |
26 | 26 | ||
27 | #include <linux/fsl/mxs-dma.h> | ||
28 | |||
27 | #define ssp_is_old(host) ((host)->devid == IMX23_SSP) | 29 | #define ssp_is_old(host) ((host)->devid == IMX23_SSP) |
28 | 30 | ||
29 | /* SSP registers */ | 31 | /* SSP registers */ |
@@ -134,6 +136,13 @@ struct mxs_ssp { | |||
134 | struct clk *clk; | 136 | struct clk *clk; |
135 | unsigned int clk_rate; | 137 | unsigned int clk_rate; |
136 | enum mxs_ssp_id devid; | 138 | enum mxs_ssp_id devid; |
139 | |||
140 | int dma_channel; | ||
141 | struct dma_chan *dmach; | ||
142 | struct mxs_dma_data dma_data; | ||
143 | unsigned int dma_dir; | ||
144 | enum dma_transfer_direction slave_dirn; | ||
145 | u32 ssp_pio_words[SSP_PIO_NUM]; | ||
137 | }; | 146 | }; |
138 | 147 | ||
139 | void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate); | 148 | void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate); |