]> git.baikalelectronics.ru Git - kernel.git/commit
REGULATOR: TWL6025: add support to twl-regulator
authorGraeme Gregory <gg@slimlogic.co.uk>
Sun, 22 May 2011 20:21:23 +0000 (21:21 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:49:29 +0000 (10:49 +0100)
commit4e38214de1c77318d6d1086916049633a385a9ed
tree42516842d77fcb874516e4e8f717090ef854d009
parent93b8e4e56cdbbe65703e3447b0d887ed300f3f2c
REGULATOR: TWL6025: add support to twl-regulator

Adding support for the twl6025. Major difference in the twl6025 is the
group functionality has been removed from the chip so this affects how
regulators are enabled and disabled.

The names of the regulators also changed.

The DCDCs of the 6025 are software controllable as well.

Since V1

Use the features variable passed via platform data instead of calling
global function.

Change the very switch like if statements to be a more readable
switch statement.

Since V2

twl6025 doesn't use remap so remove it from the macros.

Since V3

enable/disable functions for 4030/6030 were seperated upstream so rebase
on top of this. Change DCDC reference to SMPS as this is used in TRM.
Change list_voltage slightly to have less code.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/twl-regulator.c