Re: OMAP5912 touchscreen irq not working

Imre Deak
2006-05-27T20:10:53Z

On Sat, 2006-05-27 at 08:51 -0700, ext David Brownell wrote:
> On Friday 26 May 2006 11:33 pm, Dirk Behme wrote:
>
> > Can anybody else reproduce this?
>
> Just tried it ... /proc/interrupts shows a few IRQs, but I get no
> touchscreen data.

I noticed that the ads7846 sampling rate is set too high in board-osk.c.
The spec allows a maximum bus frequency of 2.5MHz which gives a ~96k
sample rate. There is also the uwire clock patch in my previous post,
which might have an effect on this issue.

--Imre

diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c
index e0711d2..bc4269b 100644
--- a/arch/arm/mach-omap1/board-osk.c
+++ b/arch/arm/mach-omap1/board-osk.c
@@ -317,7 +317,7 @@ static struct spi_board_info __initdata
.modalias = "ads7846",
.platform_data = &mistral_ts_info,
.irq = OMAP_GPIO_IRQ(4),
- .max_speed_hz = 120000 /* max sample rate at 3V */
+ .max_speed_hz = 96000 /* max sample rate at 3V */
* 26 /* command + data + overhead */,
.bus_num = 2,
.chip_select = 0,

>
> - Dave
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source