Commit 3747a3f010b2b1442dec3e871c69788b6017aaae
Committed by
Stefan Roese
1 parent
e673226ff9
Exists in
master
and in
55 other branches
[PATCH] icecube/lite5200b: document wakeup from low-power support
Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
Showing 1 changed file with 22 additions and 0 deletions Side-by-side Diff
doc/README.Lite5200B_low_power
1 | +Lite5200B wakeup from low-power mode (CONFIG_LITE5200B_PM) | |
2 | +---------------------------------------------------------- | |
3 | + | |
4 | +Low-power mode as described in Lite5200B User's Manual, means that | |
5 | +with support of MC68HLC908QT1 microcontroller (refered to as QT), | |
6 | +everything but the SDRAM can be powered down. This brings | |
7 | +maximum power saving, while one can still restore previous state | |
8 | +quickly. | |
9 | + | |
10 | +Quick overview where U-Boot comes into the picture: | |
11 | +- OS saves device states | |
12 | +- OS saves wakeup handler address to physical 0x0, puts SDRAM into | |
13 | + self-refresh and signals to QT, it should power down the board | |
14 | +- / board is sleeping here / | |
15 | +- someone presses SW4 (connected to QT) | |
16 | +- U-Boot checks PSC2_4 pin, if QT drives it down, then we woke up, | |
17 | + so get SDRAM out of self-refresh and transfer control to OS | |
18 | + wakeup handler | |
19 | +- OS restores device states | |
20 | + | |
21 | +This was tested on Linux with USB and Ethernet in use. Adding | |
22 | +support for other devices is an OS issue. |