dm: regulator: add max77686 regulator driver
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 20 Apr 2015 18:07:47 +0000 (20:07 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:38 +0000 (18:49 -0600)
commit1757df4693fcde9fb4d4de02a22cc74d6f5caec1
treeadd1e3d428ee3ff1897b0c20f85f983be22755cb
parent52a3de5e123b3c36706b3904464a409b70e2d481
dm: regulator: add max77686 regulator driver

This commit adds support to MAX77686 regulator driver,
based on a driver model regulator's API. It implements
almost all regulator operations, beside those for setting
and geting the Current value.
For proper bind and operation it requires the MAX77686 PMIC driver.

New file: drivers/power/regulator/max77686.c
New config: CONFIG_DM_REGULATOR_MAX77686

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
doc/device-tree-bindings/regulator/max77686.txt [new file with mode: 0644]
drivers/power/Makefile
drivers/power/regulator/Kconfig
drivers/power/regulator/Makefile
drivers/power/regulator/max77686.c [new file with mode: 0644]
include/power/max77686_pmic.h
include/power/regulator.h