Re: [PATCH] Add tsc2007 based touchscreen driver.

From: David Brownell
Date: Thu Dec 04 2008 - 04:57:18 EST


On Thursday 04 December 2008, Felipe Balbi wrote:
> i2c subsystem has smbus emulation. The special reason is just that it's
> simpler for the driver writer ;-)

I'd have said "more portable", actually. I2C hosts can
do pretty much everything an SMBus host can, but the
converse is not true.

And re i2c_check_functionality() ... yes, use it to make
sure each I2C or SMBus call the driver makes is supported
by the underlying controller.

- Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/