]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit419ad549d27b0db7b79f7fa6f2aec289b800d50f
tree7554c011ff72e491d5d060f26c52a719f3170bbf
parent82fb3aba6894b4ba1fbe17deff4088987b4652be
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