]> git.ipfire.org Git - thirdparty/u-boot.git/commit
power: regulator: fix dependency for REGULATOR_PWM
authorQuentin Schulz <quentin.schulz@cherry.de>
Fri, 12 Dec 2025 18:13:19 +0000 (19:13 +0100)
committerPeng Fan <peng.fan@nxp.com>
Wed, 24 Dec 2025 04:06:45 +0000 (12:06 +0800)
commit2c01c4b72064e8832ab1076c0384ff52aab8cd7d
tree03e7329a2157beefac3eac3e10d48b8437fb84be
parenta56270310af18db96fd45a2d59a0dc1ec2e26328
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>
drivers/power/regulator/Kconfig