regulator: Support MAX8998/LP3974 DVS-GPIO
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 11 Jan 2011 11:20:05 +0000 (12:20 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jan 2011 11:38:16 +0000 (12:38 +0100)
commit735a3d9efdc5aeebe201008e6655b235c7f02aeb
treea1083cec498505b1dbd28dd09a73d477965d2d61
parent337ce5d1c5759644cea6c47220ce7e84f0398362
regulator: Support MAX8998/LP3974 DVS-GPIO

The previous driver did not support BUCK1-DVS3, BUCK1-DVS4, and
BUCK2-DVS2 modes. This patch adds such modes and an option to block
setting buck1/2 voltages out of the preset values.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/regulator/max8998.c
include/linux/mfd/max8998.h