arm: socfpga: Add I2C support to SoCFPGA
authorStefan Roese <sr@denx.de>
Thu, 30 Oct 2014 08:33:13 +0000 (09:33 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 30 Oct 2014 09:17:47 +0000 (10:17 +0100)
commitebcaf966ed64b94ff3cd384ca9b3906a6ae0713e
tree788b2de8db95237cc3cfbfd55aa33f986fcee615
parent571bdf16a78e9e116a93d46f4809c4f8a3f2adb6
arm: socfpga: Add I2C support to SoCFPGA

This patch adds I2C support for the SoCFPGA. Using the designware I2C
controller driver. It supports all 4 I2C busses on the SoCFPGA.

The designware I2C driver has now been converted to the
CONFIG_SYS_I2C framework. So lets enable it on SoCFPGA.

Tested on SoCrates.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Heiko Schocher <hs@denx.de>
include/configs/socfpga_common.h