linux/drivers/pci/host
Manikanta Maddireddy da76ba5096 PCI: tegra: Add power management support
Tegra186 powergate driver is implemented as power domain driver, power
partition ungate/gate are registered as power_on/power_off callback
functions. There are no direct functions to power gate/ungate host
controller in Tegra186. Host controller driver should add "power-domains"
property in device tree and implement runtime suspend and resume
callback functons. Power gate and ungate is taken care by power domain
driver when host controller driver calls pm_runtime_put_sync and
pm_runtime_get_sync respectively.

Register suspend_noirq & resume_noirq callback functions to allow PCIe to
come up after resume from RAM. Both runtime and noirq pm ops share same
callback functions.

Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
[lorenzo.pieralisi@arm.com: squashed patch to fix compilation]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
2018-03-19 09:37:46 +00:00
..
Kconfig PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller 2018-01-31 11:13:27 +00:00
Makefile PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller 2018-01-31 11:13:27 +00:00
pci-aardvark.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-ftpci100.c pci-v4.15-changes 2017-11-15 15:01:28 -08:00
pci-host-common.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pci-host-generic.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-hyperv.c pci-v4.16-changes 2018-02-06 09:59:40 -08:00
pci-mvebu.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-rcar-gen2.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-tegra.c PCI: tegra: Add power management support 2018-03-19 09:37:46 +00:00
pci-thunder-ecam.c PCI: Add SPDX GPL-2.0 to replace COPYING boilerplate 2018-01-28 15:48:54 -06:00
pci-thunder-pem.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pci-v3-semi.c PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
pci-versatile.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pci-xgene-msi.c PCI: Add SPDX GPL-2.0+ to replace GPL v2 or later boilerplate 2018-01-28 15:49:06 -06:00
pci-xgene.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pcie-altera-msi.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-altera.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-iproc-bcma.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-iproc-msi.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-iproc-platform.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pcie-iproc.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pcie-iproc.h Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pcie-mediatek.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00
pcie-rcar.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
pcie-rockchip.c PCI: Add SPDX GPL-2.0+ to replace GPL v2 or later boilerplate 2018-01-28 15:49:06 -06:00
pcie-tango.c pci-v4.15-changes 2017-11-15 15:01:28 -08:00
pcie-xilinx-nwl.c PCI: Add SPDX GPL-2.0+ to replace GPL v2 or later boilerplate 2018-01-28 15:49:06 -06:00
pcie-xilinx.c PCI: Add SPDX GPL-2.0+ to replace GPL v2 or later boilerplate 2018-01-28 15:49:06 -06:00
vmd.c PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate 2018-01-28 15:48:29 -06:00