power: regulator: Correct dependencies on SPL_REGULATOR_PWM
authorTom Rini <trini@konsulko.com>
Fri, 3 Oct 2025 20:39:24 +0000 (14:39 -0600)
committerPeng Fan <peng.fan@nxp.com>
Fri, 10 Oct 2025 02:59:41 +0000 (10:59 +0800)
commit2a846e04c62297a909fc2828d9e0fe87dc0269cf
tree52d71e78bf9c93f5510cb7aaf9a7d11246285a9a
parent6304cfa5a7ea57725700556f8f64197a75f93066
power: regulator: Correct dependencies on SPL_REGULATOR_PWM

In order to enable and build with SPL_REGULATOR_PWM we need to have both
SPL_DM_REGULATOR and SPL_DM_PWM enabled. Build-wise, we can have SPL
have PWM regulator support without enabling it in U-Boot itself so drop
that dependency.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/regulator/Kconfig