]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitca1b5ddac07456c28cd1444ca4e3ab736ad0cbb1
tree548ab499e4d7646675aa9b15558efd29713ec8fe
parent9fcc36f42e4b8260a5985b0aeb48f2e5b19e0fb4
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