|
@@ -10,6 +10,19 @@ config DM_PMIC
|
|
|
- 'drivers/power/pmic/pmic-uclass.c'
|
|
|
- 'include/power/pmic.h'
|
|
|
|
|
|
+config SPL_DM_PMIC
|
|
|
+ bool "Enable Driver Model for PMIC drivers (UCLASS_PMIC) in SPL"
|
|
|
+ depends on SPL_DM
|
|
|
+ default y if DM_PMIC
|
|
|
+ ---help---
|
|
|
+ This config enables the driver-model PMIC support in SPL.
|
|
|
+ UCLASS_PMIC - designed to provide an I/O interface for PMIC devices.
|
|
|
+ For the multi-function PMIC devices, this can be used as parent I/O
|
|
|
+ device for each IC's interface. Then, each children uses its parent
|
|
|
+ for read/write. For detailed description, please refer to the files:
|
|
|
+ - 'drivers/power/pmic/pmic-uclass.c'
|
|
|
+ - 'include/power/pmic.h'
|
|
|
+
|
|
|
config PMIC_CHILDREN
|
|
|
bool "Allow child devices for PMICs"
|
|
|
depends on DM_PMIC
|
|
@@ -205,6 +218,15 @@ config PMIC_RK8XX
|
|
|
accessed via an I2C interface. The device is used with Rockchip SoCs.
|
|
|
This driver implements register read/write operations.
|
|
|
|
|
|
+config SPL_PMIC_RK8XX
|
|
|
+ bool "Enable support for Rockchip PMIC RK8XX"
|
|
|
+ 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
|