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 /drivers/power/regulator/Kconfig | |
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 'drivers/power/regulator/Kconfig')
-rw-r--r-- | drivers/power/regulator/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index c7e88c0081..255eccf4d7 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -68,6 +68,14 @@ config DM_REGULATOR_FIXED features for fixed value regulators. The driver implements get/set api for enable and get only for voltage value. +config DM_REGULATOR_GPIO + bool "Enable Driver Model for GPIO REGULATOR" + depends on DM_REGULATOR + ---help--- + This config enables implementation of driver-model regulator uclass + features for gpio regulators. The driver implements get/set for + voltage value. + config REGULATOR_RK808 bool "Enable driver for RK808 regulators" depends on DM_REGULATOR && PMIC_RK808 |