Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | * |
| 4 | * Author: Hanumath Prasad <hanumath.prasad@stericsson.com> |
| 5 | * License terms: GNU General Public License (GPL) version 2 |
| 6 | */ |
| 7 | |
| 8 | #include <linux/kernel.h> |
| 9 | #include <linux/gpio.h> |
| 10 | #include <linux/amba/bus.h> |
| 11 | #include <linux/amba/mmci.h> |
| 12 | #include <linux/mmc/host.h> |
| 13 | #include <linux/platform_device.h> |
| 14 | |
Linus Walleij | 4b4f757 | 2011-02-15 15:01:35 +0100 | [diff] [blame] | 15 | #include <asm/mach-types.h> |
Linus Walleij | 5d7b846 | 2010-10-14 13:57:59 +0200 | [diff] [blame] | 16 | #include <plat/ste_dma40.h> |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 17 | #include <mach/devices.h> |
| 18 | #include <mach/hardware.h> |
| 19 | |
Rabin Vincent | fbf1ead | 2010-09-29 19:46:32 +0530 | [diff] [blame] | 20 | #include "devices-db8500.h" |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 21 | #include "board-mop500.h" |
Linus Walleij | 5d7b846 | 2010-10-14 13:57:59 +0200 | [diff] [blame] | 22 | #include "ste-dma40-db8500.h" |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 23 | |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 24 | /* |
Linus Walleij | c15def1 | 2011-12-15 13:38:40 +0100 | [diff] [blame] | 25 | * v2 has a new version of this block that need to be forced, the number found |
| 26 | * in hardware is incorrect |
| 27 | */ |
| 28 | #define U8500_SDI_V2_PERIPHID 0x10480180 |
| 29 | |
| 30 | /* |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 31 | * SDI 0 (MicroSD slot) |
| 32 | */ |
| 33 | |
Linus Walleij | f727a05 | 2011-04-27 12:55:37 +0200 | [diff] [blame] | 34 | /* GPIO pins used by the sdi0 level shifter */ |
| 35 | static int sdi0_en = -1; |
| 36 | static int sdi0_vsel = -1; |
| 37 | |
Ulf Hansson | bc52181 | 2011-12-13 16:57:55 +0100 | [diff] [blame] | 38 | static int mop500_sdi0_ios_handler(struct device *dev, struct mmc_ios *ios) |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 39 | { |
Ulf Hansson | bc52181 | 2011-12-13 16:57:55 +0100 | [diff] [blame] | 40 | switch (ios->power_mode) { |
Linus Walleij | f727a05 | 2011-04-27 12:55:37 +0200 | [diff] [blame] | 41 | case MMC_POWER_UP: |
| 42 | case MMC_POWER_ON: |
| 43 | /* |
| 44 | * Level shifter voltage should depend on vdd to when deciding |
| 45 | * on either 1.8V or 2.9V. Once the decision has been made the |
| 46 | * level shifter must be disabled and re-enabled with a changed |
| 47 | * select signal in order to switch the voltage. Since there is |
| 48 | * no framework support yet for indicating 1.8V in vdd, use the |
| 49 | * default 2.9V. |
| 50 | */ |
| 51 | gpio_direction_output(sdi0_vsel, 0); |
| 52 | gpio_direction_output(sdi0_en, 1); |
| 53 | break; |
| 54 | case MMC_POWER_OFF: |
| 55 | gpio_direction_output(sdi0_vsel, 0); |
| 56 | gpio_direction_output(sdi0_en, 0); |
| 57 | break; |
| 58 | } |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 59 | |
Ulf Hansson | bc52181 | 2011-12-13 16:57:55 +0100 | [diff] [blame] | 60 | return 0; |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 61 | } |
| 62 | |
Linus Walleij | 5d7b846 | 2010-10-14 13:57:59 +0200 | [diff] [blame] | 63 | #ifdef CONFIG_STE_DMA40 |
| 64 | struct stedma40_chan_cfg mop500_sdi0_dma_cfg_rx = { |
| 65 | .mode = STEDMA40_MODE_LOGICAL, |
| 66 | .dir = STEDMA40_PERIPH_TO_MEM, |
| 67 | .src_dev_type = DB8500_DMA_DEV29_SD_MM0_RX, |
| 68 | .dst_dev_type = STEDMA40_DEV_DST_MEMORY, |
| 69 | .src_info.data_width = STEDMA40_WORD_WIDTH, |
| 70 | .dst_info.data_width = STEDMA40_WORD_WIDTH, |
| 71 | }; |
| 72 | |
| 73 | static struct stedma40_chan_cfg mop500_sdi0_dma_cfg_tx = { |
| 74 | .mode = STEDMA40_MODE_LOGICAL, |
| 75 | .dir = STEDMA40_MEM_TO_PERIPH, |
| 76 | .src_dev_type = STEDMA40_DEV_SRC_MEMORY, |
| 77 | .dst_dev_type = DB8500_DMA_DEV29_SD_MM0_TX, |
| 78 | .src_info.data_width = STEDMA40_WORD_WIDTH, |
| 79 | .dst_info.data_width = STEDMA40_WORD_WIDTH, |
| 80 | }; |
| 81 | #endif |
| 82 | |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 83 | static struct mmci_platform_data mop500_sdi0_data = { |
Ulf Hansson | bc52181 | 2011-12-13 16:57:55 +0100 | [diff] [blame] | 84 | .ios_handler = mop500_sdi0_ios_handler, |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 85 | .ocr_mask = MMC_VDD_29_30, |
Linus Walleij | 02a7343 | 2011-03-30 16:00:39 +0200 | [diff] [blame] | 86 | .f_max = 50000000, |
| 87 | .capabilities = MMC_CAP_4_BIT_DATA | |
| 88 | MMC_CAP_SD_HIGHSPEED | |
| 89 | MMC_CAP_MMC_HIGHSPEED, |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 90 | .gpio_wp = -1, |
Ulf Hansson | bc52181 | 2011-12-13 16:57:55 +0100 | [diff] [blame] | 91 | .sigdir = MCI_ST_FBCLKEN | |
| 92 | MCI_ST_CMDDIREN | |
| 93 | MCI_ST_DATA0DIREN | |
| 94 | MCI_ST_DATA2DIREN, |
Linus Walleij | 5d7b846 | 2010-10-14 13:57:59 +0200 | [diff] [blame] | 95 | #ifdef CONFIG_STE_DMA40 |
| 96 | .dma_filter = stedma40_filter, |
| 97 | .dma_rx_param = &mop500_sdi0_dma_cfg_rx, |
| 98 | .dma_tx_param = &mop500_sdi0_dma_cfg_tx, |
| 99 | #endif |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 100 | }; |
| 101 | |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 102 | static void sdi0_configure(struct device *parent) |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 103 | { |
| 104 | int ret; |
| 105 | |
Linus Walleij | 4b4f757 | 2011-02-15 15:01:35 +0100 | [diff] [blame] | 106 | ret = gpio_request(sdi0_en, "level shifter enable"); |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 107 | if (!ret) |
Linus Walleij | 4b4f757 | 2011-02-15 15:01:35 +0100 | [diff] [blame] | 108 | ret = gpio_request(sdi0_vsel, |
| 109 | "level shifter 1v8-3v select"); |
| 110 | |
| 111 | if (ret) { |
| 112 | pr_warning("unable to config sdi0 gpios for level shifter.\n"); |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 113 | return; |
Linus Walleij | 4b4f757 | 2011-02-15 15:01:35 +0100 | [diff] [blame] | 114 | } |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 115 | |
Linus Walleij | 4b4f757 | 2011-02-15 15:01:35 +0100 | [diff] [blame] | 116 | /* Select the default 2.9V and enable level shifter */ |
| 117 | gpio_direction_output(sdi0_vsel, 0); |
| 118 | gpio_direction_output(sdi0_en, 1); |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 119 | |
Linus Walleij | 7293031 | 2011-03-24 16:13:13 +0100 | [diff] [blame] | 120 | /* Add the device, force v2 to subrevision 1 */ |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 121 | db8500_add_sdi0(parent, &mop500_sdi0_data, U8500_SDI_V2_PERIPHID); |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 122 | } |
| 123 | |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 124 | void mop500_sdi_tc35892_init(struct device *parent) |
Linus Walleij | 4b4f757 | 2011-02-15 15:01:35 +0100 | [diff] [blame] | 125 | { |
| 126 | mop500_sdi0_data.gpio_cd = GPIO_SDMMC_CD; |
| 127 | sdi0_en = GPIO_SDMMC_EN; |
| 128 | sdi0_vsel = GPIO_SDMMC_1V8_3V_SEL; |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 129 | sdi0_configure(parent); |
Linus Walleij | 4b4f757 | 2011-02-15 15:01:35 +0100 | [diff] [blame] | 130 | } |
| 131 | |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 132 | /* |
Stefan Nilsson XK | 76d6717 | 2011-10-26 10:50:42 +0200 | [diff] [blame] | 133 | * SDI1 (SDIO WLAN) |
| 134 | */ |
| 135 | #ifdef CONFIG_STE_DMA40 |
| 136 | static struct stedma40_chan_cfg sdi1_dma_cfg_rx = { |
| 137 | .mode = STEDMA40_MODE_LOGICAL, |
| 138 | .dir = STEDMA40_PERIPH_TO_MEM, |
| 139 | .src_dev_type = DB8500_DMA_DEV32_SD_MM1_RX, |
| 140 | .dst_dev_type = STEDMA40_DEV_DST_MEMORY, |
| 141 | .src_info.data_width = STEDMA40_WORD_WIDTH, |
| 142 | .dst_info.data_width = STEDMA40_WORD_WIDTH, |
| 143 | }; |
| 144 | |
| 145 | static struct stedma40_chan_cfg sdi1_dma_cfg_tx = { |
| 146 | .mode = STEDMA40_MODE_LOGICAL, |
| 147 | .dir = STEDMA40_MEM_TO_PERIPH, |
| 148 | .src_dev_type = STEDMA40_DEV_SRC_MEMORY, |
| 149 | .dst_dev_type = DB8500_DMA_DEV32_SD_MM1_TX, |
| 150 | .src_info.data_width = STEDMA40_WORD_WIDTH, |
| 151 | .dst_info.data_width = STEDMA40_WORD_WIDTH, |
| 152 | }; |
| 153 | #endif |
| 154 | |
| 155 | static struct mmci_platform_data mop500_sdi1_data = { |
| 156 | .ocr_mask = MMC_VDD_29_30, |
| 157 | .f_max = 50000000, |
| 158 | .capabilities = MMC_CAP_4_BIT_DATA, |
| 159 | .gpio_cd = -1, |
| 160 | .gpio_wp = -1, |
| 161 | #ifdef CONFIG_STE_DMA40 |
| 162 | .dma_filter = stedma40_filter, |
| 163 | .dma_rx_param = &sdi1_dma_cfg_rx, |
| 164 | .dma_tx_param = &sdi1_dma_cfg_tx, |
| 165 | #endif |
| 166 | }; |
| 167 | |
| 168 | /* |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 169 | * SDI 2 (POP eMMC, not on DB8500ed) |
| 170 | */ |
| 171 | |
Linus Walleij | 5d7b846 | 2010-10-14 13:57:59 +0200 | [diff] [blame] | 172 | #ifdef CONFIG_STE_DMA40 |
| 173 | struct stedma40_chan_cfg mop500_sdi2_dma_cfg_rx = { |
| 174 | .mode = STEDMA40_MODE_LOGICAL, |
| 175 | .dir = STEDMA40_PERIPH_TO_MEM, |
| 176 | .src_dev_type = DB8500_DMA_DEV28_SD_MM2_RX, |
| 177 | .dst_dev_type = STEDMA40_DEV_DST_MEMORY, |
| 178 | .src_info.data_width = STEDMA40_WORD_WIDTH, |
| 179 | .dst_info.data_width = STEDMA40_WORD_WIDTH, |
| 180 | }; |
| 181 | |
| 182 | static struct stedma40_chan_cfg mop500_sdi2_dma_cfg_tx = { |
| 183 | .mode = STEDMA40_MODE_LOGICAL, |
| 184 | .dir = STEDMA40_MEM_TO_PERIPH, |
| 185 | .src_dev_type = STEDMA40_DEV_SRC_MEMORY, |
| 186 | .dst_dev_type = DB8500_DMA_DEV28_SD_MM2_TX, |
| 187 | .src_info.data_width = STEDMA40_WORD_WIDTH, |
| 188 | .dst_info.data_width = STEDMA40_WORD_WIDTH, |
| 189 | }; |
| 190 | #endif |
| 191 | |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 192 | static struct mmci_platform_data mop500_sdi2_data = { |
| 193 | .ocr_mask = MMC_VDD_165_195, |
Linus Walleij | 02a7343 | 2011-03-30 16:00:39 +0200 | [diff] [blame] | 194 | .f_max = 50000000, |
Linus Walleij | c15def1 | 2011-12-15 13:38:40 +0100 | [diff] [blame] | 195 | .capabilities = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA | |
| 196 | MMC_CAP_MMC_HIGHSPEED, |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 197 | .gpio_cd = -1, |
| 198 | .gpio_wp = -1, |
Linus Walleij | 5d7b846 | 2010-10-14 13:57:59 +0200 | [diff] [blame] | 199 | #ifdef CONFIG_STE_DMA40 |
| 200 | .dma_filter = stedma40_filter, |
| 201 | .dma_rx_param = &mop500_sdi2_dma_cfg_rx, |
| 202 | .dma_tx_param = &mop500_sdi2_dma_cfg_tx, |
| 203 | #endif |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 204 | }; |
| 205 | |
| 206 | /* |
| 207 | * SDI 4 (on-board eMMC) |
| 208 | */ |
| 209 | |
Linus Walleij | 5d7b846 | 2010-10-14 13:57:59 +0200 | [diff] [blame] | 210 | #ifdef CONFIG_STE_DMA40 |
| 211 | struct stedma40_chan_cfg mop500_sdi4_dma_cfg_rx = { |
| 212 | .mode = STEDMA40_MODE_LOGICAL, |
| 213 | .dir = STEDMA40_PERIPH_TO_MEM, |
| 214 | .src_dev_type = DB8500_DMA_DEV42_SD_MM4_RX, |
| 215 | .dst_dev_type = STEDMA40_DEV_DST_MEMORY, |
| 216 | .src_info.data_width = STEDMA40_WORD_WIDTH, |
| 217 | .dst_info.data_width = STEDMA40_WORD_WIDTH, |
| 218 | }; |
| 219 | |
| 220 | static struct stedma40_chan_cfg mop500_sdi4_dma_cfg_tx = { |
| 221 | .mode = STEDMA40_MODE_LOGICAL, |
| 222 | .dir = STEDMA40_MEM_TO_PERIPH, |
| 223 | .src_dev_type = STEDMA40_DEV_SRC_MEMORY, |
| 224 | .dst_dev_type = DB8500_DMA_DEV42_SD_MM4_TX, |
| 225 | .src_info.data_width = STEDMA40_WORD_WIDTH, |
| 226 | .dst_info.data_width = STEDMA40_WORD_WIDTH, |
| 227 | }; |
| 228 | #endif |
| 229 | |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 230 | static struct mmci_platform_data mop500_sdi4_data = { |
| 231 | .ocr_mask = MMC_VDD_29_30, |
Linus Walleij | 02a7343 | 2011-03-30 16:00:39 +0200 | [diff] [blame] | 232 | .f_max = 50000000, |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 233 | .capabilities = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA | |
| 234 | MMC_CAP_MMC_HIGHSPEED, |
| 235 | .gpio_cd = -1, |
| 236 | .gpio_wp = -1, |
Linus Walleij | 5d7b846 | 2010-10-14 13:57:59 +0200 | [diff] [blame] | 237 | #ifdef CONFIG_STE_DMA40 |
| 238 | .dma_filter = stedma40_filter, |
| 239 | .dma_rx_param = &mop500_sdi4_dma_cfg_rx, |
| 240 | .dma_tx_param = &mop500_sdi4_dma_cfg_tx, |
| 241 | #endif |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 242 | }; |
| 243 | |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 244 | void __init mop500_sdi_init(struct device *parent) |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 245 | { |
Linus Walleij | c15def1 | 2011-12-15 13:38:40 +0100 | [diff] [blame] | 246 | /* PoP:ed eMMC */ |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 247 | db8500_add_sdi2(parent, &mop500_sdi2_data, U8500_SDI_V2_PERIPHID); |
Bibek Basu | 4bc3a69 | 2011-02-15 10:46:59 +0100 | [diff] [blame] | 248 | /* On-board eMMC */ |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 249 | db8500_add_sdi4(parent, &mop500_sdi4_data, U8500_SDI_V2_PERIPHID); |
| 250 | |
Linus Walleij | edaa86a | 2010-12-02 12:05:18 +0100 | [diff] [blame] | 251 | /* |
Linus Walleij | 4b4f757 | 2011-02-15 15:01:35 +0100 | [diff] [blame] | 252 | * On boards with the TC35892 GPIO expander, sdi0 will finally |
| 253 | * be added when the TC35892 initializes and calls |
Linus Walleij | edaa86a | 2010-12-02 12:05:18 +0100 | [diff] [blame] | 254 | * mop500_sdi_tc35892_init() above. |
| 255 | */ |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 256 | } |
Lee Jones | 110c2c2 | 2011-08-26 16:54:07 +0100 | [diff] [blame] | 257 | |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 258 | void __init snowball_sdi_init(struct device *parent) |
Lee Jones | 110c2c2 | 2011-08-26 16:54:07 +0100 | [diff] [blame] | 259 | { |
Philippe Langlais | 2ab1159 | 2012-01-20 09:20:40 +0100 | [diff] [blame] | 260 | /* On Snowball MMC_CAP_SD_HIGHSPEED isn't supported (Hardware issue?) */ |
| 261 | mop500_sdi0_data.capabilities &= ~MMC_CAP_SD_HIGHSPEED; |
Lee Jones | 110c2c2 | 2011-08-26 16:54:07 +0100 | [diff] [blame] | 262 | /* On-board eMMC */ |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 263 | db8500_add_sdi4(parent, &mop500_sdi4_data, U8500_SDI_V2_PERIPHID); |
Linus Walleij | c15def1 | 2011-12-15 13:38:40 +0100 | [diff] [blame] | 264 | /* External Micro SD slot */ |
Lee Jones | 110c2c2 | 2011-08-26 16:54:07 +0100 | [diff] [blame] | 265 | mop500_sdi0_data.gpio_cd = SNOWBALL_SDMMC_CD_GPIO; |
| 266 | mop500_sdi0_data.cd_invert = true; |
| 267 | sdi0_en = SNOWBALL_SDMMC_EN_GPIO; |
| 268 | sdi0_vsel = SNOWBALL_SDMMC_1V8_3V_GPIO; |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 269 | sdi0_configure(parent); |
Lee Jones | 110c2c2 | 2011-08-26 16:54:07 +0100 | [diff] [blame] | 270 | } |
| 271 | |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 272 | void __init hrefv60_sdi_init(struct device *parent) |
Lee Jones | 110c2c2 | 2011-08-26 16:54:07 +0100 | [diff] [blame] | 273 | { |
Linus Walleij | c15def1 | 2011-12-15 13:38:40 +0100 | [diff] [blame] | 274 | /* PoP:ed eMMC */ |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 275 | db8500_add_sdi2(parent, &mop500_sdi2_data, U8500_SDI_V2_PERIPHID); |
Lee Jones | 110c2c2 | 2011-08-26 16:54:07 +0100 | [diff] [blame] | 276 | /* On-board eMMC */ |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 277 | db8500_add_sdi4(parent, &mop500_sdi4_data, U8500_SDI_V2_PERIPHID); |
Linus Walleij | c15def1 | 2011-12-15 13:38:40 +0100 | [diff] [blame] | 278 | /* External Micro SD slot */ |
Lee Jones | 110c2c2 | 2011-08-26 16:54:07 +0100 | [diff] [blame] | 279 | mop500_sdi0_data.gpio_cd = HREFV60_SDMMC_CD_GPIO; |
| 280 | sdi0_en = HREFV60_SDMMC_EN_GPIO; |
| 281 | sdi0_vsel = HREFV60_SDMMC_1V8_3V_GPIO; |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 282 | sdi0_configure(parent); |
Linus Walleij | c15def1 | 2011-12-15 13:38:40 +0100 | [diff] [blame] | 283 | /* WLAN SDIO channel */ |
Lee Jones | 1840342 | 2012-02-06 11:22:21 -0800 | [diff] [blame] | 284 | db8500_add_sdi1(parent, &mop500_sdi1_data, U8500_SDI_V2_PERIPHID); |
Lee Jones | 110c2c2 | 2011-08-26 16:54:07 +0100 | [diff] [blame] | 285 | } |