regulator: tps65910: Sleep control through external inputs
authorLaxman Dewangan <ldewangan@nvidia.com>
Sat, 28 Jan 2012 09:37:57 +0000 (14:37 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 21:18:20 +0000 (14:18 -0700)
commit03be0bfbea1324f9d7155a1c04b8f47ec9ac0430
tree8f9401ffedf047082045566b0ab8cbdcbcd8d2ef
parent33411fa54762f1445c5f894d4dda18cec6aec334
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

Rebase-Id: R116e8b56f9e531fdebb87498f1edcee428650374
drivers/regulator/tps65910-regulator.c