Re: [PATCH net-next v2 3/3] mlxsw: core: Add support for negative temperature readout

2019-06-24 Thread Jiri Pirko
Mon, Jun 24, 2019 at 12:32:03PM CEST, ido...@idosch.org wrote: >From: Vadim Pasternak > >Extend macros MLXSW_REG_MTMP_TEMP_TO_MC() to allow support of negative >temperature readout, since chip and others thermal components are >capable of operating within the negative temperature. >With no such su

[PATCH net-next v2 3/3] mlxsw: core: Add support for negative temperature readout

2019-06-24 Thread Ido Schimmel
From: Vadim Pasternak Extend macros MLXSW_REG_MTMP_TEMP_TO_MC() to allow support of negative temperature readout, since chip and others thermal components are capable of operating within the negative temperature. With no such support negative temperature will be consider as very high temperature