]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: gateworks: venice: delay before reading GSC EEPROM
authorTim Harvey <tharvey@gateworks.com>
Wed, 19 Jun 2024 21:13:22 +0000 (14:13 -0700)
committerFabio Estevam <festevam@gmail.com>
Mon, 24 Jun 2024 12:19:10 +0000 (09:19 -0300)
commit87a4e5b3a41f5b13dd86c8661ee92f58098c10ac
treed84420cf21e8556efd84889b1b4a24c0270f7d24
parentef0b5b61f43cd8022a6fd1e3fc9a0506fd0667f5
board: gateworks: venice: delay before reading GSC EEPROM

Extensive testing has shown that at higher temperatures operating
without a GSC backup battery, the GSC needs a small delay after
releasing the I2C SDA/SCL pins before it is ready to handle I2C
requests.

Add a delay to avoid errors such as:
wait_for_sr_state: Arbitration lost sr=93 cr=80 state=2020
i2c_init_transfer: failed for chip 0x20 retry=0

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/venice/spl.c