diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2020-11-15 20:06:58 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-11-16 10:30:53 +0100 |
commit | cb68a8580e2086fad38597af4c60d39de8df0cde (patch) | |
tree | 9d3b654c6a48da4e5827fede7fa9cc9050dd427a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e78acf7efebff9184ad4add02b62a1f486a8cde8 (diff) |
thermal: amlogic: Add hwmon support
Many monitoring tools read the CPU temperature using the hwmon
interface. Expose the thermal sensors on Amlogic boards as hwmon
devices.
Without this lm_sensors' "sensors" tool does not find any temperature
sensors. Now it prints:
cpu_thermal-virtual-0
Adapter: Virtual device
temp1: +44.7 C (crit = +110.0 C)
ddr_thermal-virtual-0
Adapter: Virtual device
temp1: +45.9 C (crit = +110.0 C)
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201115190658.631578-1-martin.blumenstingl@googlemail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions