From: Imre Deak <imre.deak@nokia.com>
To: ext David Brownell <david-b@pacbell.net>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: OMAP5912 touchscreen irq not working
Date: Sat, 27 May 2006 23:10:53 +0300 [thread overview]
Message-ID: <1148760653.7041.19.camel@mammoth.research.nokia.com> (raw)
In-Reply-To: <200605270851.22051.david-b@pacbell.net>
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
next prev parent reply other threads:[~2006-05-27 20:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-27 6:33 OMAP5912 touchscreen irq not working Dirk Behme
2006-05-27 15:51 ` David Brownell
2006-05-27 20:10 ` Imre Deak [this message]
2006-05-27 22:14 ` David Brownell
2006-05-28 6:02 ` Imre Deak
2006-05-31 15:44 ` Dirk Behme
2006-05-31 16:05 ` David Brownell
2006-05-31 16:46 ` Imre Deak
2006-06-03 18:41 ` [PATCH] input: ads7846: can't disable filtering [was OMAP5912 touchscreen irq not working] Imre Deak
2006-06-05 12:45 ` Dirk Behme
2006-06-05 14:29 ` Imre Deak
2006-06-05 15:17 ` David Brownell
2006-06-05 16:04 ` Imre Deak
2006-06-05 16:13 ` David Brownell
2006-06-05 15:28 ` [PATCH] input: ads7846: can't disable filtering Dirk Behme
2006-07-04 8:38 ` [PATCH] input: ads7846: can't disable filtering [was OMAP5912 touchscreen irq not working] tony
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1148760653.7041.19.camel@mammoth.research.nokia.com \
--to=imre.deak@nokia.com \
--cc=david-b@pacbell.net \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox