phy: ti-pipe3: i783 workaround for SATA lockup after dpll unlock/relock
authorRoger Quadros <rogerq@ti.com>
Fri, 17 Jul 2015 13:47:22 +0000 (16:47 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 1 Aug 2015 10:22:58 +0000 (15:52 +0530)
commitc934b3612747bde6c81cf10c2bbde956c6690aec
tree548ab499e4d7646675aa9b15558efd29713ec8fe
parent7167bf8b7f3f19eeea4602ccc39f26a26a636d8e
phy: ti-pipe3: i783 workaround for SATA lockup after dpll unlock/relock

SATA_PLL_SOFT_RESET bit of CTRL_CORE_SMA_SW_0 must be toggled
between a SATA DPLL unlock and re-lock to prevent SATA lockup.

Introduce a new DT parameter 'syscon-pllreset' to provide the syscon
regmap access to this register which sits in the control module.

If the register is not provided we fallback to the old behaviour
i.e. SATA DPLL refclk will not be disabled and we prevent SoC low
power states.

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