mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
Define SCL and SDA for I2C port 0 so that it is automatically unwedged when it detects the bus has been wedged. Note, we can currently only use this on one I2C port. BUG=chrome-os-partner:31581 BRANCH=samus TEST=load onto samus p2b that is having i2c port 0 problems and wait for the bus to wedge, then verify it automatically unwedges: [868.755442 I2C0 Addr:16 bad status 0x41, SCL=1, SDA=0] [868.756013 I2C unwedge called with SDA held low] Change-Id: I0ffb6a725af97155f734e2570574144ba4044f22 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/215396 Reviewed-by: Duncan Laurie <dlaurie@chromium.org>