Lines Matching +full:no +full:- +full:reset +full:- +full:during +full:- +full:suspend
1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Tony Xie <tony.xie@rock-chips.com>
13 #include <linux/suspend.h>
19 #include <asm/suspend.h>
55 rkpm_bootdata_cpusp = rk3288_bootram_phy + (SZ_4K - 8); in rk3288_config_bootdata()
99 * SGRF_FAST_BOOT_EN - system to boot from FAST_BOOT_ADDR in rk3288_slp_mode_set()
100 * PCLK_WDT_GATE - disable WDT during suspend. in rk3288_slp_mode_set()
107 * The dapswjdp can not auto reset before resume, that cause it may in rk3288_slp_mode_set()
108 * access some illegal address during resume. Let's disable it before in rk3288_slp_mode_set()
109 * suspend, and the MASKROM will enable it back. in rk3288_slp_mode_set()
141 * In deep suspend we use PMU_PMU_USE_LF to let the rk3288 in rk3288_slp_mode_set()
166 /* oscillator is still running, so no need to wait */ in rk3288_slp_mode_set()
193 pr_err("%s: Failed to suspend\n", __func__); in rockchip_lpmode_enter()
221 pr_err("%s: Suspend finish failed\n", __func__); in rk3288_suspend_finish()
237 "rockchip,rk3288-sgrf"); in rk3288_suspend_init()
244 "rockchip,rk3288-grf"); in rk3288_suspend_init()
251 "rockchip,rk3288-pmu-sram"); in rk3288_suspend_init()
254 return -ENODEV; in rk3288_suspend_init()
261 return -ENOMEM; in rk3288_suspend_init()
297 .compatible = "rockchip,rk3288-pmu",
316 pm_data = (struct rockchip_pm_data *) match->data; in rockchip_suspend_init()
318 if (pm_data->init) { in rockchip_suspend_init()
319 ret = pm_data->init(np); in rockchip_suspend_init()
327 suspend_set_ops(pm_data->ops); in rockchip_suspend_init()