USB: misc: usb2533: Add delay between HUB and LAN7500 reset
HUB enters SW_INIT stage on reset and moves to SOC-CONFIG
stage within 300msec if it finds pull-ups on I2C lines.
If HUB doesn't find I2C pull-ups then it directly enters
CONFIG stage and disables I2C support.
Driver expects HUB to be in SOC-Config after reset so that
it can enable FLEX mode using I2C commands.
I2C transfers to io-expander are also issued as part of usb-eth
device reset immediately after hub reset which is resulting
HUB to not find I2C pull-up after its reset and enters CONFIG
stage with I2C support disabled.
Without I2C connection to HUB, enabling flex-connect fails.
Fix this by adding delay between hub and LAN7500 reset to avoid
any I2C access before HUB enters SOC-Config stage.
CRs-Fixed: 2053404
Change-Id: I5efa82a96820e8efb60a83613151a7aa483a6346
Signed-off-by:
Arumuga Durai A <cadurai@codeaurora.org>
Loading
Please register or sign in to comment