]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2f3749a4d31a32ceb558de522ca484a7bd44f93
treed4e32150e6de2dd614cd688d22d1371bcc653431
parent7ddeb18f69696634d023b5825713e3ac63ae138b
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