]> err.no Git - linux-2.6/commitdiff
Blackfin arch: Fix bug - set corret SSEL and IRQ to enable AD7877 on BF527
authorBryan Wu <cooloney@kernel.org>
Sat, 31 May 2008 07:17:25 +0000 (15:17 +0800)
committerBryan Wu <cooloney@kernel.org>
Sat, 31 May 2008 07:17:25 +0000 (15:17 +0800)
AD7877 use SSEL_2 (P9.9) and IRQ_PF8 (P9.14) on BF527

 - populating JP3 to enable STAMP
 - disable SW11.2 to disconnect SSEL_2/PF12 from Rotary NAND
 - disable SW18.1 to disconnect SSEL_2 from MAX1233 touchscreen chip

Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-bf527/boards/ezkit.c

index bb6d58c931de648bc6af3347bece976803e6c92f..fa4f4e833e849fbebdeb929186e3d16570f7601c 100644 (file)
@@ -647,10 +647,10 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
        {
                .modalias               = "ad7877",
                .platform_data          = &bfin_ad7877_ts_info,
-               .irq                    = IRQ_PF6,
+               .irq                    = IRQ_PF8,
                .max_speed_hz   = 12500000,     /* max spi clock (SCK) speed in HZ */
                .bus_num        = 0,
-               .chip_select  = 1,
+               .chip_select  = 2,
                .controller_data = &spi_ad7877_chip_info,
        },
 #endif