tegra: i2c: Add I2C driver
authorYen Lin <yelin@nvidia.com>
Tue, 6 Mar 2012 19:00:23 +0000 (19:00 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:12:50 +0000 (08:12 +0200)
commit96a78ac0c445999ce21fb42ecab061479b4d7056
tree421a551928a999d1bc1bd9c8e72563db72910b46
parent34fa833aeeea498033f2c68b33ed8d57bf951e22
tegra: i2c: Add I2C driver

Add basic i2c driver for Tegra2 with 8- and 16-bit address support.
The driver requires CONFIG_OF_CONTROL to obtain its configuration
from the device tree.

(Simon Glass: sjg@chromium.org modified for upstream)

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra2/tegra_i2c.h [new file with mode: 0644]
drivers/i2c/Makefile
drivers/i2c/tegra_i2c.c [new file with mode: 0644]
include/fdtdec.h
lib/fdtdec.c