power: spl: add SPL_DM_REGULATOR_GPIO in Kconfig

The Makefile already tests for SPL_DM_REGULATOR_GPIO, but Kconfig
does not provide it. This adds SPL_DM_REGULATOR_GPIO to Kconfig.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
Lokesh Vutla 2018-10-24 21:06:50 +05:30 committed by Tom Rini
parent 1a25d9071b
commit 26da01f700

View File

@ -86,12 +86,19 @@ config SPL_DM_REGULATOR_FIXED
config DM_REGULATOR_GPIO config DM_REGULATOR_GPIO
bool "Enable Driver Model for GPIO REGULATOR" bool "Enable Driver Model for GPIO REGULATOR"
depends on DM_REGULATOR depends on DM_REGULATOR && DM_GPIO
---help--- ---help---
This config enables implementation of driver-model regulator uclass This config enables implementation of driver-model regulator uclass
features for gpio regulators. The driver implements get/set for features for gpio regulators. The driver implements get/set for
voltage value. voltage value.
config SPL_DM_REGULATOR_GPIO
bool "Enable Driver Model for GPIO REGULATOR in SPL"
depends on DM_REGULATOR_GPIO && SPL_GPIO_SUPPORT
---help---
This config enables implementation of driver-model regulator uclass
features for gpio regulators in SPL.
config REGULATOR_RK8XX config REGULATOR_RK8XX
bool "Enable driver for RK8XX regulators" bool "Enable driver for RK8XX regulators"
depends on DM_REGULATOR && PMIC_RK8XX depends on DM_REGULATOR && PMIC_RK8XX