/* * i.MX27 Power Management Routines * * Based on Freescale's BSP * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License. */ #include <linux/kernel.h> #include <linux/suspend.h> #include <linux/io.h> #include "hardware.h"
static int mx27_suspend_enter(suspend_state_t state) { u32 cscr; switch (state) { case PM_SUSPEND_MEM: /* Clear MPEN and SPEN to disable MPLL/SPLL */ cscr = imx_readl(MX27_IO_ADDRESS(MX27_CCM_BASE_ADDR)); cscr &= 0xFFFFFFFC; imx_writel(cscr, MX27_IO_ADDRESS(MX27_CCM_BASE_ADDR)); /* Executes WFI */ cpu_do_idle(); break; default: return -EINVAL; } return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Eric Bénard | 56 | 94.92% | 1 | 33.33% |
Johannes Berg | 2 | 3.39% | 1 | 33.33% |
Nico Pitre | 1 | 1.69% | 1 | 33.33% |
Total | 59 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Eric Bénard | 12 | 85.71% | 1 | 50.00% |
Arnd Bergmann | 2 | 14.29% | 1 | 50.00% |
Total | 14 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Eric Bénard | 97 | 93.27% | 1 | 16.67% |
Arnd Bergmann | 2 | 1.92% | 1 | 16.67% |
Johannes Berg | 2 | 1.92% | 1 | 16.67% |
Nico Pitre | 1 | 0.96% | 1 | 16.67% |
Lionel Debroux | 1 | 0.96% | 1 | 16.67% |
Shawn Guo | 1 | 0.96% | 1 | 16.67% |
Total | 104 | 100.00% | 6 | 100.00% |