diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-02-24 23:19:57 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-02-24 23:19:57 -0500 |
commit | 0db5d105cd62055ea7a3b7ddf7b7408ba65a07b9 (patch) | |
tree | 8ad1edad39d4436679e137cc1e9c108f19a39f66 /arch/blackfin/mach-bf537 | |
parent | fe9ec9b9698b95ad21617c1db21eb0d1c040b93d (diff) |
[Blackfin] arch: punt the simple ad5304 spi driver now that the generic spidev driver lets you do it from userspace
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/generic_board.c | 18 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 18 |
2 files changed, 0 insertions, 36 deletions
diff --git a/arch/blackfin/mach-bf537/boards/generic_board.c b/arch/blackfin/mach-bf537/boards/generic_board.c index 8a3397db1d21..c95395ba7bfa 100644 --- a/arch/blackfin/mach-bf537/boards/generic_board.c +++ b/arch/blackfin/mach-bf537/boards/generic_board.c | |||
@@ -371,13 +371,6 @@ static struct bfin5xx_spi_chip spi_si3xxx_chip_info = { | |||
371 | }; | 371 | }; |
372 | #endif | 372 | #endif |
373 | 373 | ||
374 | #if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE) | ||
375 | static struct bfin5xx_spi_chip ad5304_chip_info = { | ||
376 | .enable_dma = 0, | ||
377 | .bits_per_word = 16, | ||
378 | }; | ||
379 | #endif | ||
380 | |||
381 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 374 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
382 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 375 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
383 | .enable_dma = 0, | 376 | .enable_dma = 0, |
@@ -483,17 +476,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
483 | .mode = SPI_MODE_3, | 476 | .mode = SPI_MODE_3, |
484 | }, | 477 | }, |
485 | #endif | 478 | #endif |
486 | #if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE) | ||
487 | { | ||
488 | .modalias = "ad5304_spi", | ||
489 | .max_speed_hz = 1250000, /* max spi clock (SCK) speed in HZ */ | ||
490 | .bus_num = 0, | ||
491 | .chip_select = 2, | ||
492 | .platform_data = NULL, | ||
493 | .controller_data = &ad5304_chip_info, | ||
494 | .mode = SPI_MODE_2, | ||
495 | }, | ||
496 | #endif | ||
497 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 479 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
498 | { | 480 | { |
499 | .modalias = "ad7877", | 481 | .modalias = "ad7877", |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 7a5629a0c374..ea83148993da 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -472,13 +472,6 @@ static struct bfin5xx_spi_chip spi_si3xxx_chip_info = { | |||
472 | }; | 472 | }; |
473 | #endif | 473 | #endif |
474 | 474 | ||
475 | #if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE) | ||
476 | static struct bfin5xx_spi_chip ad5304_chip_info = { | ||
477 | .enable_dma = 0, | ||
478 | .bits_per_word = 16, | ||
479 | }; | ||
480 | #endif | ||
481 | |||
482 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 475 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
483 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 476 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
484 | .enable_dma = 0, | 477 | .enable_dma = 0, |
@@ -591,17 +584,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
591 | .mode = SPI_MODE_3, | 584 | .mode = SPI_MODE_3, |
592 | }, | 585 | }, |
593 | #endif | 586 | #endif |
594 | #if defined(CONFIG_AD5304) || defined(CONFIG_AD5304_MODULE) | ||
595 | { | ||
596 | .modalias = "ad5304_spi", | ||
597 | .max_speed_hz = 1250000, /* max spi clock (SCK) speed in HZ */ | ||
598 | .bus_num = 0, | ||
599 | .chip_select = 2, | ||
600 | .platform_data = NULL, | ||
601 | .controller_data = &ad5304_chip_info, | ||
602 | .mode = SPI_MODE_2, | ||
603 | }, | ||
604 | #endif | ||
605 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 587 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
606 | { | 588 | { |
607 | .modalias = "ad7877", | 589 | .modalias = "ad7877", |