Skip to content

Commit

Permalink
Support for temp-PWM curves and parameters (#62)
Browse files Browse the repository at this point in the history
* Remix sysfs attribute template and generation code from nct6683
* Add general curve info
* Implement reading temp points on curve, format line
* Implement reading PWM points on curve
* Implement writing PWM points in curve
* Implement writing temp points on curve; small formatting fixes
* Enable fan curves for Octo and Quadro only
* Add various ctrl offsets for Quadro and Octo
* Implement reading and writing to curve parameters

Implemented curve params are:
- Hold min power
- Start boost
- Min power
- Max power
- Fallback power

* Set fan to max speed if pwmX_enable is 0
* Make pwmX_enable visible only for Quadro and Octo

D5 Next will be enabled once the offset macros are in place

* Add various ctrl offsets for D5 Next
* Make pwmX_enable and curves visible for D5 Next
* Rename curve_power_hold_start to curve_power_min_hold
* Disable start boost and min power hold for pump channel on D5 Next
* Remove superfluous comments
* Rename bit position macros
* Fix power_min_hold to power_hold_min
---------

Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
  • Loading branch information
aleksamagicka authored Jul 5, 2023
1 parent f82779a commit dda741d
Showing 1 changed file with 712 additions and 7 deletions.
Loading

0 comments on commit dda741d

Please sign in to comment.