]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: pmic: add max77686 pmic driver
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 20 Apr 2015 18:07:46 +0000 (20:07 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:40:25 +0000 (22:40 +0200)
commite7386357d7009b91d7160ea0a3cbb7a8f1d1070c
treebea57cbef23ed54363d1984c695ac029e769107d
parentdf7a4f170ae5ce8ec9afc33cf7b8f9a078331e59
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>
doc/device-tree-bindings/pmic/max77686.txt [new file with mode: 0644]
drivers/power/pmic/Kconfig
drivers/power/pmic/Makefile
drivers/power/pmic/max77686.c [new file with mode: 0644]
drivers/power/pmic/pmic_max77686.c
include/power/max77686_pmic.h