commit | a50c1e35650b929500bd89be61c89d95a267ce56 | [log] [tgz] |
---|---|---|
author | Ivan Vecera <cera@cera.cz> | Tue Nov 22 11:24:13 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 22 10:04:19 2016 -0500 |
tree | 31ed2e98fb076db71e812bd915a731fa7643a39f | |
parent | 55c63aaa6952c819e772e9c2d4a7602c062f012c [diff] |
mlxsw: core: Implement thermal zone Implement thermal zone for mlxsw based HW. It uses temperature sensor provided by ASIC (the same as mlxsw hwmon interface) to report current temp to thermal core. The ASIC's PWM is then used to control speed of system fans registered as cooling devices. Signed-off-by: Ivan Vecera <cera@cera.cz> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>