mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
As part of the process to transitioning to a full featured
base dtb, we need the ability to include various files without
completely rewriting them. This will be an incremental step.
Eventually these preprocessor commands will be removed and
the indentation fixed.
This change is not intended to change any behavior. It is merely
adding the infrastructure for future patches. It will be possible
for a base dts file to define REMOVE_FRAGMENT_SYNTAX and directly
include these files.
Bug 4290389
Change-Id: I778bc25dcd7e4fa96f003882e34e38fe5aaf40e7
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992336
(cherry picked from commit a011a22ad5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002425
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
63 lines
1.6 KiB
Devicetree
63 lines
1.6 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-only
|
|
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
#define TEGRA234_THERMAL_POLLING_DELAY 1000
|
|
|
|
/ {
|
|
#ifndef REMOVE_FRAGMENT_SYNTAX
|
|
fragment-t234-thermal@0 {
|
|
target-path = "/";
|
|
__overlay__ {
|
|
#endif
|
|
thermal-zones {
|
|
cpu-thermal {
|
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
};
|
|
|
|
gpu-thermal {
|
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
};
|
|
|
|
cv0-thermal {
|
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
};
|
|
|
|
cv1-thermal {
|
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
};
|
|
|
|
cv2-thermal {
|
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
};
|
|
|
|
soc0-thermal {
|
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
};
|
|
|
|
soc1-thermal {
|
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
};
|
|
|
|
soc2-thermal {
|
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
};
|
|
|
|
tj-thermal {
|
|
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
|
|
};
|
|
};
|
|
#ifndef REMOVE_FRAGMENT_SYNTAX
|
|
};
|
|
};
|
|
#endif
|
|
};
|