]> 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)
commit11affc0589066d6add09e71c0a3b2345745317cb
treeac3824823aa03f6f67a31a627ef57c51fd00efbb
parent3a837026360eaf5002bef7cc68f52f7516da6abc
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