diff options
author | Daniel González Cabanelas <dgcbueu@gmail.com> | 2021-01-03 22:32:59 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-01-30 01:03:00 +0100 |
commit | 24b910dca2d6a241d36da052a5067680c823cb04 (patch) | |
tree | db8ea0b946bc8d8812f0c3afca82e7d95d03416f /target/linux/kirkwood/files-5.4/arch | |
parent | e9d551fac1b4a07a089c49adb5dd2e87dab9e8b6 (diff) | |
download | upstream-24b910dca2d6a241d36da052a5067680c823cb04.tar.gz upstream-24b910dca2d6a241d36da052a5067680c823cb04.tar.bz2 upstream-24b910dca2d6a241d36da052a5067680c823cb04.zip |
mvebu: LS421DE: fix the thermal zones
The thermal zones kernel documentation is misleading, we cannot use more
than one sensor in a thermal zone node.
Furthermore the drivetemp driver for some reason it only catches one
sensor from the hard drives array (the first available).
In the Buffalo Linkstation LS421DE board there is also a sensor at the
ethernet phy chip that can also be monitored. Very useful to stop the fan
when there are no hard drives in the bays.
(It might be also possible to add the CPU sensor, but it requires kernel
patching for registering the sensor via device tree, using the function:
devm_thermal_zone_of_sensor_register)
Fix the thermal zones to use only one sensor per node and add the ethernet
phy sensor. Also adjust the hdd temperatures to be more conservative for
a mechanical hard drive.
Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Diffstat (limited to 'target/linux/kirkwood/files-5.4/arch')
0 files changed, 0 insertions, 0 deletions