MLK-10058-3 arm: gpc: add pcie phy power gpc operations
authorRichard Zhu <Richard.Zhu@freescale.com>
Thu, 25 Dec 2014 06:30:38 +0000 (14:30 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:39 +0000 (14:48 -0500)
commitaad8d7f984719f48e86ffd34a5c31d7a00369a84
treed3d7dfa24fa1a907949436e93a46246622101b83
parentb91e3a879c49434bfda2dc00136902d1dea79e91
MLK-10058-3 arm: gpc: add pcie phy power gpc operations

For PCIe module on i.mx6sx, some GPC operations would
be mandatory required when PCIe PHY is powered on/off.
So we need update gpc driver for the new requirements.
We implement it by regulator notify framwork in gpc driver.
NOTE:
make sure gpc driver is ready before PCIe driver is probed.
Otherwise, cause system hang during PCIe driver probe,
because the notify NOT installed ready and the gpc will
NOT power on PCIe.

Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
(cherry picked from commit 2a7df81caf4c63044739f974e5ce3766412dccb2)
arch/arm/mach-imx/gpc.c