]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-Thermal-and-hwmon-extensions'
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2019 15:15:42 +0000 (08:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2019 15:15:42 +0000 (08:15 -0700)
commita79b517d3635545c874bbff66f4c4b41558f039c
tree87de5d9acc99112976a5bbe45ac7c28035a6a174
parent7c12dbcff7ec77411f7615f04df518854a14aafc
parent97fd75cdc4fe886919e3fbe69579d6641baec76a
Merge branch 'mlxsw-Thermal-and-hwmon-extensions'

Ido Schimmel says:

====================
mlxsw: Thermal and hwmon extensions

This patchset from Vadim includes various enhancements to thermal and
hwmon code in mlxsw.

Patch #1 adds a thermal zone for each inter-connect device (gearbox).
These devices are present in SN3800 systems and code to expose their
temperature via hwmon was added in commit 967eb94d8208 ("mlxsw: core:
Extend hwmon interface with inter-connect temperature attributes").

Currently, there are multiple thermal zones in mlxsw and only a few
cooling devices. Patch #2 detects the hottest thermal zone and the
cooling devices are switched to follow its trends. RFC was sent last
month [1].

Patch #3 allows to read and report negative temperature of the sensors
mlxsw exposes via hwmon and thermal subsystems.

v2 (Andrew Lunn):
* In patch #3, replace '%u' with '%d' in mlxsw_hwmon_module_temp_show()

[1] https://patchwork.ozlabs.org/patch/1107161/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>