]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: enable the tsadc on the Qnap-TS433
authorHeiko Stuebner <heiko@sntech.de>
Tue, 23 Jul 2024 19:55:33 +0000 (21:55 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 30 Jul 2024 07:07:00 +0000 (09:07 +0200)
Enable the tsadc node to allow for temperature measurements of the soc.

Tested-by: Uwe Kleine-König <ukleinek@debian.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20240723195538.1133436-10-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts

index abeb00add42a0fdc81f9b5bca6f10f85478144be..34fc31ea9a39ab4cb15e18dedd70c93db82a6a7c 100644 (file)
        status = "okay";
 };
 
+&tsadc {
+       rockchip,hw-tshut-mode = <1>;
+       rockchip,hw-tshut-polarity = <0>;
+       status = "okay";
+};
+
 /*
  * Connected to an MCU, that provides access to more LEDs,
  * buzzer, fan control and more.