summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLuke Huang <lhuang@nvidia.com>2011-05-19 10:29:51 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:43:12 -0800
commit926531b4a4fc2aaa0dfcfb63fb09ad4c0438f83b (patch)
tree27bda35d072a93c6f4d811e37b71fa5737d2a2a9 /include/linux
parent5af0b2d42074cc32b6dae09ffb21a18b21011055 (diff)
driver:regulator: tps6591x: sleep mode support
Adding controls for the following items 1. PMU SLEEP state enable/disable 2. Keep 32KHz clock out on sleep mode 3. Keep thermal monitor on sleep mode 4. Keep LDO full load capability on sleep mode 5. Keep high speed internal clock on sleep mode 3. Turn off power rails on sleep mode Original-Change-Id: I389bca4a4d7ff9ae264727af8e93dcec796d3c0c Reviewed-on: http://git-master/r/32222 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Chih-Lung Huang <lhuang@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: Rb1423bd228beab0d3880635877b5589c6a0bb426
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/regulator/tps6591x-regulator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/regulator/tps6591x-regulator.h b/include/linux/regulator/tps6591x-regulator.h
index 970736bc5c31..8d2801bbcf17 100644
--- a/include/linux/regulator/tps6591x-regulator.h
+++ b/include/linux/regulator/tps6591x-regulator.h
@@ -29,7 +29,8 @@
enum tps6591x_ext_control {
EXT_CTRL_NONE = 0x0,
EXT_CTRL_EN1,
- EXT_CTRL_EN2
+ EXT_CTRL_EN2,
+ EXT_CTRL_SLEEP_OFF,
};
/*