]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitba305e31e88ea5c2f598ff9fbc5424711a429e30
treeac3824823aa03f6f67a31a627ef57c51fd00efbb
parent58fb5cf5d1edb7e306574833ee55d732918c89e3
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