]> git.sur5r.net Git - u-boot/commit
omap24xx_i2c: add 2-byte address support
authorIlya Yanok <ilya.yanok@cogentembedded.com>
Fri, 8 Jun 2012 03:12:09 +0000 (03:12 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:08 +0000 (14:58 +0200)
commit55faa58976c74ebc7351a87c59568f05394ff7c5
treea4a6160987ac8110bee39b1b96414c2020557412
parent27e301e5b7df6254c768d27130d3a36c31d55c96
omap24xx_i2c: add 2-byte address support

Various devices like EEPROMs require 2-byte address support to
be properly accessed. This patch adds this support for OMAP2/3/4
I2C controller driver.
I've tested it with EEPROM (16 bit address) and TPS65217 chip
(8 bit address) on TI Beaglebone board.

Unfortunately I don't have access to any compatible hardware
with 16bit data register so I can't test if those #ifdef
clauses really work.

CC: Tom Rini <trini@ti.com>
Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
drivers/i2c/omap24xx_i2c.c