[PATCH v3 03/13] arm64: dts: rockchip: add thermal support to ODROID-M1

Aurelien Jarno aurelien at aurel32.net
Thu Sep 29 22:12:36 PDT 2022


Add the thermal nodes for the ODROID-M1.

Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
Tested-by: Dan Johansen <strit at manjaro.org>
---
 arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts b/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts
index b3016437640b..112c65af3f55 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts
@@ -409,6 +409,12 @@ &sdmmc0 {
 	status = "okay";
 };
 
+&tsadc {
+	rockchip,hw-tshut-mode = <1>;
+	rockchip,hw-tshut-polarity = <0>;
+	status = "okay";
+};
+
 &uart2 {
 	status = "okay";
 };
-- 
2.35.1




More information about the Linux-rockchip mailing list