diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-06-30 09:08:33 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-06-30 14:46:17 -0700 |
commit | 86acb7a2e973b2a163d5df358ef26513d4d3c989 (patch) | |
tree | 219c8bbde7a89797bc0ba0679e177625fff24063 /include | |
parent | c339a60fa1640487aa1f18ae818735b0693cd27f (diff) |
regulator: tps80031: Controls regulator output by PREQ
Based on platform, it is require to control the regulator
output through the peripheral power request signal to pmu.
Supporting this type of platform configuration to control
output voltage by sw as well as through PREQ input line.
bug 839809
bug 829405
Change-Id: Ifa19b9062ca2a2c5cae84de1f311a33cec094ad0
Reviewed-on: http://git-master/r/38936
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regulator/tps80031-regulator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/regulator/tps80031-regulator.h b/include/linux/regulator/tps80031-regulator.h index 86bbadba8df5..92787df097ce 100644 --- a/include/linux/regulator/tps80031-regulator.h +++ b/include/linux/regulator/tps80031-regulator.h @@ -37,6 +37,11 @@ enum { /* VBUS configuration */ VBUS_SW_ONLY = 0x00000008, VBUS_SW_N_ID = 0x00000010, + + /* Power requests */ + PWR_REQ_INPUT_PREQ1 = 0x00000020, + PWR_REQ_INPUT_PREQ2 = 0x00000040, + PWR_REQ_INPUT_PREQ3 = 0x00000080, }; /* |