]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: Add SCCB support
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 24 Jul 2012 23:25:06 +0000 (09:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Jul 2012 23:25:06 +0000 (09:25 +1000)
commitd52f66b543d7492f4e69ba8da7d407daccc9521c
treee22a33890d1e8002c953cd6a13e9f04b699712ec
parentea14082895b744de27630ccfcdac45453e8fa11c
i2c: Add SCCB support

SCCB is a serial communication bus developed by Omnivision. Its 2-wire
mode is very similar to SMBus byte data transactions, but requires the
controller to ignore the ACK bit and to insert a stop condition after
each message.

Add a device SCCB flag and a message stop flag to be passed to
controller drivers.

[JD: Kill rogue definition in go7007 driver.]

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c
drivers/staging/media/go7007/wis-i2c.h
include/linux/i2c.h