[PATCH v2 4/5] arm64: dts: rockchip: configure thermal shutdown for BPI-R2-Pro

Frank Wunderlich linux at fw-web.de
Mon Jun 6 10:08:02 PDT 2022


From: Frank Wunderlich <frank-w at public-files.de>

Add thermal shutdown configuration for use of GPU.

Signed-off-by: Frank Wunderlich <frank-w at public-files.de>
---
v2: new Patch as heiko suggested splitting it from gpu dts patch
---
 arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
index 57ddb7608976..75ddca1561e0 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
@@ -588,6 +588,8 @@ &spi3 {
 };
 
 &tsadc {
+	rockchip,hw-tshut-mode = <1>;
+	rockchip,hw-tshut-polarity = <0>;
 	status = "okay";
 };
 
-- 
2.34.1




More information about the Linux-rockchip mailing list