|
From: | Kevin Wells |
Subject: | RE: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel |
Date: | Mon, 9 Aug 2010 19:18:39 +0200 |
Hi Ame, Please add the following change to your ea3250.c file in the
rpm/BUILD/Linux-2.6.34/arch/arm/mach-lpc32xx directory. This worked at one point, so I suspect there is a small difference
between the original board loader and the updated v2 loader with initial pin
states. I’ve added this as a bug in our tracker. This should be
updated in about a week with a new patch once it’s looked at a little more.. Kevin --- ea3250.c.bak 2010-08-09
03:10:01.210875666 -0700 +++ ea3250.c 2010-08-09
03:13:14.284813544 -0700 @@ -56,6 +56,7 @@ #define LCD_CS_GPIO LPC32XX_GPIO(LPC32XX_GPO_P3_GRP,
4) #define LCD_RS_GPIO LPC32XX_GPIO(LPC32XX_GPO_P3_GRP,
5) #define BKL_POW_GPIO LPC32XX_GPIO(LPC32XX_GPO_P3_GRP,
14) +#define SSEL0_GPIO5 LPC32XX_GPIO(LPC32XX_GPIO_P3_GRP, 5) /* * LCD controller functions @@ -311,6 +312,11 @@
fb->fb.fix.smem_len = PANEL_SIZE; fb->panel =
&conn_lcd_panel; + if
(gpio_request(SSEL0_GPIO5, "Unused GPIO5 input")) + return
-EIO; + if(gpio_direction_input(SSEL0_GPIO5)) + return
-EIO; + /* Configure
LCDC RS GPIO pin */ if
(gpio_request(LCD_RS_GPIO, "LCDC RS"))
return -EIO; Subject: RE: [Ltib] EA3250:
Touchscreen not functional with 2.6.34 kernel Hi Ame, Sorry, it does seem broken. I’ll try to get a quick fix
for this in the next day. thanks, Kevin From: Burghardt Arne
[mailto:address@hidden Hi Kevin, |
[Prev in Thread] | Current Thread | [Next in Thread] |