phy: cadence: Sierra: add phy_reset hook
authorRoger Quadros <rogerq@ti.com>
Mon, 6 Jan 2020 13:06:20 +0000 (15:06 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 14 Jan 2020 05:20:19 +0000 (10:50 +0530)
commit7904e15b4d31a5515a882c3a87dfc898c4749fed
tree39e01a9d22b27f1fa549fea92b88dbf0c43ca304
parent80f96fb186a3134a886d696c0a1ecc1962f36c89
phy: cadence: Sierra: add phy_reset hook

Some platforms e.g. J721e need lane swap register
to be programmed before reset is deasserted.
This patch ensures that we propagate the phy_reset
back to the reset controller driver.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/cadence/phy-cadence-sierra.c