diff options
author | Mykola Kostenok <c_mykolak@mellanox.com> | 2017-08-03 11:50:44 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-08-13 08:24:38 -0700 |
commit | f198907d2ff6db9541863764576aaf3bc9f58ec0 (patch) | |
tree | 0d9f2f036ef54a83ea93417ac9ccf3e2c918cd29 /drivers/hwmon/mcp3021.c | |
parent | 5e047541c1412f22d1c0950260da337ebc9bdb49 (diff) |
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>
Diffstat (limited to 'drivers/hwmon/mcp3021.c')
0 files changed, 0 insertions, 0 deletions