diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2015-02-23 18:40:12 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-03-11 01:59:00 +0100 |
commit | 00eb60a8b4f7a4aa00fd8abd68c2dc7aec55df19 (patch) | |
tree | 40f2096629c67bf883f92432661ac49069210c62 /arch/arm/mach-imx/Kconfig | |
parent | Documentation: Add device tree bindings for Freescale i.MX GPC (diff) | |
download | linux-00eb60a8b4f7a4aa00fd8abd68c2dc7aec55df19.tar.xz linux-00eb60a8b4f7a4aa00fd8abd68c2dc7aec55df19.zip |
ARM: imx6: gpc: Add PU power domain for GPU/VPU
When generic pm domain support is enabled, the PGC can be used
to completely gate power to the PU power domain containing GPU3D,
GPU2D, and VPU cores.
This code triggers the PGC powerdown sequence to disable the GPU/VPU
isolation cells and gate power and then disables the PU regulator.
To reenable, the reverse powerup sequence is triggered after the PU
regulator is enabled again.
The GPU and VPU devices in the PU power domain temporarily need
to be clocked during powerup, so that the reset machinery can work.
[Avoid explicit regulator enabling in probe, unless !PM]
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index b8d3ccdfe127..178f0d001011 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -50,6 +50,7 @@ config HAVE_IMX_ANATOP config HAVE_IMX_GPC bool + select PM_GENERIC_DOMAINS if PM config HAVE_IMX_MMDC bool |