From 21ae02a8df5d472ac11fe745be8125117bd09034 Mon Sep 17 00:00:00 2001 From: Shengfei Xu Date: Tue, 29 Oct 2024 16:51:01 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3576-rk806/tablet: Add the shutdown sequence for rk806 Change-Id: I5f8a50a529dd94af660c5dd642d2a6401178a009 Signed-off-by: Shengfei Xu --- arch/arm64/boot/dts/rockchip/rk3576-rk806.dtsi | 9 +++++++++ arch/arm64/boot/dts/rockchip/rk3576-tablet-v10.dts | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3576-rk806.dtsi b/arch/arm64/boot/dts/rockchip/rk3576-rk806.dtsi index 9ee66277ec43..423b9d7fe310 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-rk806.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3576-rk806.dtsi @@ -28,6 +28,15 @@ /* 140 160 */ shutdown_temperture_threshold = <160>; hotdie_temperture_threshold = <115>; + /* shutdown sequence */ + shutdown-sequence = <2 2 2 0 2 0 2 1 1 2 + 1 0 0 0 0 2 + 2 2 2 2 2>; + + /* low power forced shutdown sequence */ + vb-shutdown-sequence = <2 2 2 0 2 0 2 0 0 2 + 0 0 0 0 0 2 + 2 2 2 2 2>; /* 0: restart PMU; * 1: reset all the power off reset registers, diff --git a/arch/arm64/boot/dts/rockchip/rk3576-tablet-v10.dts b/arch/arm64/boot/dts/rockchip/rk3576-tablet-v10.dts index e311caff9f98..1590f9c6bebd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-tablet-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3576-tablet-v10.dts @@ -494,6 +494,15 @@ shutdown_temperture_threshold = <160>; hotdie_temperture_threshold = <115>; + /* shutdown sequence */ + shutdown-sequence = <2 2 2 0 2 0 2 1 1 2 + 1 0 0 0 0 2 + 2 2 2 2 2>; + + /* low power forced shutdown sequence */ + vb-shutdown-sequence = <2 2 2 0 2 0 2 0 0 2 + 0 0 0 0 0 2 + 2 2 2 2 2>; /* PWRON_ON_TIME: 0:500mS; 1:20mS */ pwron-on-time-500ms;