power: regulator: Add support for gpio regulators
authorKeerthy <j-keerthy@ti.com>
Thu, 15 Sep 2016 11:34:06 +0000 (17:04 +0530)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Oct 2016 16:17:04 +0000 (10:17 -0600)
commit477dfe2ffc45720462ff0baca82076d704b785df
tree4b81d7d98d4d01a64ec959f697842a1cf64ef515
parent252788b4eda852e0195e1903e55480b4bf4fea9d
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>
drivers/power/regulator/Kconfig
drivers/power/regulator/Makefile
drivers/power/regulator/gpio-regulator.c [new file with mode: 0644]
include/power/regulator.h