On Thu, Jul 06, 2023 at 12:55:45AM +0000, Gautham Srinivasan wrote: > Enable soctherm for Orin Nano Devkit. This is needed for the CPU > fan to operate. > > Signed-off-by: Gautham Srinivasan <gauthams@xxxxxxxxxx> > --- > .../arm64/boot/dts/nvidia/tegra234-p3767.dtsi | 38 +++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi > index a8aa6e7d8fbc..cb76b08e15b9 100644 > --- a/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi > +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi > @@ -98,6 +98,12 @@ > vin-supply = <&vdd_5v0_sys>; > }; > > + bpmp { > + thermal { > + status = "okay"; > + }; > + }; I cannot find where we set status = "disabled" for this node and given that status = "okay" is the default, there doesn't seem to be any reason to set this. > thermal-zones { > tj-thermal { > polling-delay = <1000>; > @@ -118,5 +124,37 @@ > }; > }; > }; > + > + 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"; > + }; Why are these needed? Previous discussions concluded that we don't want to use any of these for monitoring temperatures because they are too fine-grained for fan control. I guess it could make sense to enable all of these so that they can be monitored using sysfs if that's something we want, but in that case it might be better to enable them in the top-level tegra234.dtsi. Thierry
Attachment:
signature.asc
Description: PGP signature