diff --git a/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt b/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt index 5e0aea432218..74b83cae939b 100644 --- a/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt +++ b/Documentation/devicetree/bindings/soc/rockchip/rockchip-pm-config.txt @@ -74,6 +74,28 @@ Example: >; }; + rockchip_suspend: rockchip-suspend { + compatible = "rockchip,pm-rk3308"; + status = "okay"; + rockchip,sleep-mode-config = < + (0 + | RKPM_ARMOFF + | RKPM_PMU_HW_PLLS_PD + | RKPM_DBG_FSM_SOUT + ) + >; + rockchip,wakeup-config = < + (0 + | RKPM_GPIO0_WAKEUP_EN + ) + >; + rockchip,pwm-regulator-config = < + (0 + | RKPM_PWM_REGULATOR + ) + >; + }; + rockchip_suspend: rockchip-suspend { compatible = "rockchip,pm-rk3328"; status = "disabled"; diff --git a/drivers/soc/rockchip/rockchip_pm_config.c b/drivers/soc/rockchip/rockchip_pm_config.c index 5e774808a2d2..ff14e2389cc3 100644 --- a/drivers/soc/rockchip/rockchip_pm_config.c +++ b/drivers/soc/rockchip/rockchip_pm_config.c @@ -24,6 +24,7 @@ static const struct of_device_id pm_match_table[] = { { .compatible = "rockchip,pm-px30",}, { .compatible = "rockchip,pm-rk322x",}, { .compatible = "rockchip,pm-rk3288",}, + { .compatible = "rockchip,pm-rk3308",}, { .compatible = "rockchip,pm-rk3328",}, { .compatible = "rockchip,pm-rk3368",}, { .compatible = "rockchip,pm-rk3399",},