aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2015-01-13 14:23:20 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2015-01-21 15:23:06 +0530
commit7f33912d2978796662473f1f5e1fcfc387717e15 (patch)
tree391f756c4429e462aeb2f82704a3d2dedeae2df0 /Documentation
parentphy: ti-pipe3: Disable clocks on system suspend (diff)
downloadlinux-dev-7f33912d2978796662473f1f5e1fcfc387717e15.tar.xz
linux-dev-7f33912d2978796662473f1f5e1fcfc387717e15.zip
phy: ti-pipe3: Fix SATA across suspend/resume
Failed test case: Boot without SATA drive connected. Suspend/resume the board and then connect SATA drive. It fails to enumerate. Due to Errata i783 "SATA Lockup After SATA DPLL Unlock/Relock" we can't allow SATA DPLL to be in the unlocked state. The SATA refclk (sata_ref_clk) is the source of the SATA_DPLL. This clock is being controlled only by the AHCI SATA driver and is shut off during system suspend (if the SATA drive was not already attached) causing the SATA DPLL to be unlocked and so causing errata i783. To prevent sata_ref_clk from being disabled, we add the control of this clock to the SATA PHY driver and prevent it from being disabled. This also fixes the issue of SATA not working on OMAP5/DRA7 when AHCI platform driver is built as a module. NOTE: Device tree changes also required for OMAP5 & DRA7. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions