diff --git a/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt b/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt index a21b3b08ab8c..47cadfce73cc 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt +++ b/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt @@ -9,6 +9,7 @@ Required properties: - "rockchip,pm-rk3328" - for RK3328 SOCs. - "rockchip,pm-rk3368" - for RK3368 SoCs. - "rockchip,pm-rk3399" - for RK3399 SoCs. +- "rockchip,pm-rv1126" - for RV1126 SoCs. - rockchip,sleep-mode-config : the sleep mode config, ARMOFF, OSC disabled ... @@ -162,3 +163,22 @@ Example: ) >; }; + + rockchip_suspend: rockchip-suspend { + compatible = "rockchip,pm-rv1126"; + status = "disabled"; + 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 + ) + >; + rockchip,wakeup-config = < + (0 + | RKPM_GPIO_WKUP_EN + ) + >; + }; diff --git a/drivers/soc/rockchip/rockchip_pm_config.c b/drivers/soc/rockchip/rockchip_pm_config.c index a1dbe34b6aed..8879adb603b4 100644 --- a/drivers/soc/rockchip/rockchip_pm_config.c +++ b/drivers/soc/rockchip/rockchip_pm_config.c @@ -29,6 +29,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-rv1126",}, { }, };