soc: rockchip: support rk3568 pm config

Change-Id: I800cfe6a34d06085d194ec27a5708837c06ac027
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
This commit is contained in:
XiaoDong Huang
2021-01-20 17:50:23 +08:00
committed by Tao Huang
parent ab7f089cfa
commit 4485e65cb4
2 changed files with 26 additions and 0 deletions

View File

@@ -164,6 +164,31 @@ Example:
>;
};
rockchip_suspend: rockchip_suspend {
compatible = "rockchip,pm-rk3568";
status = "okay";
rockchip,sleep-debug-en = <0>;
rockchip,sleep-mode-config = <
(0
| RKPM_SLP_ARMOFF
| RKPM_SLP_PMU_PMUALIVE_32K
| RKPM_SLP_PMU_DIS_OSC
| RKPM_SLP_PMIC_LP
| RKPM_SLP_32K_EXT
| RKPM_SLP_PIN_REVERSE
)
>;
rockchip,regulator-off-in-mem-lite = ...;
rockchip,regulator-on-in-mem-lite = ...;
rockchip,regulator-off-in-mem = ...;
rockchip,regulator-on-in-mem = ...;
rockchip,regulator-off-in-mem-ultra = ...;
rockchip,regulator-on-in-mem-ultra = ...;
};
rockchip_suspend: rockchip-suspend {
compatible = "rockchip,pm-rv1126";
status = "disabled";

View File

@@ -47,6 +47,7 @@ static const struct of_device_id pm_match_table[] = {
{ .compatible = "rockchip,pm-rk3328",},
{ .compatible = "rockchip,pm-rk3368",},
{ .compatible = "rockchip,pm-rk3399",},
{ .compatible = "rockchip,pm-rk3568",},
{ .compatible = "rockchip,pm-rv1126",},
{ },
};