diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-10-30 23:37:41 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-11-07 13:41:35 -0800 |
commit | fc07ccae30b61a92fa0b77ee6b2b7c8d43176bbe (patch) | |
tree | 915b26fc32186c36d28f0bb1e007dc88b62f5c93 /include | |
parent | 31ce29362a186ce8d1ec3031dc643ac73c429d06 (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/61064
(cherry picked from commit cf9e364653619eb4ba7cfdc9899d3ed39bae2400)
Change-Id: I7f7cbc167884419a7e8a140942faa383d7790732
Reviewed-on: http://git-master/r/61898
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regulator/ricoh583-regulator.h | 7 |
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 |