
19 Sep
2016
19 Sep
'16
2:59 a.m.
On 15 September 2016 at 05:34, Keerthy j-keerthy@ti.com wrote:
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
Changes in v2:
- Added states and voltages as part of plat data to have a generic state to voltage mapping removing any assumptions.
drivers/power/regulator/Kconfig | 8 ++ drivers/power/regulator/Makefile | 1 + drivers/power/regulator/gpio-regulator.c | 137 +++++++++++++++++++++++++++++++ include/power/regulator.h | 1 + 4 files changed, 147 insertions(+) create mode 100644 drivers/power/regulator/gpio-regulator.c
Reviewed-by: Simon Glass sjg@chromium.org