OSDN Git Service

phy: berlin-usb: adjust USB_PHY_RX_CTRL init flags
authorAlexander Monakov <amonakov@ispras.ru>
Sun, 4 Mar 2018 18:18:07 +0000 (21:18 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 16 Mar 2018 08:10:43 +0000 (13:40 +0530)
commitae3f672cab5d1fef9fc4c6436e9d7e347eba0b13
tree5b3e3607a4d67e40a15f702c8da8d5549fc40ea7
parentc55fbcb8cf6b3653103f046232ada503e482b57d
phy: berlin-usb: adjust USB_PHY_RX_CTRL init flags

Make the value written into the USB_PHY_RX_CTRL configuration register
match 0xAA79 value written by manufacturer-supplied kernels for Sony
NSZ-GS7 (Berlin2 SoC), Google Chromecast and Valve Steam Link (BG2CD).

This fixes timeouts communicating to the internal hub on Steam Link.

Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Alexander Monakov <amonakov@ispras.ru>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/marvell/phy-berlin-usb.c