[U-Boot] [PATCH v6 03/11] dm: i2c: Add I2C emulation driver for sandbox
Simon Glass
sjg at chromium.org
Thu Dec 11 14:22:34 CET 2014
On 10 December 2014 at 08:55, Simon Glass <sjg at chromium.org> wrote:
> 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>
> Acked-by: Heiko Schocher <hs at denx.de>
> Reviewed-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
>
> Changes in v6: None
> Changes in v5: None
> Changes in v4: None
> Changes in v3: None
> 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
>
Applied to u-boot-dm.
More information about the U-Boot
mailing list