The S3C64xx CPUs have power gating support with a series of software
controllable power domains in the SoC. To take full advantage of these
we should implement runtime PM support but since several of the IP blocks
have no in tree drivers (and at this point aren't likely to acquire such
drivers) we can get some benefit from the hardware much more easily if
we just turn those blocks off unconditionally. This will cut down on the
leakage these domains generate without interfering with active usage.
Do this for:
- Domain G: 3D acceleration
- Domain V: MFC
- Domain I: JPEG and camera interface
- Domain P: 2D acceleration, TV encoder and scaler
This is easy to reverse if any of these devices do acquire drivers in the
future or as part of out of tree patches for them.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>