[U-Boot] [PATCH v2 16/41] i2c: add support for offset overflow in to address

Simon Glass sjg at chromium.org
Wed Oct 30 01:49:50 UTC 2019


Hi Robert,

On Wed, 23 Oct 2019 at 12:22, Robert Beckett <bob.beckett at collabora.com> wrote:
>
> Some devices (2 wire eeproms for example) use some bits from the chip
> address to represent the high bits of the offset instead of or as well
> as using multiple bytes for the offset, effectively stealing chip
> addresses on the bus.
>
> Add a chip offset mask that can be set for any i2c chip which gets
> filled with the offset overflow during offset setup.
>
> Signed-off-by: Robert Beckett <bob.beckett at collabora.com>
> Signed-off-by: Ian Ray <ian.ray at ge.com>
> ---
>  drivers/i2c/i2c-uclass.c | 34 +++++++++++++++++++++++++++-------
>  include/i2c.h            | 33 +++++++++++++++++++++++++++++++++
>  2 files changed, 60 insertions(+), 7 deletions(-)

This is v2 but I don't see a change log?

Regards,
Simon


More information about the U-Boot mailing list