summaryrefslogtreecommitdiff
path: root/board/lindar
diff options
context:
space:
mode:
authorJan Dabros <jsd@semihalf.com>2021-04-15 23:47:04 +0200
committerCommit Bot <commit-bot@chromium.org>2021-04-22 14:15:38 +0000
commit888e830480de3840ab11299a708267b97a339927 (patch)
treefd02c4376257189b08a9be480589d62ccfead386 /board/lindar
parenta1d6eed22f8b364a9eed261eb6f165a7d22698af (diff)
downloadchrome-ec-888e830480de3840ab11299a708267b97a339927.tar.gz
gl3590: Add a delay to allow hub release i2c lines
GL3590 (USB3 hub) chip may drive I2C_SDA and I2C_SCL lines after being released from reset. Max time for such "activities" is 200ms. In order to ensure correct operations on the i2c bus, we need to delay all i2c transactions in the system by such value. Implementation is using hook with higher priority than I2C_INIT. This guarantees that: * SoC won't start i2c transactions before 200ms mark after GL3590's RESETJ# pin deassertion; * Original order of loading all generic modules (e.g. ioex_init, board_init) won't need to be changed; * Workaround applied only in platform-specific code. BUG=b:181930164 BRANCH=main TEST=build and flash new servo_v4p1 firmware Plug in CHG and DUT cables. _Then_ plug in HOST cable and verify that green diode is lit on servo_v4p1 board indicating proper pass-through charging. Signed-off-by: Jan Dabros <jsd@semihalf.com> Change-Id: I32971d421eb541c788a87701ce5e8c62a8b35777 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2829770 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/lindar')
0 files changed, 0 insertions, 0 deletions