phy: ti-pipe3: streamline PHY operations
authorRoger Quadros <rogerq@ti.com>
Thu, 6 Mar 2014 14:38:43 +0000 (16:38 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Sun, 9 Mar 2014 07:15:11 +0000 (12:45 +0530)
commit629138dbaec33cecbb61fda1f5c1f047a1374993
tree7554c011ff72e491d5d060f26c52a719f3170bbf
parent9c7f04436088b00727fa389e2b97b182d8488123
phy: ti-pipe3: streamline PHY operations

Limit .power_on() and .power_off() to just control the
PHY power and not the DPLL. The DPLL will be enabled
in .init() and idled in .exit().

Don't reprogram the DPLL if it has been already locked
by the bootloader. This fixes a problem with SATA, where
it fails if SATA was used by the bootloader.

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