mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-10-01 03:42:17 +00:00
f415a3ec9d
The cleanup includes: - pmic.h - fix mistakes in a few comments - pmic operations: value 'reg_count' - redefine as function call - fix function name: pmic_bind_childs() -> pmic_bind_children() - pmic_bind_children: change the 'while' loop with the 'for' - add implementation of pmic_reg_count() method - pmic_bind_children() - update function call name - Kconfig: add new line at the end of file - Update MAX77686 driver code Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Tested on sandbox: Tested-by: Simon Glass <sjg@chromium.org>
18 lines
736 B
Text
18 lines
736 B
Text
config DM_PMIC
|
|
bool "Enable Driver Model for PMIC drivers (UCLASS_PMIC)"
|
|
depends on DM
|
|
---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 DM_PMIC_MAX77686
|
|
bool "Enable Driver Model for PMIC MAX77686"
|
|
depends on DM_PMIC
|
|
---help---
|
|
This config enables implementation of driver-model pmic uclass features
|
|
for PMIC MAX77686. The driver implements read/write operations.
|