ARM: 5778/1: AT91: Add cpuidle support
This patch adds the support for cpuidle on AT91 SoCs, taken from the cpuidle support in mach-kirkwood. cpuidle needs sdram_selfrefresh_enable and _disable, so move their definition to a separate header file instead of duplicating the code already used in pm.c. Tested-by: NNicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: NAlbin Tonnerre <albin.tonnerre@free-electrons.com> Acked-by: NAndrew Victor <linux@maxim.org.za> Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
Showing
arch/arm/mach-at91/cpuidle.c
0 → 100644
arch/arm/mach-at91/pm.h
0 → 100644
想要评论请 注册 或 登录