|
@@ -238,6 +238,10 @@ static int ti_pipe3_exit(struct phy *x)
|
|
u32 val;
|
|
u32 val;
|
|
unsigned long timeout;
|
|
unsigned long timeout;
|
|
|
|
|
|
|
|
+ /* SATA DPLL can't be powered down due to Errata i783 */
|
|
|
|
+ if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata"))
|
|
|
|
+ return 0;
|
|
|
|
+
|
|
/* Put DPLL in IDLE mode */
|
|
/* Put DPLL in IDLE mode */
|
|
val = ti_pipe3_readl(phy->pll_ctrl_base, PLL_CONFIGURATION2);
|
|
val = ti_pipe3_readl(phy->pll_ctrl_base, PLL_CONFIGURATION2);
|
|
val |= PLL_IDLE;
|
|
val |= PLL_IDLE;
|