linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Jon Hunter <jonathanh@nvidia.com>
Cc: "Rafael J . Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Thierry Reding <thierry.reding@gmail.com>,
	linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-tegra@vger.kernel.org, Yi-Wei Wang <yiweiw@nvidia.com>
Subject: Re: [PATCH 1/2] dt-bindings: thermal: Add Tegra234 BPMP thermal zones
Date: Wed, 25 Jan 2023 14:26:45 -0600	[thread overview]
Message-ID: <20230125202645.GA2849386-robh@kernel.org> (raw)
In-Reply-To: <20230124115119.21451-1-jonathanh@nvidia.com>

On Tue, Jan 24, 2023 at 11:51:18AM +0000, Jon Hunter wrote:
> From: Yi-Wei Wang <yiweiw@nvidia.com>
> 
> Add BPMP thermal zone definitions for Tegra234.
> 
> Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
>  .../thermal/tegra234-bpmp-thermal.h           | 19 +++++++++++++++++++

Match the compatible name please.

>  1 file changed, 19 insertions(+)
>  create mode 100644 include/dt-bindings/thermal/tegra234-bpmp-thermal.h
> 
> diff --git a/include/dt-bindings/thermal/tegra234-bpmp-thermal.h b/include/dt-bindings/thermal/tegra234-bpmp-thermal.h
> new file mode 100644
> index 000000000000..41a5efebcc7a
> --- /dev/null
> +++ b/include/dt-bindings/thermal/tegra234-bpmp-thermal.h
> @@ -0,0 +1,19 @@

License? Dual please.

> +/*
> + * This header provides constants for binding nvidia,tegra234-bpmp-thermal.
> + */
> +
> +#ifndef _DT_BINDINGS_THERMAL_TEGRA234_BPMP_THERMAL_H
> +#define _DT_BINDINGS_THERMAL_TEGRA234_BPMP_THERMAL_H
> +
> +#define TEGRA234_THERMAL_ZONE_CPU	0
> +#define TEGRA234_THERMAL_ZONE_GPU	1
> +#define TEGRA234_THERMAL_ZONE_CV0	2
> +#define TEGRA234_THERMAL_ZONE_CV1	3
> +#define TEGRA234_THERMAL_ZONE_CV2	4
> +#define TEGRA234_THERMAL_ZONE_SOC0	5
> +#define TEGRA234_THERMAL_ZONE_SOC1	6
> +#define TEGRA234_THERMAL_ZONE_SOC2	7
> +#define TEGRA234_THERMAL_ZONE_TJ_MAX	8
> +#define TEGRA234_THERMAL_ZONE_COUNT	9
> +
> +#endif
> -- 
> 2.25.1
> 

  parent reply	other threads:[~2023-01-25 20:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-24 11:51 [PATCH 1/2] dt-bindings: thermal: Add Tegra234 BPMP thermal zones Jon Hunter
2023-01-24 11:51 ` [PATCH 2/2] arm64: tegra: Add thermal support for Tegra234 Jon Hunter
2023-01-25 11:05   ` Jon Hunter
2023-01-25 20:26 ` Rob Herring [this message]
2023-01-25 21:18   ` [PATCH 1/2] dt-bindings: thermal: Add Tegra234 BPMP thermal zones Jon Hunter

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=20230125202645.GA2849386-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=yiweiw@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;
as well as URLs for NNTP newsgroup(s).