[PATCH] thermal: amlogic: Add hwmon support
Daniel Lezcano
daniel.lezcano at linaro.org
Mon Nov 16 04:31:27 EST 2020
On 15/11/2020 20:06, Martin Blumenstingl wrote:
> 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 at googlemail.com>
> ---
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
More information about the linux-amlogic
mailing list