mfd: Add regulator support for twl6040 VIO, V2V1 supplies
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 2 May 2012 13:54:42 +0000 (16:54 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 9 May 2012 19:55:45 +0000 (21:55 +0200)
commit5af7df6b831ef9fd5fbde9d4bbd596f742cb2ad8
tree83e1369eafeb492e0c53293870d2c9a137fc0399
parent5a2f1b5fae593dbdf4f3656ee5a5d111df3e9acb
mfd: Add regulator support for twl6040 VIO, V2V1 supplies

twl6040 has three power supply source:
VBAT needs to be connected to VBAT, VIO, and V2V1.
Add regulator support for the VIO, V2V1 supplies.
Initially handle the two supply together with bulk commands.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl6040-core.c
include/linux/mfd/twl6040.h