Messages in this thread | | | Date | Thu, 4 Dec 2008 13:37:38 +0900 | From | "Kwangwoo Lee" <> | Subject | Re: [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>
| |