[U-Boot] [PATCH v2 10/17] dm: i2c: Add I2C emulation driver for sandbox

Heiko Schocher
2014-11-17T06:39:07Z

Hello Simon,

Am 11.11.2014 18:46, schrieb Simon Glass:
> In order to test I2C we need some sort of emulation interface. Add hooks
> to allow a driver to emulate an I2C device for sandbox.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> Changes in v2: None
>
> drivers/i2c/Makefile | 1 +
> drivers/i2c/i2c-emul-uclass.c | 14 ++++++++++++++
> include/dm/uclass-id.h | 1 +
> 3 files changed, 16 insertions(+)
> create mode 100644 drivers/i2c/i2c-emul-uclass.c

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany