soc: rockchip: support rk3562 pm config

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I27ae8622080656f547166194fedb2ce31f032002
This commit is contained in:
shengfei Xu
2023-04-08 07:56:33 +00:00
committed by Tao Huang
parent bd29c245e6
commit 594dbffc9e
2 changed files with 23 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ Required properties:
- "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.
@@ -183,6 +184,27 @@ Example:
>;
};
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";

View File

@@ -62,6 +62,7 @@ static const struct of_device_id pm_match_table[] = {
{ .compatible = "rockchip,pm-rk3368",},
{ .compatible = "rockchip,pm-rk3399",},
{ .compatible = "rockchip,pm-rk3528",},
{ .compatible = "rockchip,pm-rk3562",},
{ .compatible = "rockchip,pm-rk3568",},
{ .compatible = "rockchip,pm-rk3588",},
{ .compatible = "rockchip,pm-rv1126",},