From: Heiko Stuebner Date: Tue, 23 Jul 2024 19:55:33 +0000 (+0200) Subject: arm64: dts: rockchip: enable the tsadc on the Qnap-TS433 X-Git-Tag: v6.12-rc1~188^2~28^2~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2dfdddd9d20306fd0d04b88fcbbf36d76fb67f11;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: rockchip: enable the tsadc on the Qnap-TS433 Enable the tsadc node to allow for temperature measurements of the soc. Tested-by: Uwe Kleine-König Signed-off-by: Heiko Stuebner Link: https://lore.kernel.org/r/20240723195538.1133436-10-heiko@sntech.de --- diff --git a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts index abeb00add42a0..34fc31ea9a39a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts @@ -246,6 +246,12 @@ 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.