Devicetree
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Thierry Reding <thierry.reding@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
	Thierry Reding <treding@nvidia.com>
Subject: Re: [PATCH 2/4] dt-bindings: thermal: Add Tegra264 header
Date: Thu, 27 Aug 2026 17:35:28 +0100	[thread overview]
Message-ID: <20260827-riverbank-cinema-d898d4e5a522@spud> (raw)
In-Reply-To: <20260827-tegra264-fan-v1-2-3c55f0c748b1@nvidia.com>

[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]

On Thu, Aug 27, 2026 at 05:07:51PM +0200, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> This header file defines the set of thermal zones exposed by the BPMP on
> Tegra264.

Does this need to be a binding, since you're just using it in the dts?
Can it just go into your dts directory insteaD?

Cheers,
Conor.

> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  include/dt-bindings/thermal/nvidia,tegra264-bpmp.h | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/include/dt-bindings/thermal/nvidia,tegra264-bpmp.h b/include/dt-bindings/thermal/nvidia,tegra264-bpmp.h
> new file mode 100644
> index 000000000000..b32739691385
> --- /dev/null
> +++ b/include/dt-bindings/thermal/nvidia,tegra264-bpmp.h
> @@ -0,0 +1,20 @@
> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
> +/* SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. */
> +
> +#ifndef DT_BINDINGS_THERMAL_NVIDIA_TEGRA264_BPMP_H
> +#define DT_BINDINGS_THERMAL_NVIDIA_TEGRA264_BPMP_H
> +
> +#define TEGRA264_THERMAL_ZONE_TJ_MAX		0
> +#define TEGRA264_THERMAL_ZONE_TJ_MIN		1
> +#define TEGRA264_THERMAL_ZONE_GPU_AVG		2
> +#define TEGRA264_THERMAL_ZONE_CPU_AVG		3
> +#define TEGRA264_THERMAL_ZONE_SOC_012_AVG	4
> +#define TEGRA264_THERMAL_ZONE_SOC_45_AVG	5
> +#define TEGRA264_THERMAL_ZONE_SOC_3_AVG		6
> +#define TEGRA264_THERMAL_ZONE_GPU_MAX		7
> +#define TEGRA264_THERMAL_ZONE_CPU_MAX		8
> +#define TEGRA264_THERMAL_ZONE_SOC_012_MAX	9
> +#define TEGRA264_THERMAL_ZONE_SOC_345_MAX	10
> +#define TEGRA264_THERMAL_ZONE_TJ_AVG		11
> +
> +#endif /* DT_BINDINGS_THERMAL_NVIDIA_TEGAR264_BPMP_H */
> 
> -- 
> 2.55.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  parent reply	other threads:[~2026-08-27 16:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-27 15:07 [PATCH 0/4] arm64: tegra: Add cooling device on Jetson AGX Thor DevKit Thierry Reding
2026-08-27 15:07 ` [PATCH 1/4] arm64: tegra: Add PWM fan on Jetson AGX Orin DevKit Thierry Reding
2026-08-27 15:18   ` sashiko-bot
2026-08-27 15:07 ` [PATCH 2/4] dt-bindings: thermal: Add Tegra264 header Thierry Reding
2026-08-27 15:14   ` sashiko-bot
2026-08-27 16:35   ` Conor Dooley [this message]
2026-08-27 17:17     ` Thierry Reding
2026-08-27 17:33       ` Conor Dooley
2026-08-27 15:07 ` [PATCH 3/4] arm64: tegra: Add thermal zones for Tegra264 Thierry Reding
2026-08-27 15:07 ` [PATCH 4/4] arm64: tegra: Add cooling device on Jetson AGX Thor DevKit Thierry Reding

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=20260827-riverbank-cinema-d898d4e5a522@spud \
    --to=conor@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=thierry.reding@kernel.org \
    --cc=treding@nvidia.com \
    /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