]> git.baikalelectronics.ru Git - kernel.git/commit
phy: ti-pipe3: Program the DPLL even if it was already locked
authorRoger Quadros <rogerq@ti.com>
Wed, 18 May 2016 12:28:06 +0000 (15:28 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 3 Jun 2016 06:36:41 +0000 (12:06 +0530)
commitd25a39fea82186019e441b62a71578aaa5a52647
treecec2d756eb4345065d6af165e5fbcab2e6b98258
parent8855be6a26699352d44026b39f589a233f3639bd
phy: ti-pipe3: Program the DPLL even if it was already locked

If bootloader has set a wrong DPLL then we must trash those values
and re-program it anyways. This fixes USB3 devices not being enumerated
on beagle-x15 if usb was started in u-boot.

We don't re-program SATA DPLL if it is locked as it was causing
SATA failures if device was hotpluged after boot.

Reported-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-ti-pipe3.c