Skip to content

i2c: add support for offset overflow in to chip address

Robert Beckett u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i2c: add support for offset overflow in to addressdrivers/i2c/i2c-uclass.c include/i2c.h+60 -72 replies
2/3dm: i2c: EEPROM simulator allow tests visibility of addr and offsetarch/sandbox/include/asm/test.h drivers/misc/i2c_eeprom_emul.c test/dm/i2c.c+86 -292 replies
3/3dm: i2c: EEPROM simulator add tests for addr offset maskarch/sandbox/include/asm/test.h drivers/misc/i2c_eeprom_emul.c test/dm/i2c.c+81 -52 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchHeiko Schocher
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.20.1