regulator: Allow enabling GPIO regulator
authorSven Schwermer <sven@svenschwermer.de>
Mon, 24 Jun 2019 11:03:34 +0000 (13:03 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2019 15:31:25 +0000 (11:31 -0400)
commitaa2067a8692ece9b4ce470a2c6c6704987bfd56c
tree5aeb25a7b788455bd90348bb068b954212a8cdbd
parent2f7a5f2682edc99daee1fa1d7dadd4b9f09e7b59
regulator: Allow enabling GPIO regulator

Drivers need to be able to enable regulators that may be implemented as
GPIO regulators. Example: fsl_esdhc enables the vqmmc supply which is
commonly implemented as a GPIO regulator in order to switch between I/O
voltage levels.

Signed-off-by: Sven Schwermer <sven@svenschwermer.de>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
drivers/power/regulator/Kconfig
drivers/power/regulator/gpio-regulator.c