[U-Boot] [PATCH 0/3] i2c: add support for offset overflow in to chip address

Robert Beckett bob.beckett at collabora.com
Mon Oct 28 17:44:56 UTC 2019


Add support for devices that can overflow the offset in to the chip
address. This makes the devices effectively steal consecutive chip
addresses.

Also improve i2c testing and add new test for this new addressing mode.


Robert Beckett (3):
  i2c: add support for offset overflow in to address
  dm: i2c: EEPROM simulator allow tests visibility of addr and offset
  dm: i2c: EEPROM simulator add tests for addr offset mask

 arch/sandbox/include/asm/test.h |   7 ++
 drivers/i2c/i2c-uclass.c        |  34 ++++++++--
 drivers/misc/i2c_eeprom_emul.c  |  80 +++++++++++++++++------
 include/i2c.h                   |  33 ++++++++++
 test/dm/i2c.c                   | 112 ++++++++++++++++++++++++++++----
 5 files changed, 226 insertions(+), 40 deletions(-)

-- 
2.20.1



More information about the U-Boot mailing list