8 #include <linux/kernel.h>
17 #include <mach/devices.h>
18 #include <mach/hardware.h>
28 #define U8500_SDI_V2_PERIPHID 0x10480180
35 static int sdi0_en = -1;
36 static int sdi0_vsel = -1;
63 #ifdef CONFIG_STE_DMA40
84 .ios_handler = mop500_sdi0_ios_handler,
95 #ifdef CONFIG_STE_DMA40
97 .dma_rx_param = &mop500_sdi0_dma_cfg_rx,
98 .dma_tx_param = &mop500_sdi0_dma_cfg_tx,
102 static void sdi0_configure(
struct device *parent)
109 "level shifter 1v8-3v select");
112 pr_warning(
"unable to config sdi0 gpios for level shifter.\n");
129 sdi0_configure(parent);
135 #ifdef CONFIG_STE_DMA40
161 #ifdef CONFIG_STE_DMA40
163 .dma_rx_param = &sdi1_dma_cfg_rx,
164 .dma_tx_param = &sdi1_dma_cfg_tx,
172 #ifdef CONFIG_STE_DMA40
199 #ifdef CONFIG_STE_DMA40
201 .dma_rx_param = &mop500_sdi2_dma_cfg_rx,
202 .dma_tx_param = &mop500_sdi2_dma_cfg_tx,
210 #ifdef CONFIG_STE_DMA40
237 #ifdef CONFIG_STE_DMA40
239 .dma_rx_param = &mop500_sdi4_dma_cfg_rx,
240 .dma_tx_param = &mop500_sdi4_dma_cfg_tx,
269 sdi0_configure(parent);
282 sdi0_configure(parent);