diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2016-09-23 15:57:19 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-10-01 18:35:01 -0600 |
commit | 1a01695615f91f9f47d91ad4045b2b170bcb1b5e (patch) | |
tree | bac88c3abfac5347ad55d5779fa55a2d59f249dd /drivers/power/regulator/Kconfig | |
parent | d840daf4c247aa2a9bfade9317a4d2724afe21b3 (diff) |
power: regulator: add pwm regulator
add driver support for pwm regulator.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/power/regulator/Kconfig')
-rw-r--r-- | drivers/power/regulator/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index 17f22dda2b..c7e88c0081 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -42,6 +42,16 @@ config DM_REGULATOR_PFUZE100 features for REGULATOR PFUZE100. The driver implements get/set api for: value, enable and mode. +config REGULATOR_PWM + bool "Enable driver for PWM regulators" + depends on DM_REGULATOR + ---help--- + Enable support for the PWM regulator functions which voltage are + controlled by PWM duty ratio. Some of Rockchip board using this kind + of regulator. The driver implements get/set api for the various BUCKS. + This driver is controlled by a device tree node + which includes voltage limits. + config DM_REGULATOR_MAX77686 bool "Enable Driver Model for REGULATOR MAX77686" depends on DM_REGULATOR && DM_PMIC_MAX77686 |