Lines Matching +full:refresh +full:- +full:power +full:- +full:source
1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-lpc32xx/pm.c
5 * Original authors: Vitaly Wool, Dmitry Chigirev <source@mvista.com>
12 * LPC32XX CPU and system power management
14 * The LPC32XX has three CPU modes for controlling system power: run,
15 * direct-run, and halt modes. When switching between halt and run modes,
16 * the CPU transistions through direct-run mode. For Linux, direct-run
25 * Direct-run mode:
28 * source or the frequency of the main oscillator. In this mode, the
36 * wake the system up back into direct-run mode.
38 * DRAM refresh
39 * DRAM clocking and refresh are slightly different for systems with DDR
41 * SDRAM will still be accessible in direct-run mode. In DDR based systems,
42 * a transition to direct-run mode will stop all DDR accesses (no clocks).
43 * Because of this, the code to switch power modes and the code to enter
44 * and exit DRAM self-refresh modes must not be executed in DRAM. A small
51 * Places DRAMs in self-refresh mode
52 * Enter direct-run mode
55 * Enter halt mode - CPU and buses will stop
56 * System enters direct-run mode when an enabled event occurs
89 return -ENOMEM; in lpc32xx_pm_enter()
126 * Setup SDRAM self-refresh clock to automatically disable o in lpc32xx_pm_init()
127 * start of self-refresh. This only needs to be done once. in lpc32xx_pm_init()