Re: [PATCH] thermal/drivers/sun8i: Don't fail probe due to zone registration failure

From: Daniel Lezcano
Date: Sun Jul 23 2023 - 05:40:41 EST



Hi Mark,

On 22/07/2023 18:46, Mark Brown wrote:
On Sat, Jul 22, 2023 at 08:11:43PM +0800, Icenowy Zheng wrote:
在 2023-07-18星期二的 16:04 +0100,Mark Brown写道:

Since we currently do not define any trip points for the GPU thermal
zones on at least A64 or H5 this means that we have no thermal
support
on these platforms:

[    1.698703] thermal_sys: Failed to find 'trips' node
[    1.698707] thermal_sys: Failed to find trip points for thermal-
sensor id=1

I think this is an issue in the core thermal subsystem, and sent a
patch; Unfortunately the patch seems to be rejected by linux-arm-kernel
(and some other mailing lists)...

It did seem to be a bit of an excessively strict requirement, I was
going to poke at that myself. It does seem worthwhile doing the change
in the sun8i driver anyway, there might be some other issue that causes
registration to fail which would have the same issue.

Why do you want a thermal zone if there is no trip point ?


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