regulator: anatop: Add power gating support to digital LDOs
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 11 Feb 2014 13:43:44 +0000 (14:43 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 20:30:47 +0000 (20:30 +0000)
The ARM, PU, and SOC LDOs in the i.MX6 PMU can completely gate
their power output. Since power gating is configured by writing
zero to the voltage target bitfield,, store a copy of the
voltage selector to be restored when reenabling the regulator.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/anatop-regulator.c

Simple merge