Re: [PATCH] arm64: dts: qcom: pm6350: add temp sensor and thermal zone config
From: Krzysztof Kozlowski
Date: Fri Aug 12 2022 - 09:36:54 EST
On 12/08/2022 14:44, Luca Weiss wrote:
> Add temp-alarm device tree node and a default configuration for the
> corresponding thermal zone for this PMIC. Temperatures are based on
> downstream values.
>
> Signed-off-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
> ---
> With this config I'm getting this in dmesg, not sure if it's a warning
> that should be solved or just an informative warning.
>
> [ 0.268256] spmi-temp-alarm c440000.spmi:pmic@0:temp-alarm@2400: No ADC is configured and critical temperature is above the maximum stage 2 threshold of 140 C! Configuring stage 2 shutdown at 140 C.
>
> As far as I can tell, based on downstream dts this PMIC doesn't have an
> ADC.
You configure 145 and driver believes 140 is the limit, so it seems
warning should be addressed.
>From where did you get 145 degrees as limit? Downstream DTS?
Best regards,
Krzysztof