aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/phy/phy-ti-pipe3.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/phy/phy-ti-pipe3.c b/drivers/phy/phy-ti-pipe3.c
index 12cc900491a4..591367654613 100644
--- a/drivers/phy/phy-ti-pipe3.c
+++ b/drivers/phy/phy-ti-pipe3.c
@@ -238,6 +238,10 @@ static int ti_pipe3_exit(struct phy *x)
238 u32 val; 238 u32 val;
239 unsigned long timeout; 239 unsigned long timeout;
240 240
241 /* SATA DPLL can't be powered down due to Errata i783 */
242 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata"))
243 return 0;
244
241 /* Put DPLL in IDLE mode */ 245 /* Put DPLL in IDLE mode */
242 val = ti_pipe3_readl(phy->pll_ctrl_base, PLL_CONFIGURATION2); 246 val = ti_pipe3_readl(phy->pll_ctrl_base, PLL_CONFIGURATION2);
243 val |= PLL_IDLE; 247 val |= PLL_IDLE;