mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
soc: rockchip: support rk1808 pm config
Change-Id: I6926cedc25bc9356608eeb8ad3e8751241f487ac Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
Required properties:
|
||||
- compatible: Should be one of the following.
|
||||
- "rockchip,pm-px30" - for PX30 SOCs.
|
||||
- "rockchip,pm-rk1808" - for RK1808 SOCs.
|
||||
- "rockchip,pm-rk322x" - for RK322x SOCs.
|
||||
- "rockchip,pm-rk3288" - for RK3288 SOCs.
|
||||
- "rockchip,pm-rk3328" - for RK3328 SOCs.
|
||||
@@ -40,6 +41,25 @@ Example:
|
||||
>;
|
||||
};
|
||||
|
||||
rockchip_suspend: rockchip-suspend {
|
||||
compatible = "rockchip,pm-rk1808";
|
||||
status = "disabled";
|
||||
rockchip,sleep-debug-en = <1>;
|
||||
rockchip,sleep-mode-config = <
|
||||
(0
|
||||
| RKPM_SLP_ARMOFF
|
||||
| RKPM_SLP_PMU_PMUALIVE_32K
|
||||
| RKPM_SLP_PMU_DIS_OSC
|
||||
)
|
||||
>;
|
||||
rockchip,wakeup-config = <
|
||||
(0
|
||||
| RKPM_CLUSTER_WKUP_EN
|
||||
| RKPM_GPIO_WKUP_EN
|
||||
)
|
||||
>;
|
||||
};
|
||||
|
||||
rockchip_suspend: rockchip-suspend {
|
||||
compatible = "rockchip,pm-rk322x";
|
||||
status = "disabled";
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
static const struct of_device_id pm_match_table[] = {
|
||||
{ .compatible = "rockchip,pm-px30",},
|
||||
{ .compatible = "rockchip,pm-rk1808",},
|
||||
{ .compatible = "rockchip,pm-rk322x",},
|
||||
{ .compatible = "rockchip,pm-rk3288",},
|
||||
{ .compatible = "rockchip,pm-rk3308",},
|
||||
|
||||
Reference in New Issue
Block a user