]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: gdsys: Enable scrambling on DP501
authorDirk Eibach <dirk.eibach@gdsys.cc>
Thu, 3 Jul 2014 07:28:23 +0000 (09:28 +0200)
committerTom Rini <trini@ti.com>
Mon, 7 Jul 2014 23:47:19 +0000 (19:47 -0400)
For proper displayport performance, scrambling has to be enabled, but
is turned off on DP501 by default.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
board/gdsys/common/dp501.c

index 7958baeaaf55775982d119710226caab3551d686..7eb15ed0ba4b7d867f7f835d3feab4630f042a66 100644 (file)
@@ -61,6 +61,7 @@ void dp501_powerup(u8 addr)
        i2c_reg_write(addr, 0x71, 0x20); /* Enable Aux burst write */
        dp501_setbits(addr, 0x78, 0x30); /* Disable HPD2 IRQ */
        dp501_clrbits(addr, 0x2f, 0x40); /* Link FIFO reset selection */
+       dp501_clrbits(addr, 0x60, 0x20); /* Enable scrambling */
 
 #ifdef CONFIG_SYS_DP501_VCAPCTRL0
        i2c_reg_write(addr, 0x24, CONFIG_SYS_DP501_VCAPCTRL0);