[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SOLVED: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel
From: |
Burghardt Arne |
Subject: |
SOLVED: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel |
Date: |
Tue, 10 Aug 2010 10:12:42 +0200 |
Hi Kevin,
i have to apologize for my last mail, but your fix works :-)
To be honest, i don't know why, but as long as my touchscreen is working it doesn't matter... ;-)
Again thanks a lot for your help !
Arne
-----Ursprüngliche Nachricht-----
Von: Kevin Wells [mailto:address@hidden]
Gesendet: Mo 09.08.2010 19:18
An: Kevin Wells; Burghardt Arne
Cc: address@hidden
Betreff: RE: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel
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]
Sent: Monday, August 09, 2010 5:48 AM
To: Kevin Wells
Cc: address@hidden
Subject: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel
Hi Kevin,
i have attached a scope to the SPI signals of the TSC2046 touchscreen controller and got some interesting results:
1) CS, CLK & MOSI signals are ok
2) MISO has a low level of ~2.0 V ! High level is ~3.1V
That smells, if there are some output drivers connected...
Could you please check, if the signal SPI1_DATIN (GPI_25) is configured as an input ? I have already searched for the init procedure, where all GPIOs or SPI related registers are initialized, but without success.
Thanks for your help !
Best regards
Arne
- AW: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, (continued)
- AW: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Burghardt Arne, 2010/08/05
- RE: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Kevin Wells, 2010/08/05
- AW: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Burghardt Arne, 2010/08/06
- [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Burghardt Arne, 2010/08/09
- RE: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Kevin Wells, 2010/08/09
- RE: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Kevin Wells, 2010/08/09
- AW: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Burghardt Arne, 2010/08/09
- RE: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Bangaragiri G, 2010/08/10
- AW: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Burghardt Arne, 2010/08/10
- RE: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel, Kevin Wells, 2010/08/10
- SOLVED: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel,
Burghardt Arne <=