mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
nv-platform: Add critical trip for tmp451 sensors
This change adds critical trip point temperatures for tmp451 sensors as per //hw/ar/doc/t23x/sysarch/power/global_functions/ thermal_management/T234_Thermal_Settings.xlsx. Bug 4139424 Bug 4635474 Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com> Change-Id: I09b2dae33d177ed5efa85299a6b0a6241e94fc52 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3130038 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
e8a7981f6c
commit
491bdcad0e
@@ -1,8 +1,10 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2023, 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"
|
||||||
|
|
||||||
|
#define TEGRA234_TMP451_SHUTDOWN_TEMP 106500
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
bus@0 {
|
bus@0 {
|
||||||
spi@3270000 {
|
spi@3270000 {
|
||||||
@@ -61,6 +63,14 @@
|
|||||||
polling-delay-passive = <1000>;
|
polling-delay-passive = <1000>;
|
||||||
thermal-sensors = <&tegra_tmp451 0>;
|
thermal-sensors = <&tegra_tmp451 0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
trips {
|
||||||
|
tboard-shutdown {
|
||||||
|
temperature = <TEGRA234_TMP451_SHUTDOWN_TEMP>;
|
||||||
|
hysteresis = <0>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
tdiode-thermal {
|
tdiode-thermal {
|
||||||
@@ -68,6 +78,14 @@
|
|||||||
polling-delay-passive = <1000>;
|
polling-delay-passive = <1000>;
|
||||||
thermal-sensors = <&tegra_tmp451 1>;
|
thermal-sensors = <&tegra_tmp451 1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
trips {
|
||||||
|
tdiode-shutdown {
|
||||||
|
temperature = <TEGRA234_TMP451_SHUTDOWN_TEMP>;
|
||||||
|
hysteresis = <0>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include "tegra234-p3701-0000.dtsi"
|
#include "tegra234-p3701-0000.dtsi"
|
||||||
|
|
||||||
#define TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP 112000
|
#define TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP 112000
|
||||||
#define TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP 117500
|
#define TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP 117500
|
||||||
|
#define TEGRA234_INDUSTRIAL_TMP451_SHUTDOWN_TEMP 119500
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
opp-table-cluster0 {
|
opp-table-cluster0 {
|
||||||
@@ -147,5 +148,21 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tboard-thermal {
|
||||||
|
trips {
|
||||||
|
tboard-shutdown {
|
||||||
|
temperature = <TEGRA234_INDUSTRIAL_TMP451_SHUTDOWN_TEMP>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tdiode-thermal {
|
||||||
|
trips {
|
||||||
|
tdiode-shutdown {
|
||||||
|
temperature = <TEGRA234_INDUSTRIAL_TMP451_SHUTDOWN_TEMP>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user