diff options
| author | GUI <[email protected]> | 2026-08-07 21:29:33 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-07 21:29:33 +0800 |
| commit | c19fe2c8238e3c5d329fca4fc219e3924240945b (patch) | |
| tree | 1bb93089ddb6f0574a4c747f51ac087dbe39c1df /components/drivers/regulator/SConscript | |
| parent | 19e9be8779eb09d240bacbeee8c1c245fd874832 (diff) | |
[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 <[email protected]>
* [dm][regulator] add PWM regulator support
Signed-off-by: GuEe-GUI <[email protected]>
* style: format code with clang-format
* style: format complete changed files with clang-format
---------
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/regulator/SConscript')
| -rwxr-xr-x | components/drivers/regulator/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/regulator/SConscript b/components/drivers/regulator/SConscript index 70245b9c49..9d5e0fbb18 100755 --- a/components/drivers/regulator/SConscript +++ b/components/drivers/regulator/SConscript @@ -19,6 +19,9 @@ if GetDepend(['RT_REGULATOR_FIXED']): if GetDepend(['RT_REGULATOR_GPIO']): src += ['regulator-gpio.c'] +if GetDepend(['RT_REGULATOR_PWM']): + src += ['regulator-pwm.c'] + if GetDepend(['RT_REGULATOR_SCMI']): src += ['regulator-scmi.c'] |
