Blackfin arch: Fix bug - set corret SSEL and IRQ to enable AD7877 on BF527
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>
This commit is contained in:
parent
ca56d9aaf2
commit
2eb74ae20e
|
@ -647,10 +647,10 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
|
||||||
{
|
{
|
||||||
.modalias = "ad7877",
|
.modalias = "ad7877",
|
||||||
.platform_data = &bfin_ad7877_ts_info,
|
.platform_data = &bfin_ad7877_ts_info,
|
||||||
.irq = IRQ_PF6,
|
.irq = IRQ_PF8,
|
||||||
.max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
|
.max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
|
||||||
.bus_num = 0,
|
.bus_num = 0,
|
||||||
.chip_select = 1,
|
.chip_select = 2,
|
||||||
.controller_data = &spi_ad7877_chip_info,
|
.controller_data = &spi_ad7877_chip_info,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue