power: pmic: Kconfig: add CONFIG_SPL_DM_PMIC_BD71837
authorPeng Fan <peng.fan@nxp.com>
Wed, 16 Oct 2019 10:24:36 +0000 (10:24 +0000)
committerStefano Babic <sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000 (17:04 +0100)
Add CONFIG_SPL_DM_PMIC_BD71837 to make this driver could be
used in SPL stage

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/pmic/Kconfig

index 586772f..4718dc7 100644 (file)
@@ -55,6 +55,14 @@ config DM_PMIC_BD71837
          This config enables implementation of driver-model pmic uclass features
          for PMIC BD71837. The driver implements read/write operations.
 
+config SPL_DM_PMIC_BD71837
+       bool "Enable Driver Model for PMIC BD71837 in SPL stage"
+       depends on DM_PMIC
+       help
+         This config enables implementation of driver-model pmic uclass
+         features for PMIC BD71837. The driver implements read/write
+         operations.
+
 config DM_PMIC_FAN53555
        bool "Enable support for OnSemi FAN53555"
        depends on DM_PMIC && DM_REGULATOR && DM_I2C