power: pmic: add config SPL_DM_PMIC
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I43251c3802d7f3284b64ff9da728741d8d587255
This commit is contained in:
parent
2b2e3d7041
commit
743acd001a
|
@ -10,6 +10,18 @@ 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 DM && SPL
|
||||
---help---
|
||||
This config enables the driver-model PMIC support.
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue