From 477dfe2ffc45720462ff0baca82076d704b785df Mon Sep 17 00:00:00 2001 From: Keerthy Date: Thu, 15 Sep 2016 17:04:06 +0530 Subject: 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 Reviewed-by: Simon Glass --- include/power/regulator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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, }; -- cgit