Re: [PATCH] thermal: amlogic: Add hwmon support

From: Daniel Lezcano
Date: Mon Nov 16 2020 - 04:31:56 EST


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@xxxxxxxxxxxxxx>
> ---

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