From: David S. Miller Date: Mon, 24 Jun 2019 15:15:42 +0000 (-0700) Subject: Merge branch 'mlxsw-Thermal-and-hwmon-extensions' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=18f3896dfd0e158576362812c60e4765f5678225;p=openwrt%2Fstaging%2Fblogic.git 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 2e265a8b6c09 ("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 --- 18f3896dfd0e158576362812c60e4765f5678225