mfd: Allow configuration of VDCDC2 for tps65010
authorBen Dooks <ben@simtec.co.uk>
Mon, 2 Nov 2009 16:52:30 +0000 (16:52 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 13 Dec 2009 18:21:36 +0000 (19:21 +0100)
commitb45440c33a0bdd824b98e4a4c56767c50d3275eb
treed4e32150e6de2dd614cd688d22d1371bcc653431
parent848369926693778cd0f31bfca7fb951164715b4f
mfd: Allow configuration of VDCDC2 for tps65010

Add function to allow the configuation fo the VDCDC2 register by
external users, to allow changing of the standard and low-power
running modes.

This is needed, for example, for the Simtec IM2440D20 where we need
to use the low-power mode to shutdown the LDO/DCDC that are not needed
during suspend (saving substantial power) and the runtime use of the
low-power mode to change VCore.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps65010.c
include/linux/i2c/tps65010.h