diff options
Diffstat (limited to 'gnu/packages/patches/linux-libre-pinebook-pro-19-arm64-dts-rockchip-add-rockchip-suspend-node.patch')
-rw-r--r-- | gnu/packages/patches/linux-libre-pinebook-pro-19-arm64-dts-rockchip-add-rockchip-suspend-node.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/patches/linux-libre-pinebook-pro-19-arm64-dts-rockchip-add-rockchip-suspend-node.patch b/gnu/packages/patches/linux-libre-pinebook-pro-19-arm64-dts-rockchip-add-rockchip-suspend-node.patch new file mode 100644 index 0000000000..1bec58402e --- /dev/null +++ b/gnu/packages/patches/linux-libre-pinebook-pro-19-arm64-dts-rockchip-add-rockchip-suspend-node.patch @@ -0,0 +1,49 @@ +From 3cb1a4675a9d516906028371baa01ee8b504cebe Mon Sep 17 00:00:00 2001 +From: Tobias Schramm <t.schramm@manjaro.org> +Date: Thu, 28 May 2020 14:44:40 +0200 +Subject: [PATCH 19/22] arm64: dts: rockchip: add rockchip-suspend node + +No mainline + +Signed-off-by: Tobias Schramm <t.schramm@manjaro.org> +--- + .../boot/dts/rockchip/rk3399-pinebook-pro.dts | 23 +++++++++++++++++++ + 1 file changed, 23 insertions(+) + +diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts +index 7c5bca24481c..36f66cbee142 100644 +--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts ++++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts +@@ -947,6 +947,29 @@ &pwm2 { + status = "okay"; + }; + ++&rockchip_suspend { ++ status = "okay"; ++ rockchip,sleep-debug-en = <1>; ++ rockchip,sleep-mode-config = < ++ (0 ++ | RKPM_SLP_ARMPD ++ | RKPM_SLP_PERILPPD ++ | RKPM_SLP_DDR_RET ++ | RKPM_SLP_PLLPD ++ | RKPM_SLP_CENTER_PD ++ | RKPM_SLP_AP_PWROFF ++ ) ++ >; ++ rockchip,pwm-regulator-config = < ++ (0 ++ | PWM2_REGULATOR_EN ++ ) ++ >; ++ rockchip,power-ctrl = ++ <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>, ++ <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>; ++}; ++ + &saradc { + vref-supply = <&vcca1v8_s3>; + status = "okay"; +-- +2.30.0 + |