diff options
| author | Alexander Stein <[email protected]> | 2025-04-09 06:54:26 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2025-04-23 14:18:27 +0000 |
| commit | 0d01110e6356e95320091f36e3d7ce92fa597d1f (patch) | |
| tree | fb7ce9d6188876b1e223c74236be36b726f9522b /drivers/hwmon/pwm-fan.c | |
| parent | hwmon: (ina2xx) make regulator 'vs' support optional (diff) | |
| download | kernel-0d01110e6356e95320091f36e3d7ce92fa597d1f.tar.gz kernel-0d01110e6356e95320091f36e3d7ce92fa597d1f.zip | |
hwmon: (gpio-fan) Add regulator support
FANs might be supplied by a regulator which needs to be enabled as well.
This is implemented using runtime PM. Every time speed_index changes from
0 to non-zero and vise versa RPM is resumed or suspended.
Intitial RPM state is determined by initial value of speed_index.
Signed-off-by: Alexander Stein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions
