dm: i2c: Add a sandbox I2C driver
authorSimon Glass <sjg@chromium.org>
Wed, 10 Dec 2014 15:55:50 +0000 (08:55 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 11 Dec 2014 20:18:42 +0000 (13:18 -0700)
commitd19de0d314010ac8566ac363ce85f2d3707d5c72
tree6e62e36424eea6c2e2d0f789726034e7729beb9e
parentc70c71d8334216e272c33c35aff39e42d7c5185e
dm: i2c: Add a sandbox I2C driver

This driver includes some test features such as only supporting certain
bus speeds. It passes its I2C traffic through to an emulator.

Acked-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
drivers/i2c/Makefile
drivers/i2c/sandbox_i2c.c [new file with mode: 0644]