From: Robert Beckett Date: Mon, 28 Oct 2019 17:44:56 +0000 Subject: [U-Boot] [PATCH 0/3] i2c: add support for offset overflow in to chip address Message-ID: <20191028174459.7019-1-bob.beckett@collabora.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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