lkml.org 
[lkml]   [2008]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/6] Driver for WM97xx touchscreens in streaming mode on PXA2xx systems
On Mon, Jan 14, 2008 at 10:56:06AM +0100, Marc Kleine-Budde wrote:
> reMark Brown wrote:

> > Cc: Marc Kleine-Budde <mkl@penugtronix.de>
> ^^
> it's mkl@pengutronix.de

Fixed, sorry about that.

> > + /* use PEN_DOWN GPIO 13 to assert IRQ on GPIO line 2 */
> > + wm->pen_irq = MAINSTONE_AC97_IRQ;

> I'm missing some kind of abstraction here, what about non mainstone
> boards with the pen irq wired to some other gpio?

The driver really isn't intended to cope with them. As you say, other
boards may have things wired up differently and therefore require
different configuration of the wm97xx and other bits of the system. The
expectation is that other systems will have their own driver.

My initial thought is that the most straightforward way of handling this
would be to rename the driver to mainstone-wm97xx or similar to make it
clear that the driver is only intended to handle Mainstone as-is. Does
that seem reasonable?


\
 
 \ /
  Last update: 2008-01-14 15:45    [W:1.118 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site