From: sashiko-bot@kernel.org
To: "Ronald Claveau" <linux-kernel-dev@aliel.fr>
Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org, neil.armstrong@linaro.org
Subject: Re: [PATCH v6 3/4] arm64: dts: amlogic: t7: Add thermal zones
Date: Thu, 15 Oct 2026 18:00:09 +0000 [thread overview]
Message-ID: <sashiko-outbox-173272@kernel.org> (raw)
In-Reply-To: <20261015-add-thermal-t7-vim4-v6-3-37d1c954390c@aliel.fr>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dts: thermal trip points labeled as 'hot' are incorrectly typed as 'passive'
--
commit f22129efed7c6439714c1c2501834a6c01be9e9e
Author: Ronald Claveau <linux-kernel-dev@aliel.fr>
arm64: dts: amlogic: t7: Add thermal zones
This commit adds thermal zones for all six sensors (a53, a73, gpu, nna,
vpu, and hevc) to the amlogic t7 device tree configuration.
> diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
> index c81632d3984e8..454a042865a5a 100644
> --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
[ ... ]
> + gpu_thermal: gpu-thermal {
> + polling-delay = <1000>;
> + polling-delay-passive = <100>;
> + thermal-sensors = <&gpu_tsensor>;
> +
> + trips {
> + gpu_passive: gpu-passive {
> + temperature = <95000>;
> + hysteresis = <5000>;
> + type = "passive";
> + };
> +
> + gpu_hot: gpu-hot {
> + temperature = <105000>;
> + hysteresis = <5000>;
> + type = "passive";
[Severity: Medium]
Does this incorrectly set the trip type for gpu-hot to "passive" instead
of "hot"? The thermal subsystem will treat this as a passive trip point,
meaning the standard hot thermal events won't trigger at the 105°C
threshold.
> + };
[ ... ]
> + hevc_thermal: hevc-thermal {
> + polling-delay = <1000>;
> + polling-delay-passive = <100>;
> + thermal-sensors = <&hevc_tsensor>;
> +
> + trips {
> + hevc_passive: hevc-passive {
> + temperature = <95000>;
> + hysteresis = <5000>;
> + type = "passive";
> + };
> +
> + hevc_hot: hevc-hot {
> + temperature = <105000>;
> + hysteresis = <5000>;
> + type = "passive";
[Severity: Medium]
Similarly, should the type for hevc-hot be "hot" rather than "passive"?
> + };
[ ... ]
> + nna_thermal: nna-thermal {
> + polling-delay = <1000>;
> + polling-delay-passive = <100>;
> + thermal-sensors = <&nna_tsensor>;
> +
> + trips {
> + nna_passive: nna-passive {
> + temperature = <95000>;
> + hysteresis = <5000>;
> + type = "passive";
> + };
> +
> + nna_hot: nna-hot {
> + temperature = <105000>;
> + hysteresis = <5000>;
> + type = "passive";
[Severity: Medium]
Does this nna-hot trip point also need its type updated to "hot" so that
it behaves distinctly from the passive trip point?
> + };
[ ... ]
> + vpu_thermal: vpu-thermal {
> + polling-delay = <1000>;
> + polling-delay-passive = <100>;
> + thermal-sensors = <&vpu_tsensor>;
> +
> + trips {
> + vpu_passive: vpu-passive {
> + temperature = <95000>;
> + hysteresis = <5000>;
> + type = "passive";
> + };
> +
> + vpu_hot: vpu-hot {
> + temperature = <105000>;
> + hysteresis = <5000>;
> + type = "passive";
[Severity: Medium]
Is this another instance where the vpu-hot type was intended to be
"hot" rather than "passive"?
> + };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261015-add-thermal-t7-vim4-v6-0-37d1c954390c@aliel.fr?part=3
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2026-10-15 18:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 17:54 [PATCH v6 0/4] arm64: amlogic: T7 thermal support Ronald Claveau via B4 Relay
2026-10-15 17:54 ` [PATCH v6 1/4] arm64: dts: amlogic: t7: Add cooling cells to all CPUs Ronald Claveau via B4 Relay
2026-10-15 17:54 ` [PATCH v6 2/4] arm64: dts: amlogic: t7: Add thermal sensor nodes Ronald Claveau via B4 Relay
2026-10-15 17:54 ` [PATCH v6 3/4] arm64: dts: amlogic: t7: Add thermal zones Ronald Claveau via B4 Relay
2026-10-15 18:00 ` sashiko-bot [this message]
2026-10-15 18:12 ` Ronald Claveau
2026-10-15 17:54 ` [PATCH v6 4/4] arm64: dts: amlogic: t7: khadas-vim4: Add fan cooling to " Ronald Claveau via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-173272@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-kernel-dev@aliel.fr \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®