linux/drivers/i2c
Cory Maccarrone d84d3ea317 i2c: omap: Add support for 16-bit registers
The current i2c-omap driver is set up for 32-bit registers, which
corresponds to most OMAP devices.  However, OMAP730/850 based
devices use a 16-bit register size.

This change modifies the driver to perform a runtime CPU type check
to determine the register sizes, and uses a bit shift of either 1
or 2 bits to compute the proper register sizes for all registers.

Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2010-03-07 22:18:17 +00:00
..
algos i2c-algo-pca: Drop duplicate variable 2010-03-02 12:23:47 +01:00
busses i2c: omap: Add support for 16-bit registers 2010-03-07 22:18:17 +00:00
chips i2c/chips: Move ds1682 to drivers/misc 2009-12-06 17:06:16 +01:00
i2c-boardinfo.c i2c: Use rwsem instead of mutex for board info 2009-06-19 16:58:20 +02:00
i2c-core.c i2c: Document the message size limit 2010-03-02 12:23:49 +01:00
i2c-core.h i2c: Use rwsem instead of mutex for board info 2009-06-19 16:58:20 +02:00
i2c-dev.c i2c: Remove big kernel lock from i2cdev_open 2009-12-06 17:06:26 +01:00
i2c-smbus.c i2c: Add SMBus alert support 2010-03-02 12:23:42 +01:00
Kconfig i2c: Separate Kconfig option for i2c-smbus 2010-03-02 12:23:43 +01:00
Makefile i2c: Separate Kconfig option for i2c-smbus 2010-03-02 12:23:43 +01:00