* the suspend mode config
-- compatible: "rockchip,pm-config"
- Compatibility with rk3399
+Required properties:
+- compatible: Should be one of the following.
+- "rockchip,pm-rk3368" - for RK3368 SoCs.
+- "rockchip,pm-rk3399" - for RK3399 SoCs.
- rockchip,sleep-mode-config : the sleep mode config,
ARMOFF, OSC disabled ...
- rockchip,pwm-regulator-config: the pwm regulator name.
Example:
+ rockchip_suspend: rockchip-suspend {
+ compatible = "rockchip,pm-rk3368";
+ status = "disabled";
+ rockchip,sleep-mode-config = <
+ (0
+ | RKPM_SLP_ARMOFF_LOGPD
+ | RKPM_SLP_PMU_PLLS_PWRDN
+ | RKPM_SLP_PMU_PMUALIVE_32K
+ | RKPM_SLP_SFT_PLLS_DEEP
+ | RKPM_SLP_PMU_DIS_OSC
+ | RKPM_SLP_SFT_PD_NBSCUS
+ )
+ >;
+ };
+
rockchip_suspend: rockchip_suspend {
compatible = "rockchip,pm-rk3399";
status = "okay";
PWM2_REGULATOR_EN
)
>;
- };
+ };
\ No newline at end of file
#define PM_INVALID_GPIO 0xffff
static const struct of_device_id pm_match_table[] = {
+ { .compatible = "rockchip,pm-rk3368",},
{ .compatible = "rockchip,pm-rk3399",},
{ },
};