rt-thread/components/drivers/regulator
GUI c19fe2c823
[dm][regulator] Update Regulator (#11674)
* [dm][regulator] update regulator

Replace the regulator framework spinlock with a mutex
because regulator operations may sleep.
Move always-on policy into the regulator core,
keep an initial enable reference for always-on supplies,
prevent the last disable from turning them off,
and let fixed/GPIO providers report and control their actual hardware state.

Signed-off-by: GuEe-GUI <2991707448@qq.com>

* [dm][regulator] add PWM regulator support

Signed-off-by: GuEe-GUI <2991707448@qq.com>

* style: format code with clang-format

* style: format complete changed files with clang-format

---------

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-08-07 21:29:33 +08:00
..
Kconfig [dm][regulator] Update Regulator (#11674) 2026-08-07 21:29:33 +08:00
SConscript [dm][regulator] Update Regulator (#11674) 2026-08-07 21:29:33 +08:00
regulator-fan53555.c drivers: fix fan53555 slew rate bounds check 2026-07-08 14:02:15 +08:00
regulator-fixed.c [dm][regulator] Update Regulator (#11674) 2026-08-07 21:29:33 +08:00
regulator-gpio.c [dm][regulator] Update Regulator (#11674) 2026-08-07 21:29:33 +08:00
regulator-pwm.c [dm][regulator] Update Regulator (#11674) 2026-08-07 21:29:33 +08:00
regulator-scmi.c [dm][firmware][scmi] support ARM-SCMI interface #11069 2025-12-19 21:20:17 +08:00
regulator.c [dm][regulator] Update Regulator (#11674) 2026-08-07 21:29:33 +08:00
regulator_cmd.c [drivers][power] add CLI helpers and current control support#11301 2026-04-07 11:50:11 +08:00
regulator_dm.c [DM][REGULATOR] Support operator delay 2025-12-02 21:36:58 +08:00
regulator_dm.h [drivers][power] add CLI helpers and current control support#11301 2026-04-07 11:50:11 +08:00