]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: twl: fix twl4030 support for smps regulators
authorTero Kristo <t-kristo@ti.com>
Mon, 28 Nov 2011 14:53:19 +0000 (16:53 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 28 Nov 2011 18:58:31 +0000 (18:58 +0000)
commit5baf55fc72de874cbf900d7923baff86eefe99b0
treeac3824823aa03f6f67a31a627ef57c51fd00efbb
parent5301fe872fb1344f86220f6829cdbd8421ceb388
regulator: twl: fix twl4030 support for smps regulators

SMPS regulator voltage control differs from the one of the LDO ones.
Current TWL code was using LDO regulator ops for controlling the SMPS
regulators, which fails. This was fixed fixed by adding separate
regulator type which uses correct logic and calculations for the
voltage levels.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
drivers/regulator/twl-regulator.c