mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
board: gdsys: Increase DP501 I2C retry interval
With Club 3D dual link adapter there are AUX-channel timeouts when EDID is read. Increasing retry interval time to max (400us) fixes this. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
0caad193cd
commit
2302fd32a5
1 changed files with 2 additions and 1 deletions
|
@ -88,7 +88,8 @@ void dp501_powerup(u8 addr)
|
|||
dp501_setbits(addr, 0x78, 0x03); /* clear all interrupt */
|
||||
i2c_reg_write(addr, 0x75, 0xf8); /* aux channel reset */
|
||||
i2c_reg_write(addr, 0x75, 0x00); /* clear aux channel reset */
|
||||
i2c_reg_write(addr, 0x87, 0x70); /* set retry counter as 7 */
|
||||
i2c_reg_write(addr, 0x87, 0x7f); /* set retry counter as 7
|
||||
retry interval 400us */
|
||||
|
||||
if (dp501_detect_cable_adapter(addr)) {
|
||||
printf("DVI/HDMI cable adapter detected\n");
|
||||
|
|
Loading…
Reference in a new issue