]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: Add A4S cpuidle state on sh7372
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 22 Aug 2012 10:27:24 +0000 (12:27 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 22 Aug 2012 10:27:24 +0000 (12:27 +0200)
commitcc35862d65883dbb8a7ea5fdeadbbf6bb545b906
tree4aaab25879d67cc378e6081300919fd6211fb24c
parentcb5b37c1be53a56eb7fad92ebc74b18cf75acca4
ARM: shmobile: Add A4S cpuidle state on sh7372

Add a "C5" cpuidle state to the SH7372 SoC connected to the A4S power
domain in such a way that A4S may be turned off by cpuidle if all
I/O devices in that domain have been suspended (or do not have
attached drivers).

This requires some reorganization of the initialization of SH7372
power management which affects the the boards based on it, Mackerel
and AP4EVB.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
arch/arm/mach-shmobile/board-ap4evb.c
arch/arm/mach-shmobile/board-mackerel.c
arch/arm/mach-shmobile/include/mach/sh7372.h
arch/arm/mach-shmobile/pm-sh7372.c