summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorJames Ban <james.ban.opensource@diasemi.com>2015-01-28 09:28:08 +0900
committerMark Brown <broonie@kernel.org>2015-01-28 17:38:14 +0000
commit8c7dd8bce05345ca5fe249b64782e8feeb3b9259 (patch)
tree5f05ba25f52d9b01cf613fb2e1c5fc744ff0c018 /include/linux/regulator
parent076c3b8e03e2737659a89660bb8e54e13587d974 (diff)
regulator: da9211: Add gpio control for enable/disable of buck
This is a patch for adding gpio control about enable/disable of buck. Signed-off-by: James Ban <james.ban.opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/da9211.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regulator/da9211.h b/include/linux/regulator/da9211.h
index d1d9d3849bdb..5dd65acc2a69 100644
--- a/include/linux/regulator/da9211.h
+++ b/include/linux/regulator/da9211.h
@@ -32,6 +32,7 @@ struct da9211_pdata {
* 2 : 2 phase 2 buck
*/
int num_buck;
+ int gpio_ren[DA9211_MAX_REGULATORS];
struct device_node *reg_node[DA9211_MAX_REGULATORS];
struct regulator_init_data *init_data[DA9211_MAX_REGULATORS];
};