summaryrefslogtreecommitdiff
path: root/include/dt-bindings/thermal
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2022-11-17 16:02:30 +0300
committerThierry Reding <treding@nvidia.com>2023-06-09 18:44:26 +0300
commit09d990782a243b97eb566717a2155a306a2f42af (patch)
treeed7d96cc7dba0b8d7ad23f7391e3c9cba5c11b99 /include/dt-bindings/thermal
parentbd9681c00612a6830ecf74403584054e74646dd0 (diff)
downloadlinux-09d990782a243b97eb566717a2155a306a2f42af.tar.xz
arm64: tegra: Add Tegra234 thermal support
Add device tree node for the BPMP thermal node on Tegra234 and add thermal zone definitions. Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/dt-bindings/thermal')
-rw-r--r--include/dt-bindings/thermal/tegra234-bpmp-thermal.h19
1 files changed, 19 insertions, 0 deletions
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..934787950932
--- /dev/null
+++ b/include/dt-bindings/thermal/tegra234-bpmp-thermal.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * 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_BPMP_THERMAL_ZONE_CPU 0
+#define TEGRA234_BPMP_THERMAL_ZONE_GPU 1
+#define TEGRA234_BPMP_THERMAL_ZONE_CV0 2
+#define TEGRA234_BPMP_THERMAL_ZONE_CV1 3
+#define TEGRA234_BPMP_THERMAL_ZONE_CV2 4
+#define TEGRA234_BPMP_THERMAL_ZONE_SOC0 5
+#define TEGRA234_BPMP_THERMAL_ZONE_SOC1 6
+#define TEGRA234_BPMP_THERMAL_ZONE_SOC2 7
+#define TEGRA234_BPMP_THERMAL_ZONE_TJ_MAX 8
+
+#endif