dm: pmic: add max77686 pmic driver
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 20 Apr 2015 18:07:46 +0000 (20:07 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:38 +0000 (18:49 -0600)
commit52a3de5e123b3c36706b3904464a409b70e2d481
treefe4daecccf8a33a6f5525a569c50a984543b7c29
parentf37df0f877347808db1102f95839c47b92c9b3e0
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