From: Thierry Reding <thierry.reding@gmail.com>
To: Gautham Srinivasan <gauthams@nvidia.com>
Cc: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Jonathan Hunter <jonathanh@nvidia.com>,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: Re: [PATCH 2/2] arm64: tegra: Enable soctherm for Orin Nano Devkit
Date: Fri, 7 Jul 2023 15:00:20 +0200 [thread overview]
Message-ID: <ZKgMZEpE0Y_h6MJ-@orome> (raw)
In-Reply-To: <20230706005545.1813584-2-gauthams@nvidia.com>
[-- Attachment #1: Type: text/plain, Size: 1901 bytes --]
On Thu, Jul 06, 2023 at 12:55:45AM +0000, Gautham Srinivasan wrote:
> Enable soctherm for Orin Nano Devkit. This is needed for the CPU
> fan to operate.
>
> Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
> ---
> .../arm64/boot/dts/nvidia/tegra234-p3767.dtsi | 38 +++++++++++++++++++
> 1 file changed, 38 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi
> index a8aa6e7d8fbc..cb76b08e15b9 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi
> @@ -98,6 +98,12 @@
> vin-supply = <&vdd_5v0_sys>;
> };
>
> + bpmp {
> + thermal {
> + status = "okay";
> + };
> + };
I cannot find where we set status = "disabled" for this node and given
that status = "okay" is the default, there doesn't seem to be any reason
to set this.
> thermal-zones {
> tj-thermal {
> polling-delay = <1000>;
> @@ -118,5 +124,37 @@
> };
> };
> };
> +
> + cpu-thermal {
> + status = "okay";
> + };
> +
> + gpu-thermal {
> + status = "okay";
> + };
> +
> + cv0-thermal {
> + status = "okay";
> + };
> +
> + cv1-thermal {
> + status = "okay";
> + };
> +
> + cv2-thermal {
> + status = "okay";
> + };
> +
> + soc0-thermal {
> + status = "okay";
> + };
> +
> + soc1-thermal {
> + status = "okay";
> + };
> +
> + soc2-thermal {
> + status = "okay";
> + };
Why are these needed? Previous discussions concluded that we don't want
to use any of these for monitoring temperatures because they are too
fine-grained for fan control.
I guess it could make sense to enable all of these so that they can be
monitored using sysfs if that's something we want, but in that case it
might be better to enable them in the top-level tegra234.dtsi.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2023-07-07 13:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-06 0:55 [PATCH 1/2] arm64: tegra: Enable PWM nodes for Orin Nano Devkit Gautham Srinivasan
2023-07-06 0:55 ` [PATCH 2/2] arm64: tegra: Enable soctherm " Gautham Srinivasan
2023-07-07 13:00 ` Thierry Reding [this message]
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=ZKgMZEpE0Y_h6MJ-@orome \
--to=thierry.reding@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gauthams@nvidia.com \
--cc=jonathanh@nvidia.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh+dt@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).