mlxsw: core: Allow thermal zone binding to an external cooling device
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 13 Feb 2019 11:28:56 +0000 (11:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 06:33:02 +0000 (22:33 -0800)
commit97cd342ae41fd524906e5acb0b760fd8331f3b1b
tree9b56fa2585722d769c2178bf0125af1c702c678f
parenta53779de6a0ea6f25d3d5b60567ffc3671f1da7b
mlxsw: core: Allow thermal zone binding to an external cooling device

Allow thermal zone binding to an external cooling device from the
cooling devices white list.

It provides support for Mellanox next generation systems on which
cooling device logic is not controlled through the switch registers.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c