summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2012-03-30 16:18:57 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-07-23 13:56:20 +0100
commitea3952e01c47ac76d71857099cbfc2f487f507d2 (patch)
treeeae5cd5d5ae1a92cc74fc121b1e43e557b5c7228 /arch/mips/boot
parent56635d79932c805f6eb2a775ad1cdf9ace12c2b5 (diff)
downloadlinux-ea3952e01c47ac76d71857099cbfc2f487f507d2.tar.bz2
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>
Diffstat (limited to 'arch/mips/boot')
0 files changed, 0 insertions, 0 deletions