regulator: tps65910: Sleep control through external inputs
authorLaxman Dewangan <ldewangan@nvidia.com>
Sat, 28 Jan 2012 09:37:57 +0000 (14:37 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Mon, 13 Feb 2012 14:59:18 +0000 (06:59 -0800)
commit2b4ee6d7eae39d7805a30fbfcfdeaeb0e32cc719
tree6db8b8edea0570d902315fb24f096724189b6032
parentd8da7c86f7da11ba2f56fa8c4b429c60d3db6ab0
regulator: tps65910: Sleep control through external inputs

Add support for sleep controls of different regulator through
external inputs EN1, EN2 or EN3.
Each regulator's output will be active when its external
input is high and turns to OFF/Low power mode when its
external input is low.
The configuration parameters for sleep control is provided through
board specific platform data.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

cherry picked from mainline
1e0c66f49762fa1866ab20b1feb6e86a9aa4838f

Change-Id: Ie8256fae45c21f08b2d101efebca004cb32963a0
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/79181
Reviewed-by: Automatic_Commit_Validation_User
drivers/regulator/tps65910-regulator.c
include/linux/mfd/tps65910.h