RE: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support

2011-11-08 Thread Li Yang-R58472
To: Zhao Chenhui-B35336; linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support Hi Zhao, From: Li Yang leoli at freescale.com Some Freescale chips like MPC8536 and P1022 has deep sleep PM mode in addtion to the sleep PM mode. In sleep PM mode

RE: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support

2011-11-08 Thread Li Yang-R58472
Subject: Re: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support On 11/04/2011 07:33 AM, Zhao Chenhui wrote: +/* Cast the ccsrbar to 64-bit parameter so that the assembly + * code can be compatible with both 32-bit 36-bit */ +extern void mpc85xx_enter_deep_sleep(u64 ccsrbar, u32

Re: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support

2011-11-08 Thread Scott Wood
On 11/08/2011 04:32 AM, Li Yang-R58472 wrote: Subject: Re: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support On 11/04/2011 07:33 AM, Zhao Chenhui wrote: static int pmc_suspend_enter(suspend_state_t state) { int ret; + u32 powmgtreq = 0x0050; Where does this 0x0050

Re: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support

2011-11-04 Thread Scott Wood
On 11/04/2011 07:33 AM, Zhao Chenhui wrote: +/* Cast the ccsrbar to 64-bit parameter so that the assembly + * code can be compatible with both 32-bit 36-bit */ +extern void mpc85xx_enter_deep_sleep(u64 ccsrbar, u32 powmgtreq); /* * Please use proper * Linux multi-line comment format. */

Re: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support

2011-11-04 Thread Felix Radensky
Hi Zhao, From: Li Yang leoli at freescale.com Some Freescale chips like MPC8536 and P1022 has deep sleep PM mode in addtion to the sleep PM mode. In sleep PM mode, the clocks of e500 core and unused IP blocks is turned off. IP blocks which are allowed to wake up the

Re: [PATCH 3/7] powerpc/85xx: add sleep and deep sleep support

2011-11-04 Thread Felix Radensky
Hi Zhao, From: Li Yang leoli at freescale.com Some Freescale chips like MPC8536 and P1022 has deep sleep PM mode in addtion to the sleep PM mode. In sleep PM mode, the clocks of e500 core and unused IP blocks is turned off. IP blocks which are allowed to wake up the