Required properties:
- compatible: Should be one of the following.
+- "rockchip,pm-rk322x" - for RK322x SOCs.
- "rockchip,pm-rk3288" - for RK3288 SOCs.
- "rockchip,pm-rk3368" - for RK3368 SoCs.
- "rockchip,pm-rk3399" - for RK3399 SoCs.
- rockchip,pwm-regulator-config: the pwm regulator name.
Example:
+ rockchip_suspend: rockchip-suspend {
+ compatible = "rockchip,pm-rk322x";
+ status = "disabled";
+ rockchip,sleep-mode-config = <
+ (0
+ |RKPM_CTR_GTCLKS
+ |RKPM_CTR_IDLESRAM_MD
+ )
+ >;
+ };
+
rockchip_suspend: rockchip-suspend {
compatible = "rockchip,pm-rk3288";
status = "disabled";
#define PM_INVALID_GPIO 0xffff
static const struct of_device_id pm_match_table[] = {
+ { .compatible = "rockchip,pm-rk322x",},
{ .compatible = "rockchip,pm-rk3288",},
{ .compatible = "rockchip,pm-rk3368",},
{ .compatible = "rockchip,pm-rk3399",},