regulator: add support for sleep mode configuration
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 18 Feb 2013 14:37:37 +0000 (19:37 +0530)
committerMandar Padmawar <mpadmawar@nvidia.com>
Fri, 22 Feb 2013 14:06:26 +0000 (06:06 -0800)
commitebdacaa4bf7e5801d2b0fa70601c7be5c106e402
tree6e0750b091c20061b4bb48f21244cbefc789e1a1
parentddef76dab4a6a6142497189fa3d0d6a27d8b31d1
regulator: add support for sleep mode configuration

Some of PMIC like Palma support different bits for configuring
rail's mode which is used in sleep mode of device.

Add support for configuring this mode bits.

Change-Id: Ib1bbc5164bf71c75c727dc759436e8dcf206f511
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/201792
drivers/regulator/core.c
include/linux/regulator/consumer.h
include/linux/regulator/driver.h
include/linux/regulator/machine.h