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

Heiko Schocher hs at denx.de
Mon Nov 17 07:39:07 CET 2014


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 at 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 at denx.de>

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


More information about the U-Boot mailing list