Convert CONFIG_POWER_LTC3676 et al to Kconfig
[platform/kernel/u-boot.git] / drivers / power / pmic / Kconfig
index 66b16b0..d94048d 100644 (file)
@@ -216,10 +216,10 @@ config PMIC_MAX8997
        - MUIC
        - Others
 
-config PMIC_PM8916
-       bool "Enable Driver Model for Qualcomm PM8916 PMIC"
+config PMIC_QCOM
+       bool "Enable Driver Model for Qualcomm generic PMIC"
        ---help---
-       The PM8916 is a PMIC connected to one (or several) processors
+       The Qcom PMIC is connected to one (or several) processors
        with SPMI bus. It has 2 slaves with several peripherals:
        - 18x LDO
        - 4x GPIO
@@ -229,7 +229,7 @@ config PMIC_PM8916
        - Vibrator drivers
        - Others
 
-       Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt
+       Driver binding info: doc/device-tree-bindings/pmic/qcom,spmi-pmic.txt
 
 config PMIC_RK8XX
        bool "Enable support for Rockchip PMIC RK8XX"
@@ -300,6 +300,14 @@ config PMIC_RN5T567
        regulators Real-Time Clock and 4 GPIOs. This driver provides
        register access only.
 
+config SPL_PMIC_RN5T567
+       bool "Enable driver for Ricoh RN5T567 PMIC in SPL"
+       depends on SPL_DM_PMIC
+       ---help---
+       The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO
+       regulators Real-Time Clock and 4 GPIOs. This driver provides
+       register access only.
+
 config PMIC_TPS65090
        bool "Enable driver for Texas Instruments TPS65090 PMIC"
        ---help---
@@ -385,10 +393,40 @@ config PMIC_TPS65217
        only, and you can enable the regulator/charger drivers separately if
        required.
 
+config POWER_TPS65218
+       bool "Enable legacy driver for TPS65218 PMIC"
+
+config POWER_TPS62362
+       bool "Enable legacy driver for TPS62362 PMIC"
+
+config SPL_POWER_TPS62362
+       bool "Enable legacy driver for TPS62362 PMIC in SPL"
+       default y if POWER_TPS62362
+       depends on SPL
+
+config SPL_POWER_TPS65910
+       bool "Enable legacy driver for TPS65910 PMIC in SPL"
+       depends on SPL
+
+if POWER_LEGACY || SPL_POWER_LEGACY
+
+config POWER_HI6553
+       bool "Enable legacy driver for HI6553 PMIC"
+
+config POWER_LTC3676
+       bool "Enable legacy driver for LTC3676 PMIC"
+
+config POWER_PFUZE100
+       bool "Enable legacy driver for PFUZE100 PMIC"
+
+config POWER_PFUZE3000
+       bool "Enable legacy driver for PFUZE3000 PMIC"
+
 config POWER_MC34VR500
        bool "Enable driver for Freescale MC34VR500 PMIC"
-       depends on !DM_PMIC
        ---help---
        The MC34VR500 is used in conjunction with the FSL T1 and LS1 series
        SoC. It provides 4 buck DC-DC convertors and 5 LDOs, and it is accessed
        via an I2C interface.
+
+endif