2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/arch/mips/jz4740
Maarten ter Huurne ea3952e01c MIPS: JZ4740: reset: Initialize hibernate wakeup counters.
In hibernation mode only the wakeup logic and the RTC are left running,
so this is what users perceive as power down.

If the counters are not initialized, the corresponding pin (typically
connected to the power button) has to be asserted for two seconds
before the device wakes up. Most users expect a shorter wakeup time.

I took the timing values of 100 ms and 60 ms from BouKiCHi's patch for
the Dingoo A320 kernel.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3563/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-07-23 13:56:20 +01:00
..
board-qi_lb60.c MIPS: JZ4740: qi_lb60: Look for NAND chip in bank 1. 2012-07-23 13:56:20 +01:00
clock-debugfs.c MIPS: JZ4740: Add clock API support. 2010-08-05 13:26:12 +01:00
clock.c MIPS: JZ4740: Add clock API support. 2010-08-05 13:26:12 +01:00
clock.h MIPS: JZ4740: Add clock API support. 2010-08-05 13:26:12 +01:00
dma.c MIPS: JZ4740: Fix GCC 4.6.0 build error. 2011-05-10 18:15:26 +01:00
gpio.c MIPS: JZ4740: GPIO: Check correct IRQ in demux handler 2011-10-24 23:34:25 +01:00
irq.c MIPS: JZ4740: Use generic irq chip 2011-10-24 23:34:25 +01:00
irq.h MIPS: JZ4740: Use generic irq chip 2011-10-24 23:34:25 +01:00
Kconfig MIPS: JZ4740: Add qi_lb60 board support 2010-08-05 13:26:20 +01:00
Makefile MIPS: Remove all -Wall and almost all -Werror usage from arch/mips. 2012-05-21 15:09:36 +01:00
Platform MIPS: jz4740: Fix Kbuild Platform file. 2010-10-19 18:32:39 +01:00
platform.c MTD: NAND: JZ4740: Multi-bank support with autodetection 2012-07-23 13:56:20 +01:00
pm.c MIPS: JZ4740: Use generic irq chip 2011-10-24 23:34:25 +01:00
prom.c MIPS: jz4740: Fix section mismatch in prom.c 2010-12-16 18:10:53 +00:00
pwm.c MIPS: JZ4740: Add PWM support 2010-08-05 13:26:16 +01:00
reset.c MIPS: JZ4740: reset: Initialize hibernate wakeup counters. 2012-07-23 13:56:20 +01:00
reset.h MIPS: JZ4740: Add power-management and system reset support 2010-08-05 13:26:14 +01:00
serial.c MIPS: JZ4740: Add serial support 2010-08-05 13:26:16 +01:00
serial.h MIPS: JZ4740: Add serial support 2010-08-05 13:26:16 +01:00
setup.c MIPS: JZ4740: setup: Autodetect physical memory. 2011-05-19 09:55:48 +01:00
time.c Merge branch 'timers-clocksource-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-05-19 17:44:13 -07:00
timer.c MIPS: JZ4740: Export symbols to the watchdog driver module 2011-05-10 18:15:26 +01:00
timer.h MIPS: JZ4740: Add timer support 2010-08-05 13:26:13 +01:00