[PATCH] ARM: mx5: use generic irq chip pm interface for pm functions on

Shawn Guo shawn.guo at freescale.com
Sun Dec 25 21:09:37 EST 2011


On Mon, Dec 05, 2011 at 10:44:29AM +0800, Shawn Guo wrote:
> From: Hui Wang <jason77.wang at gmail.com>
> 
> Two problems exist in the current i.MX5 pm suspend/resume and idle
> functions. The first is the current i.MX5 suspend routine will call
> tzic_enable_wake(1) to set wake source, this will set all enabled
> irq as wake source rather than those wake capable. The second
> is i.MX5 idle will call mx5_cpu_lp_set() to prepare enter low power
> mode, but it forgets to call wfi instruction to enter this mode.
> 
> To fix these two problems, using generic irq chip pm interface and
> modify function imx5_idle().
> 
> [Tested by Shawn Guo on imx51 babbage board.
>  Tested by Hui Wang on imx51 pdk board.]
> 
> Signed-off-by: Hui Wang <jason77.wang at gmail.com>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>

Hi Sascha,

I have another two imx/pm related patches queued for 3.3.  Since I
have not seen this patch on any your branch, I queued it together here.

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list