summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-10-30 23:37:41 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:56 -0800
commit34a51c36a3907ba39371d866b73494e22df6709b (patch)
tree4b0e845348ef8d819c2d4b19bca69c8b2fb47056 /include/linux/regulator
parent6b3e12e9cb334670bada0b93e0654461658d381d (diff)
regulator: ricoh583: Support for external PWRREQ control
Supporting the different rails control through the external control signal PWRREQ1 and PWRREQ2. Reviewed-on: http://git-master/r/61898 (cherry picked from commit fc07ccae30b61a92fa0b77ee6b2b7c8d43176bbe) Change-Id: Id6322ef251e4b87673d3a647efb1f0d74b8e0815 Reviewed-on: http://git-master/r/62912 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R687c186e89635a5bd4e3f399709cdf3520936a3f
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/ricoh583-regulator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/regulator/ricoh583-regulator.h b/include/linux/regulator/ricoh583-regulator.h
index d932f7094459..71990b86a2b6 100644
--- a/include/linux/regulator/ricoh583-regulator.h
+++ b/include/linux/regulator/ricoh583-regulator.h
@@ -49,12 +49,19 @@ enum regulator_id {
RICOH583_ID_LDO9,
};
+enum ext_control {
+ EXT_PWRREQ1_CONTROL = 0x1,
+ EXT_PWRREQ2_CONTROL = 0x2,
+};
+
struct ricoh583_regulator_platform_data {
struct regulator_init_data regulator;
int init_uV;
unsigned init_enable:1;
unsigned init_apply:1;
int deepsleep_uV;
+ int deepsleep_slots;
+ unsigned long flags;
};
#endif