Skip to content
Commit 85968522 authored by Robert Beckett's avatar Robert Beckett Committed by Heiko Schocher
Browse files

i2c: add support for offset overflow in to address



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: default avatarRobert Beckett <bob.beckett@collabora.com>
Signed-off-by: default avatarIan Ray <ian.ray@ge.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 553cb068
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment