]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/85xx: Add lbc suspend support for PM
authorJia Hongtao <B38951@freescale.com>
Mon, 21 Nov 2011 06:29:11 +0000 (14:29 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 24 Nov 2011 08:01:40 +0000 (02:01 -0600)
commit09cef8bd07fe473f1ba5fb5e34a1e3db3650b9a9
tree07ed485fc4ce9d5b48db873c5d9591fcf6958ca4
parent05737c7c5bca9a4f3e0f8bb9476445971b64fafd
powerpc/85xx: Add lbc suspend support for PM

Power supply for LBC registers is off when system go to deep-sleep state.
We save the values of registers before suspend and restore to registers
after resume.

We removed the last two reservation arrays from struct fsl_lbc_regs for
allocating less memory and minimizing the memcpy size.

Signed-off-by: Jiang Yutang <b14898@freescale.com>
Signed-off-by: Jia Hongtao <B38951@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/fsl_lbc.h
arch/powerpc/sysdev/fsl_lbc.c