]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: anatop: Add bypass support to digital LDOs
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 11 Feb 2014 13:43:45 +0000 (14:43 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 14 Feb 2014 20:30:47 +0000 (20:30 +0000)
commitd38018f2019c7d01660ca72eab055f79f4547f59
tree6e99d8882e14dd40f47f3465a8a4b6042cf94dbd
parent605ebd35f059eb7dc087c4b5def1a8ce80acec55
regulator: anatop: Add bypass support to digital LDOs

The ARM, PU, and SOC LDOs in the i.MX6 PMU can operate
in bypass mode. This allows to use external switching
regulators for cpu voltage scaling.

Since bypass and power gating modes are not configured
with their own bits, but via the voltage target bitfield,
store bypass state 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