Lines Matching +full:disable +full:- +full:key +full:- +full:power
1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-lpc32xx/pm.c
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:
34 * key scanner, etc.) still operate if enabled. In this state, an enabled
35 * system event (ie, GPIO state change, RTC match, key press, etc.) will
36 * wake the system up back into direct-run mode.
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
54 * Disable HCLK_PLL PLL
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()