summaryrefslogtreecommitdiff
path: root/include/power
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2016-09-15 17:04:06 +0530
committerSimon Glass <sjg@chromium.org>2016-10-11 10:17:04 -0600
commit477dfe2ffc45720462ff0baca82076d704b785df (patch)
tree4b81d7d98d4d01a64ec959f697842a1cf64ef515 /include/power
parent252788b4eda852e0195e1903e55480b4bf4fea9d (diff)
power: regulator: Add support for gpio regulators
Add support for gpio regulators. As of now this driver caters to gpio regulators with one gpio. Supports setting voltage values to gpio regulators and retrieving the values. Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/power')
-rw-r--r--include/power/regulator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/power/regulator.h b/include/power/regulator.h
index 9bcd728120..911956c0b9 100644
--- a/include/power/regulator.h
+++ b/include/power/regulator.h
@@ -108,6 +108,7 @@ enum regulator_type {
REGULATOR_TYPE_BUCK,
REGULATOR_TYPE_DVS,
REGULATOR_TYPE_FIXED,
+ REGULATOR_TYPE_GPIO,
REGULATOR_TYPE_OTHER,
};