mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
power: regulator: fix dependency for REGULATOR_PWM
The PWM regulator driver is a uclass driver, thus requiring DM_PWM to be
enabled to be actually usable (and with the appropriate PWM controller
driver enabled as well, but that we cannot enforce easily), so let's add
this missing dependency.
Fixes: 1a01695615f9 ("power: regulator: add pwm regulator")
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Reviewed-by: Anshul Dalal <anshuld@ti.com>
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
a56270310a
commit
2c01c4b720
@ -133,7 +133,7 @@ config DM_REGULATOR_PFUZE100
|
||||
|
||||
config REGULATOR_PWM
|
||||
bool "Enable driver for PWM regulators"
|
||||
depends on DM_REGULATOR
|
||||
depends on DM_REGULATOR && DM_PWM
|
||||
---help---
|
||||
Enable support for the PWM regulator functions which voltage are
|
||||
controlled by PWM duty ratio. Some of Rockchip board using this kind
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user