summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorXiaoDong Huang <derrick.huang@rock-chips.com>2018-03-12 15:32:35 +0800
committerXiaoDong Huang <derrick.huang@rock-chips.com>2018-03-12 16:26:08 +0800
commit209bb1d4ac361b628a58427c84bc27fd241573da (patch)
tree7455b30a3ca843e37b2c020dda4e2f1ce2b63df8 /Documentation
parentb8a66c99b7a2e22af4beebec91ae463da28a33ae (diff)
soc: rockchip: support px30 pm config
Change-Id: Ia1f48c904cf9711f1c6601e50eccd4d2026cffe6 Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt b/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt
index 9911ae25cc18..5e0aea432218 100644
--- a/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt
+++ b/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt
@@ -2,6 +2,7 @@
Required properties:
- compatible: Should be one of the following.
+- "rockchip,pm-px30" - for PX30 SOCs.
- "rockchip,pm-rk322x" - for RK322x SOCs.
- "rockchip,pm-rk3288" - for RK3288 SOCs.
- "rockchip,pm-rk3328" - for RK3328 SOCs.
@@ -18,6 +19,28 @@ Required properties:
Example:
rockchip_suspend: rockchip-suspend {
+ compatible = "rockchip,pm-px30";
+ 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-rk322x";
status = "disabled";
rockchip,sleep-mode-config = <