Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for temp-PWM curves and parameters (#62)
* 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