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)
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

No differences found