hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt
....@@ -2,6 +2,7 @@
22
33 Required properties:
44 - compatible: Should be one of the following.
5
+- "rockchip,pm-config" - for ROCKCHIP SOCs.
56 - "rockchip,pm-px30" - for PX30 SOCs.
67 - "rockchip,pm-rk1808" - for RK1808 SOCs.
78 - "rockchip,pm-rk322x" - for RK322x SOCs.
....@@ -10,6 +11,8 @@
1011 - "rockchip,pm-rk3368" - for RK3368 SoCs.
1112 - "rockchip,pm-rk3399" - for RK3399 SoCs.
1213 - "rockchip,pm-rk3528" - for RK3528 SoCs.
14
+- "rockchip,pm-rk3562" - for RK3562 SoCs.
15
+- "rockchip,pm-rk3588" - for RK3588 SoCs.
1316 - "rockchip,pm-rv1126" - for RV1126 SoCs.
1417
1518 - rockchip,sleep-mode-config : the sleep mode config,
....@@ -21,6 +24,28 @@
2124 - rockchip,pwm-regulator-config: the pwm regulator name.
2225
2326 Example:
27
+ rockchip_suspend: rockchip-suspend {
28
+ compatible = "rockchip,pm-config";
29
+ status = "disabled";
30
+ rockchip,sleep-debug-en = <0>;
31
+ rockchip,sleep-mode-config = <
32
+ (0
33
+ | RKPM_SLP_ARMOFF
34
+ | RKPM_SLP_PMU_HW_PLLS_PD
35
+ | RKPM_SLP_PMU_PMUALIVE_32K
36
+ | RKPM_SLP_PMU_DIS_OSC
37
+ | RKPM_SLP_PMIC_LP
38
+ )
39
+ >;
40
+ rockchip,wakeup-config = <
41
+ (0
42
+ | RKPM_CLUSTER_WKUP_EN
43
+ | RKPM_GPIO_WKUP_EN
44
+ | RKPM_USB_WKUP_EN
45
+ )
46
+ >;
47
+ };
48
+
2449 rockchip_suspend: rockchip-suspend {
2550 compatible = "rockchip,pm-px30";
2651 status = "disabled";
....@@ -182,6 +207,27 @@
182207 >;
183208 };
184209
210
+ rockchip_suspend: rockchip-suspend {
211
+ compatible = "rockchip,pm-rk3562";
212
+ status = "okay";
213
+ rockchip,sleep-debug-en = <1>;
214
+ rockchip,sleep-mode-config = <
215
+ (0
216
+ | RKPM_SLP_DEEP1_MODE
217
+ | RKPM_SLP_PMIC_LP
218
+ | RKPM_SLP_HW_PLLS_OFF
219
+ | RKPM_SLP_PMUALIVE_32K
220
+ | RKPM_SLP_OSC_DIS
221
+ | RKPM_SLP_32K_PVTM
222
+ )
223
+ >;
224
+ rockchip,wakeup-config = <
225
+ (0
226
+ | RKPM_GPIO0_WKUP_EN
227
+ )
228
+ >;
229
+ };
230
+
185231 rockchip_suspend: rockchip_suspend {
186232 compatible = "rockchip,pm-rk3568";
187233 status = "okay";
....@@ -208,6 +254,26 @@
208254 };
209255
210256 rockchip_suspend: rockchip-suspend {
257
+ compatible = "rockchip,pm-rk3588";
258
+ status = "okay";
259
+ rockchip,sleep-debug-en = <0>;
260
+ rockchip,sleep-mode-config = <
261
+ (0
262
+ | RKPM_SLP_ARMOFF_DDRPD
263
+ | RKPM_SLP_PMU_PMUALIVE_32K
264
+ | RKPM_SLP_PMU_DIS_OSC
265
+ | RKPM_SLP_32K_EXT
266
+ | RKPM_SLP_PMU_DBG
267
+ )
268
+ >;
269
+ rockchip,wakeup-config = <
270
+ (0
271
+ | RKPM_GPIO_WKUP_EN
272
+ )
273
+ >;
274
+ };
275
+
276
+ rockchip_suspend: rockchip-suspend {
211277 compatible = "rockchip,pm-rv1126";
212278 status = "disabled";
213279 rockchip,sleep-debug-en = <0>;