diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-04-20 20:07:47 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 18:49:38 -0600 |
commit | 1757df4693fcde9fb4d4de02a22cc74d6f5caec1 (patch) | |
tree | add1e3d428ee3ff1897b0c20f85f983be22755cb /drivers/power/regulator/Kconfig | |
parent | 52a3de5e123b3c36706b3904464a409b70e2d481 (diff) |
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>
Diffstat (limited to 'drivers/power/regulator/Kconfig')
-rw-r--r-- | drivers/power/regulator/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index cb1516258a2..0cdfabc5bf3 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -15,3 +15,11 @@ config DM_REGULATOR when binding the regulator devices. The pmic_bind_childs() can be used for this purpose if PMIC I/O driver is implemented or dm_scan_fdt_node() otherwise. Detailed informations can be found in the header file. + +config DM_REGULATOR_MAX77686 + bool "Enable Driver Model for REGULATOR MAX77686" + depends on DM_REGULATOR && DM_PMIC_MAX77686 + ---help--- + This config enables implementation of driver-model regulator uclass + features for REGULATOR MAX77686. The driver implements get/set api for: + value, enable and mode. |