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) >>> { >>>

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 mpc85

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 > >Some Freescale chips like MPC8536 and P1022 has deep sleep PM mode in >addtion to the sleep PM mode. > &g

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

2011-11-04 Thread Felix Radensky
Hi Zhao, From: Li Yang 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 proce

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

2011-11-04 Thread Felix Radensky
Hi Zhao, From: Li Yang 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 proce

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. */