From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 22 Oct 2024 10:36:11 +0000
Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM
---
kernel/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt | 84 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 84 insertions(+), 0 deletions(-)
diff --git a/kernel/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt b/kernel/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt
index e06a3aa..4ca44e4 100644
--- a/kernel/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt
+++ b/kernel/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt
@@ -2,6 +2,7 @@
Required properties:
- compatible: Should be one of the following.
+- "rockchip,pm-config" - for ROCKCHIP SOCs.
- "rockchip,pm-px30" - for PX30 SOCs.
- "rockchip,pm-rk1808" - for RK1808 SOCs.
- "rockchip,pm-rk322x" - for RK322x SOCs.
@@ -9,6 +10,9 @@
- "rockchip,pm-rk3328" - for RK3328 SOCs.
- "rockchip,pm-rk3368" - for RK3368 SoCs.
- "rockchip,pm-rk3399" - for RK3399 SoCs.
+- "rockchip,pm-rk3528" - for RK3528 SoCs.
+- "rockchip,pm-rk3562" - for RK3562 SoCs.
+- "rockchip,pm-rk3588" - for RK3588 SoCs.
- "rockchip,pm-rv1126" - for RV1126 SoCs.
- rockchip,sleep-mode-config : the sleep mode config,
@@ -20,6 +24,28 @@
- rockchip,pwm-regulator-config: the pwm regulator name.
Example:
+ rockchip_suspend: rockchip-suspend {
+ compatible = "rockchip,pm-config";
+ status = "disabled";
+ rockchip,sleep-debug-en = <0>;
+ rockchip,sleep-mode-config = <
+ (0
+ | RKPM_SLP_ARMOFF
+ | RKPM_SLP_PMU_HW_PLLS_PD
+ | RKPM_SLP_PMU_PMUALIVE_32K
+ | RKPM_SLP_PMU_DIS_OSC
+ | RKPM_SLP_PMIC_LP
+ )
+ >;
+ rockchip,wakeup-config = <
+ (0
+ | RKPM_CLUSTER_WKUP_EN
+ | RKPM_GPIO_WKUP_EN
+ | RKPM_USB_WKUP_EN
+ )
+ >;
+ };
+
rockchip_suspend: rockchip-suspend {
compatible = "rockchip,pm-px30";
status = "disabled";
@@ -164,6 +190,44 @@
>;
};
+ rockchip_suspend: rockchip-suspend {
+ compatible = "rockchip,pm-rk3528";
+ status = "disabled";
+ rockchip,sleep-debug-en = <0>;
+ rockchip,sleep-mode-config = <
+ (0
+ | RKPM_SLP_ARMPD
+ )
+ >;
+ rockchip,wakeup-config = <
+ (0
+ | RKPM_CPU0_WKUP_EN
+ | RKPM_GPIO_WKUP_EN
+ )
+ >;
+ };
+
+ rockchip_suspend: rockchip-suspend {
+ compatible = "rockchip,pm-rk3562";
+ status = "okay";
+ rockchip,sleep-debug-en = <1>;
+ rockchip,sleep-mode-config = <
+ (0
+ | RKPM_SLP_DEEP1_MODE
+ | RKPM_SLP_PMIC_LP
+ | RKPM_SLP_HW_PLLS_OFF
+ | RKPM_SLP_PMUALIVE_32K
+ | RKPM_SLP_OSC_DIS
+ | RKPM_SLP_32K_PVTM
+ )
+ >;
+ rockchip,wakeup-config = <
+ (0
+ | RKPM_GPIO0_WKUP_EN
+ )
+ >;
+ };
+
rockchip_suspend: rockchip_suspend {
compatible = "rockchip,pm-rk3568";
status = "okay";
@@ -190,6 +254,26 @@
};
rockchip_suspend: rockchip-suspend {
+ compatible = "rockchip,pm-rk3588";
+ status = "okay";
+ rockchip,sleep-debug-en = <0>;
+ rockchip,sleep-mode-config = <
+ (0
+ | RKPM_SLP_ARMOFF_DDRPD
+ | RKPM_SLP_PMU_PMUALIVE_32K
+ | RKPM_SLP_PMU_DIS_OSC
+ | RKPM_SLP_32K_EXT
+ | RKPM_SLP_PMU_DBG
+ )
+ >;
+ rockchip,wakeup-config = <
+ (0
+ | RKPM_GPIO_WKUP_EN
+ )
+ >;
+ };
+
+ rockchip_suspend: rockchip-suspend {
compatible = "rockchip,pm-rv1126";
status = "disabled";
rockchip,sleep-debug-en = <0>;
--
Gitblit v1.6.2