]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: ab8500: provide per-regulator shift
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 20 Aug 2012 16:41:35 +0000 (18:41 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Aug 2012 19:58:39 +0000 (20:58 +0100)
commit33fa738cd02444971df9b56ede1a8181cbedc0e7
treef265571152010a54ca52f7c949978e8cc1bf1662
parent341aa736845ab2eb195f3e8a0cf4ad0ecd4f0b04
regulator: ab8500: provide per-regulator shift

This encodes the voltage shifts (the number of bits to shift
the register to get to the selector) into the regulator info.
We have several new variants of the AB8500 so this varies a
lot.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c