]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx6: gpc: Add PU power domain for GPU/VPU
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 23 Feb 2015 17:40:12 +0000 (18:40 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 11 Mar 2015 00:59:00 +0000 (08:59 +0800)
commitc5c28a525a4b0aaac5a8d68b4d4fa0fd23a8f4f2
tree40f2096629c67bf883f92432661ac49069210c62
parent6f588834f0ea9eb5d7103775b0c9368dba31bd8e
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>
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/gpc.c