2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/arch/arm/mach-mxs
Fabio Estevam 7d07cc8494 ARM: mxs: Select ARM_CPU_SUSPEND
Select ARM_CPU_SUSPEND so that suspend/resume can be tested on mxs platforms.

Tested on a mx28evk board:

$ echo enabled > /sys/devices/80000000.apb/80040000.apbx/80074000.serial/tty/ttyAMA0/power/wakeup
$ echo mem > /sys/power/state
[  507.040000] PM: Syncing filesystems ... done.
[  507.060000] mmc0: card e624 removed
[  507.160000] Freezing user space processes ... (elapsed 0.01 seconds) done.
[  507.180000] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[  507.200000] Suspending console(s) (use no_console_suspend to debug)

(Then send any character via DUART to wakeup the system).

[  507.220000] PM: suspend of devices complete after 10.468 msecs
[  507.220000] PM: late suspend of devices complete after 3.531 msecs
[  507.230000] PM: noirq suspend of devices complete after 5.187 msecs
[  507.230000] PM: noirq resume of devices complete after 2.312 msecs
[  507.230000] PM: early resume of devices complete after 2.437 msecs
[  507.320000] PM: resume of devices complete after 81.312 msecs
[  507.360000] Restarting tasks ... done.
[  507.530000] mmc0: new SDHC card at address e624
[  507.550000] mmcblk0: mmc0:e624 SU04G 3.69 GiB
[  507.560000]  mmcblk0: p1 p2 p3
[  509.240000] libphy: 800f0000.etherne:01 - Link is Down
[  511.240000] libphy: 800f0000.etherne:01 - Link is Up

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
2013-04-01 16:31:03 +08:00
..
include/mach ARM: remove unused arch_decomp_wdog() 2013-01-11 10:54:03 +08:00
icoll.c ARM: mxs: icoll: Fix sparse warning 2013-03-04 10:07:20 +08:00
Kconfig ARM: mxs: Select ARM_CPU_SUSPEND 2013-04-01 16:31:03 +08:00
mach-mxs.c ARM: video: mxs: Fix mxsfb misconfiguring VDCTRL0 2013-03-19 11:07:58 +08:00
Makefile ARM: mxs: remove iomux driver 2012-08-17 12:35:55 +08:00
Makefile.boot ARM: move all dtb targets out of Makefile.boot 2012-09-14 09:22:04 -05:00
mm.c ARM: mxs: mm: Fix sparse warning 2013-03-04 10:07:13 +08:00
ocotp.c ARM: mxs: ocotp: Fix sparse warning 2013-03-04 10:07:28 +08:00
pm.c ARM: substitute arch_idle() 2012-01-20 18:55:19 -05:00
system.c ARM: mxs: remove old clock support 2012-05-09 00:02:42 +08:00
timer.c ARM: mxs: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles 2013-02-05 11:27:49 +08:00