On 15 September 2016 at 05:34, Keerthy <[email protected]> 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 <[email protected]>
> ---
>
> 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 <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to