aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBernd Schmidt <bernds_cb1@t-online.de>2008-04-23 17:19:02 -0400
committerBryan Wu <cooloney@kernel.org>2008-04-23 17:19:02 -0400
commit37fa24212e68e11aee54d4c0d0becb8fc63555c6 (patch)
tree5ffa4976f0404c1b576c74189bab937c3cba085b /arch/blackfin
parent764cb81cdc0620711d2cef5d06e9ef03c9d84184 (diff)
[Blackfin] arch: Allow AD1836A board to be connected, either to SPORT2 or SPORT3.
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf548/boards/ezkit.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index acbfb0fc0289..073bfdd56aa5 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -403,6 +403,14 @@ static struct bfin5xx_spi_chip spi_flash_chip_info = {
403}; 403};
404#endif 404#endif
405 405
406#if defined(CONFIG_SND_BLACKFIN_AD1836) \
407 || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE)
408static struct bfin5xx_spi_chip ad1836_spi_chip_info = {
409 .enable_dma = 0,
410 .bits_per_word = 16,
411};
412#endif
413
406#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) 414#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
407static struct bfin5xx_spi_chip spi_ad7877_chip_info = { 415static struct bfin5xx_spi_chip spi_ad7877_chip_info = {
408 .cs_change_per_word = 0, 416 .cs_change_per_word = 0,
@@ -446,6 +454,16 @@ static struct spi_board_info bf54x_spi_board_info[] __initdata = {
446 .mode = SPI_MODE_3, 454 .mode = SPI_MODE_3,
447 }, 455 },
448#endif 456#endif
457#if defined(CONFIG_SND_BLACKFIN_AD1836) \
458 || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE)
459 {
460 .modalias = "ad1836-spi",
461 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
462 .bus_num = 1,
463 .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT,
464 .controller_data = &ad1836_spi_chip_info,
465 },
466#endif
449#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) 467#if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE)
450{ 468{
451 .modalias = "ad7877", 469 .modalias = "ad7877",