]> Pileus Git - ~andy/linux/commit
ARM: mx5: use generic irq chip pm interface for pm functions on
authorHui Wang <jason77.wang@gmail.com>
Sun, 9 Oct 2011 09:42:15 +0000 (17:42 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 25 Dec 2011 04:02:28 +0000 (12:02 +0800)
commit010dc8af8f283cc04b7d8f8844f01dd90eca69e5
treead80b85d64d57137c6464faf4bd16eb4b393d8b7
parent5f0a6e2d503896062f641639dacfe5055c2f593b
ARM: mx5: use generic irq chip pm interface for pm functions on

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@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mx5/mm.c
arch/arm/mach-mx5/system.c
arch/arm/plat-mxc/include/mach/mxc.h
arch/arm/plat-mxc/tzic.c