diff --git a/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt b/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt index f4bca81ac908..717b59be7c85 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt +++ b/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt @@ -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"; diff --git a/drivers/soc/rockchip/rockchip_pm_config.c b/drivers/soc/rockchip/rockchip_pm_config.c index c9ed5d576db0..eb4bbdff9685 100644 --- a/drivers/soc/rockchip/rockchip_pm_config.c +++ b/drivers/soc/rockchip/rockchip_pm_config.c @@ -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",},