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.
....@@ -24,6 +25,28 @@
2425
2526 Example:
2627 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
+
49
+ rockchip_suspend: rockchip-suspend {
2750 compatible = "rockchip,pm-px30";
2851 status = "disabled";
2952 rockchip,sleep-debug-en = <0>;