summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlok Chauhan <alokc@nvidia.com>2012-02-17 15:17:38 +0530
committerSimone Willett <swillett@nvidia.com>2012-04-10 11:17:39 -0700
commit79ef930900b0a656910009c4305c44378fb7a3ae (patch)
treee5124d779fe8f862a21c89f6c47c0fcb7ab502db /include
parent679a48b98f3b99592b2a2a3e71c35c729d28a0ce (diff)
regulator: max8907: Add driver specific data for regulator
Adding the regulator driver specific information and passing this information through regulator driver data. This struture is containing delay operation which is require to voltage to be settle down after enabling rail. Bug 939242 Change-Id: I7da6ec487fe5f04857d3fd5f06a383b4a8fbcc7b Signed-off-by: Alok Chauhan <alokc@nvidia.com> Reviewed-on: http://git-master/r/94500 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/regulator/max8907c-regulator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/regulator/max8907c-regulator.h b/include/linux/regulator/max8907c-regulator.h
index ddc5f0a60339..4d071b9644e8 100644
--- a/include/linux/regulator/max8907c-regulator.h
+++ b/include/linux/regulator/max8907c-regulator.h
@@ -43,4 +43,12 @@
#define MAX8907C_VRTC 27
#define MAX8907C_WLED 27
+/*
+ * struct max8907c_chip_regulator_data - max8907c chip regulator data.
+ *
+ * @enable_time_us: microseconds delay required after enabling rail regulator.
+ */
+struct max8907c_chip_regulator_data {
+ int enable_time_us;
+};
#endif