diff options
Diffstat (limited to 'sound/soc/fsl/fsl_sai.h')
-rw-r--r-- | sound/soc/fsl/fsl_sai.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h index 0e6c9f595d75..34667209b607 100644 --- a/sound/soc/fsl/fsl_sai.h +++ b/sound/soc/fsl/fsl_sai.h | |||
@@ -48,6 +48,7 @@ | |||
48 | /* SAI Transmit/Recieve Control Register */ | 48 | /* SAI Transmit/Recieve Control Register */ |
49 | #define FSL_SAI_CSR_TERE BIT(31) | 49 | #define FSL_SAI_CSR_TERE BIT(31) |
50 | #define FSL_SAI_CSR_FR BIT(25) | 50 | #define FSL_SAI_CSR_FR BIT(25) |
51 | #define FSL_SAI_CSR_SR BIT(24) | ||
51 | #define FSL_SAI_CSR_xF_SHIFT 16 | 52 | #define FSL_SAI_CSR_xF_SHIFT 16 |
52 | #define FSL_SAI_CSR_xF_W_SHIFT 18 | 53 | #define FSL_SAI_CSR_xF_W_SHIFT 18 |
53 | #define FSL_SAI_CSR_xF_MASK (0x1f << FSL_SAI_CSR_xF_SHIFT) | 54 | #define FSL_SAI_CSR_xF_MASK (0x1f << FSL_SAI_CSR_xF_SHIFT) |
@@ -131,13 +132,16 @@ struct fsl_sai { | |||
131 | struct clk *bus_clk; | 132 | struct clk *bus_clk; |
132 | struct clk *mclk_clk[FSL_SAI_MCLK_MAX]; | 133 | struct clk *mclk_clk[FSL_SAI_MCLK_MAX]; |
133 | 134 | ||
134 | bool big_endian_regs; | 135 | bool is_lsb_first; |
135 | bool big_endian_data; | ||
136 | bool is_dsp_mode; | 136 | bool is_dsp_mode; |
137 | bool sai_on_imx; | 137 | bool sai_on_imx; |
138 | bool synchronous[2]; | ||
138 | 139 | ||
139 | struct snd_dmaengine_dai_dma_data dma_params_rx; | 140 | struct snd_dmaengine_dai_dma_data dma_params_rx; |
140 | struct snd_dmaengine_dai_dma_data dma_params_tx; | 141 | struct snd_dmaengine_dai_dma_data dma_params_tx; |
141 | }; | 142 | }; |
142 | 143 | ||
144 | #define TX 1 | ||
145 | #define RX 0 | ||
146 | |||
143 | #endif /* __FSL_SAI_H */ | 147 | #endif /* __FSL_SAI_H */ |