diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ezkit.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index b67b91d82242..ecd2801f050d 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -210,29 +210,6 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
210 | /* SPI flash chip (m25p64) */ | 210 | /* SPI flash chip (m25p64) */ |
211 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 211 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
212 | .enable_dma = 0, /* use dma transfer with this chip*/ | 212 | .enable_dma = 0, /* use dma transfer with this chip*/ |
213 | .bits_per_word = 8, | ||
214 | }; | ||
215 | #endif | ||
216 | |||
217 | #if defined(CONFIG_BFIN_SPI_ADC) || defined(CONFIG_BFIN_SPI_ADC_MODULE) | ||
218 | /* SPI ADC chip */ | ||
219 | static struct bfin5xx_spi_chip spi_adc_chip_info = { | ||
220 | .enable_dma = 1, /* use dma transfer with this chip*/ | ||
221 | .bits_per_word = 16, | ||
222 | }; | ||
223 | #endif | ||
224 | |||
225 | #if defined(CONFIG_SND_BF5XX_SOC_AD183X) || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE) | ||
226 | static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | ||
227 | .enable_dma = 0, | ||
228 | .bits_per_word = 16, | ||
229 | }; | ||
230 | #endif | ||
231 | |||
232 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | ||
233 | static struct bfin5xx_spi_chip spidev_chip_info = { | ||
234 | .enable_dma = 0, | ||
235 | .bits_per_word = 8, | ||
236 | }; | 213 | }; |
237 | #endif | 214 | #endif |
238 | 215 | ||
@@ -250,24 +227,12 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
250 | }, | 227 | }, |
251 | #endif | 228 | #endif |
252 | 229 | ||
253 | #if defined(CONFIG_BFIN_SPI_ADC) || defined(CONFIG_BFIN_SPI_ADC_MODULE) | ||
254 | { | ||
255 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | ||
256 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | ||
257 | .bus_num = 0, /* Framework bus number */ | ||
258 | .chip_select = 1, /* Framework chip select. */ | ||
259 | .platform_data = NULL, /* No spi_driver specific config */ | ||
260 | .controller_data = &spi_adc_chip_info, | ||
261 | }, | ||
262 | #endif | ||
263 | |||
264 | #if defined(CONFIG_SND_BF5XX_SOC_AD183X) || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE) | 230 | #if defined(CONFIG_SND_BF5XX_SOC_AD183X) || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE) |
265 | { | 231 | { |
266 | .modalias = "ad183x", | 232 | .modalias = "ad183x", |
267 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 233 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
268 | .bus_num = 0, | 234 | .bus_num = 0, |
269 | .chip_select = 4, | 235 | .chip_select = 4, |
270 | .controller_data = &ad1836_spi_chip_info, | ||
271 | }, | 236 | }, |
272 | #endif | 237 | #endif |
273 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | 238 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) |
@@ -276,7 +241,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
276 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 241 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
277 | .bus_num = 0, | 242 | .bus_num = 0, |
278 | .chip_select = 1, | 243 | .chip_select = 1, |
279 | .controller_data = &spidev_chip_info, | ||
280 | }, | 244 | }, |
281 | #endif | 245 | #endif |
282 | }; | 246 | }; |