summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-06-30 09:08:33 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:47:12 -0800
commit8511d32faed96b4bc70caccb485b7ca97e64d98f (patch)
tree050dc18af0287a1d10c7f1f8b3e0ae514bc29450 /include/linux/regulator
parent8df80482949e8bca7c25aa1607b838ef4d937a39 (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 Original-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> Rebase-Id: R396800524fcea5c74711aec305c29229d32a0908
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/tps80031-regulator.h5
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,
};
/*