ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Ltib] EA3250: Touchscreen not functional with 2.6.34 kernel


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
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]