lkml.org 
[lkml]   [2008]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Add tsc2007 based touchscreen driver.
On Wed, Dec 3, 2008 at 8:21 PM, Trilok Soni <soni.trilok@gmail.com> wrote:
> Hi Lee
>
> Adding linux-omap mailing list. Sometime I am thinking that same chip
> might have interface to be connected on another board/cpu through SPI
> too, so in this case we will have two drivers doing the same thing and
> difference is just a change of the bus interface.

Hi Soni,

At first, I tried to support tsc2007 with ads7846.c. But it required
some kind of
common logic to support both SPI and I2C for the driver, as you thought.

If I modified the ads7846.c to support tsc2007, the driver might be a
bit more complicate.
I do not know which method is better, but making a different driver
was simppler for me.

Thank you.

> We should do something v4l2_subdev framework right now going on on
> v4l2 mailing list to abstract the sensor drivers from bus.
>

--
Kwangwoo Lee <kwangwoo.lee@gmail.com>


\
 
 \ /
  Last update: 2008-12-04 05:41    [W:0.074 / U:0.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site