diff options
author | Nuno Sá <[email protected]> | 2021-08-11 13:48:53 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2021-08-17 14:54:26 -0700 |
commit | 2aee7e67bee7a5aa741bad6a0a472f108b29ad40 (patch) | |
tree | 88c17b00df1651cb0c8ec4d2c0f5d00af959bf14 /lib/test_overflow.c | |
parent | e66705de8206350bf24cb66c4a0e675be35f3430 (diff) |
hwmon: (axi-fan-control) Support temperature vs pwm points
The HW has some predefined points where it will associate a PWM value.
However some users might want to better set these points to their
usecases. This patch exposes these points as pwm auto_points:
* pwm1_auto_point1_temp_hyst: temperature threshold below which PWM should
be 0%;
* pwm1_auto_point1_temp: temperature threshold above which PWM should be
25%;
* pwm1_auto_point2_temp_hyst: temperature threshold below which PWM should
be 25%;
* pwm1_auto_point2_temp: temperature threshold above which PWM should be
50%;
* pwm1_auto_point3_temp_hyst: temperature threshold below which PWM should
be 50%;
* pwm1_auto_point3_temp: temperature threshold above which PWM should be
75%;
* pwm1_auto_point4_temp_hyst: temperature threshold below which PWM should
be 75%;
* pwm1_auto_point4_temp: temperature threshold above which PWM should be
100%;
Signed-off-by: Nuno Sá <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions