From 8ab20e086b9667334a0b28cb5ccfb49f220ad953 Mon Sep 17 00:00:00 2001 From: Yi-Wei Wang Date: Mon, 1 Jul 2024 16:29:10 +0800 Subject: [PATCH] nv-platform: unregister tmp451 from thermal zone Unregister tmp451 from thermal zone as no cooling action is required from the thermal framework. Temperature readings of tmp451 sensors are still available from the sysfs nodes exposed by the hwmon framework. Bug 4139424 Bug 4652433 Bug 4715251 Signed-off-by: Yi-Wei Wang Change-Id: I2035c8c6a58b64a584fe58bfa23d8deba2d84d96 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3224939 Reviewed-by: Brad Griffis GVS: buildbot_gerritrpt Reviewed-by: Jon Hunter Reviewed-by: svcacv --- nv-platform/tegra234-p3701-0000.dtsi | 32 ---------------------------- nv-platform/tegra234-p3701-0008.dtsi | 16 -------------- 2 files changed, 48 deletions(-) diff --git a/nv-platform/tegra234-p3701-0000.dtsi b/nv-platform/tegra234-p3701-0000.dtsi index 055c185..8a911aa 100644 --- a/nv-platform/tegra234-p3701-0000.dtsi +++ b/nv-platform/tegra234-p3701-0000.dtsi @@ -51,38 +51,6 @@ }; }; - thermal-zones { - tboard-thermal { - polling-delay = <0>; - polling-delay-passive = <0>; - thermal-sensors = <&tegra_tmp451 0>; - status = "okay"; - - trips { - tboard-hot { - temperature = <106000>; - hysteresis = <0>; - type = "hot"; - }; - }; - }; - - tdiode-thermal { - polling-delay = <0>; - polling-delay-passive = <0>; - thermal-sensors = <&tegra_tmp451 1>; - status = "okay"; - - trips { - tdiode-hot { - temperature = <106000>; - hysteresis = <0>; - type = "hot"; - }; - }; - }; - }; - eeprom-manager { bus@0 { i2c-bus = <&gen1_i2c>; diff --git a/nv-platform/tegra234-p3701-0008.dtsi b/nv-platform/tegra234-p3701-0008.dtsi index cf2df15..915c8ce 100644 --- a/nv-platform/tegra234-p3701-0008.dtsi +++ b/nv-platform/tegra234-p3701-0008.dtsi @@ -147,21 +147,5 @@ }; }; }; - - tboard-thermal { - trips { - tboard-hot { - temperature = <119000>; - }; - }; - }; - - tdiode-thermal { - trips { - tdiode-hot { - temperature = <119000>; - }; - }; - }; }; };