mlxsw: core: Extend allowed list of external cooling devices for thermal zone binding
authorVadim Pasternak <vadimp@nvidia.com>
Fri, 22 Sep 2023 17:18:37 +0000 (19:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Oct 2023 07:07:12 +0000 (08:07 +0100)
commit7afc79e20e22dc3ca552a75665b51b5a93e29632
treeb9a2e3f3122898b6bb15f62d60f60eb9357070be
parentc755655c3d8b2a4afe9610ec58a41c08d62c8ec0
mlxsw: core: Extend allowed list of external cooling devices for thermal zone binding

Extend the list of allowed external cooling devices for thermal zone
binding to include devices of type "emc2305".

The motivation is to provide support for the system SN2201, which is
equipped with the Spectrum-1 ASIC.
The system's airflow control is managed by the EMC2305 RPM-based PWM
Fan Speed Controller as the cooling device.

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