mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 17:30:17 +03:00
t23x: dts: restructure soctherm sensors
Previously soctherm sensors were included in platform-level (cvm+cvb)
files. This change moves them to module-level files, since the settings
are module-specific.
Bug 4893772
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I3b52dbc6f3183ef18087921cc2782f46d3229fa0
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3226551
(cherry picked from commit b75727c664)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3227430
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
f45d7bb69b
commit
203070088f
@@ -2,6 +2,10 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include "tegra234-p3701-0000-prod-overlay.dtsi"
|
#include "tegra234-p3701-0000-prod-overlay.dtsi"
|
||||||
|
#include "nv-soc/tegra234-soc-thermal.dtsi"
|
||||||
|
#include "nv-soc/tegra234-soc-thermal-slowdown-cluster.dtsi"
|
||||||
|
#include "nv-soc/tegra234-soc-thermal-shutdown.dtsi"
|
||||||
|
#include "nv-soc/tegra234-soc-thermal-trip-event.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
bus@0 {
|
bus@0 {
|
||||||
|
|||||||
@@ -2,10 +2,6 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include "nv-soc/tegra234-overlay.dtsi"
|
#include "nv-soc/tegra234-overlay.dtsi"
|
||||||
#include "nv-soc/tegra234-soc-thermal.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-thermal-slowdown-cluster.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-thermal-shutdown.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-thermal-trip-event.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-audio-dai-links.dtsi"
|
#include "nv-soc/tegra234-soc-audio-dai-links.dtsi"
|
||||||
#include "nv-soc/tegra234-soc-camera.dtsi"
|
#include "nv-soc/tegra234-soc-camera.dtsi"
|
||||||
#include "tegra234-p3737-0000.dtsi"
|
#include "tegra234-p3737-0000.dtsi"
|
||||||
@@ -37,40 +33,6 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
thermal-zones {
|
|
||||||
cpu-thermal {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
cv0-thermal {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
cv1-thermal {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
cv2-thermal {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
gpu-thermal {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
soc0-thermal {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
soc1-thermal {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
soc2-thermal {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
bus@0 {
|
bus@0 {
|
||||||
smmu_test {
|
smmu_test {
|
||||||
compatible = "nvidia,smmu_test";
|
compatible = "nvidia,smmu_test";
|
||||||
|
|||||||
@@ -2,10 +2,6 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include "nv-soc/tegra234-overlay.dtsi"
|
#include "nv-soc/tegra234-overlay.dtsi"
|
||||||
#include "nv-soc/tegra234-soc-thermal.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-thermal-slowdown-cluster.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-thermal-shutdown.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-thermal-trip-event.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-camera.dtsi"
|
#include "nv-soc/tegra234-soc-camera.dtsi"
|
||||||
#include "tegra234-camera-p3785.dtsi"
|
#include "tegra234-camera-p3785.dtsi"
|
||||||
#include "tegra234-p3740-0002.dtsi"
|
#include "tegra234-p3740-0002.dtsi"
|
||||||
@@ -39,8 +35,6 @@
|
|||||||
|
|
||||||
thermal-zones {
|
thermal-zones {
|
||||||
cpu-thermal {
|
cpu-thermal {
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
cooling-maps {
|
cooling-maps {
|
||||||
map-hot-surface-alert {
|
map-hot-surface-alert {
|
||||||
cooling-device = <&hot_surface_alert 0 0>;
|
cooling-device = <&hot_surface_alert 0 0>;
|
||||||
@@ -49,8 +43,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
cv0-thermal {
|
cv0-thermal {
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
cooling-maps {
|
cooling-maps {
|
||||||
map-hot-surface-alert {
|
map-hot-surface-alert {
|
||||||
cooling-device = <&hot_surface_alert 0 0>;
|
cooling-device = <&hot_surface_alert 0 0>;
|
||||||
@@ -59,8 +51,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
cv1-thermal {
|
cv1-thermal {
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
cooling-maps {
|
cooling-maps {
|
||||||
map-hot-surface-alert {
|
map-hot-surface-alert {
|
||||||
cooling-device = <&hot_surface_alert 0 0>;
|
cooling-device = <&hot_surface_alert 0 0>;
|
||||||
@@ -69,8 +59,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
cv2-thermal {
|
cv2-thermal {
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
cooling-maps {
|
cooling-maps {
|
||||||
map-hot-surface-alert {
|
map-hot-surface-alert {
|
||||||
cooling-device = <&hot_surface_alert 0 0>;
|
cooling-device = <&hot_surface_alert 0 0>;
|
||||||
@@ -79,8 +67,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
gpu-thermal {
|
gpu-thermal {
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
cooling-maps {
|
cooling-maps {
|
||||||
map-hot-surface-alert {
|
map-hot-surface-alert {
|
||||||
cooling-device = <&hot_surface_alert 0 0>;
|
cooling-device = <&hot_surface_alert 0 0>;
|
||||||
@@ -89,8 +75,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
soc0-thermal {
|
soc0-thermal {
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
cooling-maps {
|
cooling-maps {
|
||||||
map-hot-surface-alert {
|
map-hot-surface-alert {
|
||||||
cooling-device = <&hot_surface_alert 0 0>;
|
cooling-device = <&hot_surface_alert 0 0>;
|
||||||
@@ -99,8 +83,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
soc1-thermal {
|
soc1-thermal {
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
cooling-maps {
|
cooling-maps {
|
||||||
map-hot-surface-alert {
|
map-hot-surface-alert {
|
||||||
cooling-device = <&hot_surface_alert 0 0>;
|
cooling-device = <&hot_surface_alert 0 0>;
|
||||||
@@ -109,18 +91,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
soc2-thermal {
|
soc2-thermal {
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
cooling-maps {
|
cooling-maps {
|
||||||
map-hot-surface-alert {
|
map-hot-surface-alert {
|
||||||
cooling-device = <&hot_surface_alert 0 0>;
|
cooling-device = <&hot_surface_alert 0 0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
tj-thermal {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bus@0 {
|
bus@0 {
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
#include <dt-bindings/gpio/tegra234-gpio.h>
|
#include <dt-bindings/gpio/tegra234-gpio.h>
|
||||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
#include <dt-bindings/interrupt/tegra234-irq.h>
|
#include <dt-bindings/interrupt/tegra234-irq.h>
|
||||||
|
#include "nv-soc/tegra234-soc-thermal.dtsi"
|
||||||
|
#include "nv-soc/tegra234-soc-thermal-slowdown-corepair.dtsi"
|
||||||
|
#include "nv-soc/tegra234-soc-thermal-shutdown.dtsi"
|
||||||
|
#include "nv-soc/tegra234-soc-thermal-trip-event.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
bus@0 {
|
bus@0 {
|
||||||
|
|||||||
@@ -2,10 +2,6 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include "nv-soc/tegra234-overlay.dtsi"
|
#include "nv-soc/tegra234-overlay.dtsi"
|
||||||
#include "nv-soc/tegra234-soc-thermal.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-thermal-slowdown-corepair.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-thermal-shutdown.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-thermal-trip-event.dtsi"
|
|
||||||
#include "nv-soc/tegra234-soc-audio-dai-links.dtsi"
|
#include "nv-soc/tegra234-soc-audio-dai-links.dtsi"
|
||||||
#include "tegra234-p3768-0000.dtsi"
|
#include "tegra234-p3768-0000.dtsi"
|
||||||
#include "tegra234-p3767-0000.dtsi"
|
#include "tegra234-p3767-0000.dtsi"
|
||||||
@@ -333,40 +329,6 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
thermal-zones {
|
|
||||||
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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
tegra-hsp@b950000 {
|
tegra-hsp@b950000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,46 +6,64 @@
|
|||||||
/ {
|
/ {
|
||||||
thermal-zones {
|
thermal-zones {
|
||||||
cpu-thermal {
|
cpu-thermal {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpu-thermal {
|
gpu-thermal {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cv0-thermal {
|
cv0-thermal {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cv1-thermal {
|
cv1-thermal {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cv2-thermal {
|
cv2-thermal {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
soc0-thermal {
|
soc0-thermal {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
soc1-thermal {
|
soc1-thermal {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
soc2-thermal {
|
soc2-thermal {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
};
|
};
|
||||||
|
|
||||||
tj-thermal {
|
tj-thermal {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user