[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <483a38b80812032037j1ba5a78ay1630e83658dabe4@mail.gmail.com>
Date: Thu, 4 Dec 2008 13:37:38 +0900
From: "Kwangwoo Lee" <kwangwoo.lee@...il.com>
To: "Trilok Soni" <soni.trilok@...il.com>
Cc: dmitry.torokhov@...il.com, linux-kernel@...r.kernel.org,
"David Brownell" <david-b@...bell.net>,
"linux-omap@...r.kernel.org Mailing List"
<linux-omap@...r.kernel.org>
Subject: Re: [PATCH] Add tsc2007 based touchscreen driver.
On Wed, Dec 3, 2008 at 8:21 PM, Trilok Soni <soni.trilok@...il.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@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists