]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10058-4 pci: imx6: refine imx6sx pcie pm
authorRichard Zhu <Richard.Zhu@freescale.com>
Thu, 25 Dec 2014 06:36:44 +0000 (14:36 +0800)
committerRichard Zhu <Richard.Zhu@freescale.com>
Mon, 19 Jan 2015 01:48:42 +0000 (09:48 +0800)
commit0a057c8b1a7e0bce50d51ed37a1603f23dc2efd9
treeb7b9e2e1a9201f6c552844e63c2f39061389b106
parent8fe0a61ba6bd613ccdc086e3a1abe0e7ed098690
MLK-10058-4 pci: imx6: refine imx6sx pcie pm

- Regarding to the pcie design on imx6sx, some gpc
operations are mandatory pre-required when pcie phy
is powered on/off.
In order to DO NOT touch gpc module in pcie driver,
register one pcie phy regulator into gpc, encapsulate
the pcie phy power on/off pre gpc related operations into
regulator's notify and contained in gpc driver
- in order to save power consumption, disable pcie clks and phy
regulator if the pcie link is down.
- remove the PRST set/unset in suspend/resume, because that
usb hub would be reset, and the name of the dev node of the
thumb disk inserted in the port of the pcie2usb device,
would be changed randomly after suspend resume on imx6sx.
- add the extremely power save mode

Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
drivers/pci/host/Kconfig
drivers/pci/host/pci-imx6.c