summaryrefslogtreecommitdiff
path: root/drivers/power/pmic/Kconfig
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2021-11-12 17:10:47 +0300
committerKever Yang <kever.yang@rock-chips.com>2021-12-24 10:15:03 +0300
commit2206356a3e4e1da1c2a07098690a59263e5f6757 (patch)
treeb9a420c4aae5145b68aebc338ffc250adca48b60 /drivers/power/pmic/Kconfig
parent0ade02526bb42561453bc1d0fcca5e8b7ee0bb76 (diff)
downloadu-boot-2206356a3e4e1da1c2a07098690a59263e5f6757.tar.xz
power: pmic/fan53555: allow dm be omitted by SPL
Allow the dm driver be omitted by SPL. Cc: Quentin Schulz <foss+u-boot@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/power/pmic/Kconfig')
-rw-r--r--drivers/power/pmic/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
index b9fda428df..ce0adb18a4 100644
--- a/drivers/power/pmic/Kconfig
+++ b/drivers/power/pmic/Kconfig
@@ -128,6 +128,20 @@ config DM_PMIC_FAN53555
The driver implements read/write operations for use with the FAN53555
regulator driver and binds the regulator driver to its node.
+config SPL_DM_PMIC_FAN53555
+ bool "Enable support for OnSemi FAN53555 in SPL"
+ depends on SPL_DM_REGULATOR && SPL_DM_I2C
+ select SPL_DM_REGULATOR_FAN53555
+ help
+ This config enables implementation of driver-model PMIC
+ uclass features for the FAN53555 regulator. The FAN53555 is
+ a (family of) single-output regulators that supports
+ transitioning between two different output voltages based on
+ an voltage selection pin.
+
+ The driver implements read/write operations for use with the FAN53555
+ regulator driver and binds the regulator driver to its node.
+
config DM_PMIC_MP5416
bool "Enable Driver Model for PMIC MP5416"
help