summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf609/pm.c
Commit message (Collapse)AuthorAgeFilesLines
* bf60x: fix build warningBob Liu2012-07-241-6/+3
| | | | | | Fix several build warning while using bf609-ezkit_defconfig. Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf60x: pm: add pint suspend and resume supportSteven Miao2012-07-241-3/+6
| | | | | | | | | save and restore pint sec CTL save and restore pint registers add pint suspend and resume when suspend to mem Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf60x: pm: pass wakeup paramSteven Miao2012-07-241-9/+10
| | | | | | | | Pass wake up source mask and wakeup source polarity to deepsleep and hibernate. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf60x: pm: add smc nor flash syscore opsSteven Miao2012-07-241-1/+22
| | | | | Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bfin: pm: add deepsleep for bf60xSonic Zhang2012-07-241-51/+29
| | | | | | | | | | | | Add add deepsleep for bf60x. 1. Call DMC init functions to enter and exit DDR self refresh mode. 2. Wait till CGU PLL is locked after wake up and exit DDR self refresh mode. 3. Make asessembly function enter_deepsleep comply with C funtion ABI in order to call other C functions. 4. Switch kernel stack by register EX_SCRATCH_REG. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: bf60x: Rename the DDR controller macroSonic Zhang2012-05-211-7/+7
| | | | | | | | Rename the DDR controller macro from DDR0 to DMC0 to avoid confustion for bf60x. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: mach-bf609: pm: cleanup bfin_deepsleepSteven Miao2012-05-211-8/+7
| | | | | | | | In bfin_deepsleep(), using register instead of local variable and remove unused dpmc register read. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: bf60x: pm: Add a debug option to calculate kernel wakeup time.Sonic Zhang2012-05-211-0/+12
| | | | | | | | Display the total time when kernel resumes normal from standby or suspend to mem mode. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: bf60x: add wakeup source selectSteven Miao2012-05-211-21/+62
| | | | | | | Support select the wakeup source for power management on bf60x. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: bf60x: add power management supportSteven Miao2012-05-211-0/+310
Add bf60x cpu pm callbacks and change blackfin pm framework to support bf60x. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
OpenPOWER on IntegriCloud