]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/power/pmic/Kconfig
power: pmic: add the max8998 controller for DM
[people/ms/u-boot.git] / drivers / power / pmic / Kconfig
index 547fd1aaa6a0d7ee0ece5ddbd15b5551f9fe9cd7..5e244c8741c2255fed7a09e7d75896546f1964c7 100644 (file)
@@ -10,6 +10,27 @@ config DM_PMIC
        - 'drivers/power/pmic/pmic-uclass.c'
        - 'include/power/pmic.h'
 
+config PMIC_CHILDREN
+       bool "Allow child devices for PMICs"
+       depends on DM_PMIC
+       default y
+       ---help---
+       This allows PMICs to support child devices (such as regulators) in
+       SPL. This adds quite a bit of code so if you are not using this
+       feature you can turn it off. Most likely you should turn it on for
+       U-Boot proper.
+
+config SPL_PMIC_CHILDREN
+       bool "Allow child devices for PMICs in SPL"
+       depends on DM_PMIC
+       default y
+       ---help---
+       This allows PMICs to support child devices (such as regulators) in
+       SPL. This adds quite a bit of code so if you are not using this
+       feature you can turn it off. In this case you may need a 'back door'
+       to call your regulator code (e.g. see rk808.c for direct functions
+       for use in SPL).
+
 config PMIC_ACT8846
        bool "Enable support for the active-semi 8846 PMIC"
        depends on DM_PMIC && DM_I2C
@@ -33,6 +54,52 @@ config DM_PMIC_MAX77686
        This config enables implementation of driver-model pmic uclass features
        for PMIC MAX77686. The driver implements read/write operations.
 
+config DM_PMIC_MAX8998
+       bool "Enable Driver Model for PMIC MAX8998"
+       depends on DM_PMIC
+       ---help---
+       This config enables implementation of driver-model pmic uclass features
+       for PMIC MAX8998. The driver implements read/write operations.
+
+config PMIC_PM8916
+       bool "Enable Driver Model for Qualcomm PM8916 PMIC"
+       depends on DM_PMIC
+       ---help---
+       The PM8916 is a PMIC connected to one (or several) processors
+       with SPMI bus. It has 2 slaves with several peripherals:
+       - 18x LDO
+       - 4x GPIO
+       - Power and Reset buttons
+       - Watchdog
+       - RTC
+       - Vibrator drivers
+       - Others
+
+       Driver binding info: doc/device-tree-bindings/pmic/pm8916.txt
+
+config PMIC_RK808
+       bool "Enable support for Rockchip PMIC RK808"
+       depends on DM_PMIC
+       ---help---
+       The Rockchip RK808 PMIC provides four buck DC-DC convertors, 8 LDOs,
+       an RTC and two low Rds (resistance (drain to source)) switches. It is
+       accessed via an I2C interface. The device is used with Rockchip SoCs.
+       This driver implements register read/write operations.
+
+config PMIC_S2MPS11
+       bool "Enable Driver Model for PMIC Samsung S2MPS11"
+       depends on DM_PMIC
+       ---help---
+       The Samsung S2MPS11 PMIC provides:
+        - 38 adjustable LDO regulators
+        - 9 High-Efficiency Buck Converters
+        - 1 BuckBoost Converter
+        - RTC with two alarms
+        - Backup battery charger
+        - I2C Configuration Interface
+       This driver provides access to I/O interface only.
+       Binding info: doc/device-tree-bindings/pmic/s2mps11.txt
+
 config DM_PMIC_SANDBOX
        bool "Enable Driver Model for emulated Sandbox PMIC "
        depends on DM_PMIC
@@ -67,6 +134,14 @@ config PMIC_S5M8767
        driver provides basic register access and sets up the attached
        regulators if regulator support is enabled.
 
+config PMIC_RN5T567
+       bool "Enable driver for Ricoh RN5T567 PMIC"
+       depends on 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"
        depends on DM_PMIC
@@ -75,3 +150,17 @@ config PMIC_TPS65090
        FETs and a battery charger. This driver provides register access
        only, and you can enable the regulator/charger drivers separately if
        required.
+
+config PMIC_PALMAS
+       bool "Enable driver for Texas Instruments PALMAS PMIC"
+       depends on DM_PMIC
+       ---help---
+       The PALMAS is a PMIC containing several LDOs, SMPS.
+       This driver binds the pmic children.
+
+config PMIC_LP873X
+       bool "Enable driver for Texas Instruments LP873X PMIC"
+       depends on DM_PMIC
+       ---help---
+       The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
+       This driver binds the pmic children.