From 926531b4a4fc2aaa0dfcfb63fb09ad4c0438f83b Mon Sep 17 00:00:00 2001 From: Luke Huang Date: Thu, 19 May 2011 10:29:51 -0700 Subject: 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 Tested-by: Chih-Lung Huang Reviewed-by: Laxman Dewangan Rebase-Id: Rb1423bd228beab0d3880635877b5589c6a0bb426 --- include/linux/regulator/tps6591x-regulator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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, }; /* -- cgit v1.2.3