mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-07 00:59:06 +00:00
arm64: tegra: Enable thermal support on Jetson Orin Nano
Enable the TJ thermal zone and hook up cooling maps for the PWM- controlled fan and two trip points. Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
a6fb90f0ee
commit
6312e57b32
1 changed files with 20 additions and 0 deletions
|
@ -10,4 +10,24 @@
|
|||
/ {
|
||||
compatible = "nvidia,p3768-0000+p3767-0005", "nvidia,p3767-0005", "nvidia,tegra234";
|
||||
model = "NVIDIA Jetson Orin Nano Developer Kit";
|
||||
|
||||
pwm-fan {
|
||||
cooling-levels = <0 187 255>;
|
||||
};
|
||||
|
||||
thermal-zones {
|
||||
tj-thermal {
|
||||
cooling-maps {
|
||||
map-active-0 {
|
||||
cooling-device = <&fan 0 1>;
|
||||
trip = <&tj_trip_active0>;
|
||||
};
|
||||
|
||||
map-active-1 {
|
||||
cooling-device = <&fan 1 2>;
|
||||
trip = <&tj_trip_active1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue