Searched hist:f198907d2ff6db9541863764576aaf3bc9f58ec0 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hwmon/ |
H A D | aspeed-pwm-tacho.c | diff f198907d2ff6db9541863764576aaf3bc9f58ec0 Thu Aug 03 10:50:44 CEST 2017 Mykola Kostenok <c_mykolak@mellanox.com> hwmon: (aspeed-pwm-tacho) cooling device support.
Add support in aspeed-pwm-tacho driver for cooling device creation. This cooling device could be bound to a thermal zone for the thermal control. Device will appear in /sys/class/thermal folder as cooling_deviceX. Then it could be bound to particular thermal zones. Allow specification of the cooling levels vector - PWM duty cycle values in a range from 0 to 255 which correspond to thermal cooling states.
Signed-off-by: Mykola Kostenok <c_mykolak@mellanox.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|