diff options
author | Vadim Pasternak <vadimp@mellanox.com> | 2019-02-13 11:28:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-13 22:33:02 -0800 |
commit | a53779de6a0ea6f25d3d5b60567ffc3671f1da7b (patch) | |
tree | 8adeac375c1357f4eee9d9f955c4a88c0e2759b5 /drivers/pinctrl/uniphier | |
parent | 5c42eaa07bd040d965b7a41b9596be5741016d1a (diff) |
mlxsw: core: Add QSFP module temperature label attribute to hwmon
Add label attribute to hwmon object for exposing QSFP module's
temperature sensor name. Modules are labeled as "front panel xxx". The
label is used by utilities such as "sensors":
front panel 001: +0.0C (crit = +0.0C, emerg = +0.0C)
..
front panel 020: +31.0C (crit = +70.0C, emerg = +80.0C)
..
front panel 056: +41.0C (crit = +70.0C, emerg = +80.0C)
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>
Diffstat (limited to 'drivers/pinctrl/uniphier')
0 files changed, 0 insertions, 0 deletions