Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2eb74ae2 authored by Bryan Wu's avatar Bryan Wu
Browse files

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: default avatarBryan Wu <cooloney@kernel.org>
parent ca56d9aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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