From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 17 Nov 2014 07:39:07 +0100 Subject: [U-Boot] [PATCH v2 10/17] dm: i2c: Add I2C emulation driver for sandbox In-Reply-To: <1415727993-22032-11-git-send-email-sjg@chromium.org> References: <1415727993-22032-1-git-send-email-sjg@chromium.org> <1415727993-22032-11-git-send-email-sjg@chromium.org> Message-ID: <5469980B.80204@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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 bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany