[POWERPC] mpc52xx suspend to deep-sleep
Implement deep-sleep on MPC52xx. SDRAM is put into self-refresh with help of SRAM code (alternatives would be code in FLASH, I-cache). Interrupt code must also not be in SDRAM, so put it in I-cache. MPC52xx core is static, so contents will remain intact even with clocks turned off. Signed-off-by:Domen Puncer <domen.puncer@telargo.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
Showing
- arch/powerpc/platforms/52xx/Makefile 2 additions, 0 deletionsarch/powerpc/platforms/52xx/Makefile
- arch/powerpc/platforms/52xx/efika.c 15 additions, 0 deletionsarch/powerpc/platforms/52xx/efika.c
- arch/powerpc/platforms/52xx/lite5200.c 28 additions, 0 deletionsarch/powerpc/platforms/52xx/lite5200.c
- arch/powerpc/platforms/52xx/mpc52xx_pm.c 191 additions, 0 deletionsarch/powerpc/platforms/52xx/mpc52xx_pm.c
- arch/powerpc/platforms/52xx/mpc52xx_sleep.S 154 additions, 0 deletionsarch/powerpc/platforms/52xx/mpc52xx_sleep.S
- include/asm-powerpc/mpc52xx.h 11 additions, 0 deletionsinclude/asm-powerpc/mpc52xx.h
Loading
Please register or sign in to comment