diff options
author | Keerthy <j-keerthy@ti.com> | 2016-09-15 17:04:06 +0530 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-10-11 10:17:04 -0600 |
commit | 477dfe2ffc45720462ff0baca82076d704b785df (patch) | |
tree | 4b81d7d98d4d01a64ec959f697842a1cf64ef515 /include/power/regulator.h | |
parent | 252788b4eda852e0195e1903e55480b4bf4fea9d (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/regulator.h')
-rw-r--r-- | include/power/regulator.h | 1 |
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, }; |