devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: thermal: Add Tegra234 BPMP thermal zones
@ 2023-01-24 11:51 Jon Hunter
  2023-01-24 11:51 ` [PATCH 2/2] arm64: tegra: Add thermal support for Tegra234 Jon Hunter
  2023-01-25 20:26 ` [PATCH 1/2] dt-bindings: thermal: Add Tegra234 BPMP thermal zones Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Jon Hunter @ 2023-01-24 11:51 UTC (permalink / raw)
  To: Rafael J . Wysocki, Daniel Lezcano, Rob Herring,
	Krzysztof Kozlowski, Thierry Reding
  Cc: linux-pm, devicetree, linux-tegra, Yi-Wei Wang, Jon Hunter

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 +++++++++++++++++++
 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 @@
+/*
+ * 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-25 21:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 1/2] dt-bindings: thermal: Add Tegra234 BPMP thermal zones Rob Herring
2023-01-25 21:18   ` Jon Hunter

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).