dm: pmic: add max77686 pmic driver
This is the implementation of driver model PMIC driver. The max77686 PMIC driver implements read/write operations and driver bind method - to bind its childs. This driver will try to bind the regulator devices by using it's child info array with regulator prefixes and driver names. This should succeed when compatible regulator driver is compiled. If no regulator driver found, then the pmic can still provide read/write operations, and can be used with PMIC function calls. Signed-off-by:Przemyslaw Marczak <p.marczak@samsung.com> Acked-by:
Simon Glass <sjg@chromium.org>
Showing
- doc/device-tree-bindings/pmic/max77686.txt 35 additions, 0 deletionsdoc/device-tree-bindings/pmic/max77686.txt
- drivers/power/pmic/Kconfig 7 additions, 0 deletionsdrivers/power/pmic/Kconfig
- drivers/power/pmic/Makefile 1 addition, 0 deletionsdrivers/power/pmic/Makefile
- drivers/power/pmic/max77686.c 87 additions, 0 deletionsdrivers/power/pmic/max77686.c
- drivers/power/pmic/pmic_max77686.c 1 addition, 1 deletiondrivers/power/pmic/pmic_max77686.c
- include/power/max77686_pmic.h 8 additions, 2 deletionsinclude/power/max77686_pmic.h
doc/device-tree-bindings/pmic/max77686.txt
0 → 100644
drivers/power/pmic/max77686.c
0 → 100644
Please register or sign in to comment