OMAP3: cpuidle: Add valid field into C-state parameter passing
authorKalle Jokiniemi <kalle.jokiniemi@digia.com>
Thu, 29 Oct 2009 08:30:19 +0000 (10:30 +0200)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 23 Feb 2010 19:05:02 +0000 (11:05 -0800)
commit709731bb369b562586ee4c60f3f0393eb94dd9d6
treec1c44e6f297e5ea3686eaa4035b824e4e9181f56
parentbb4de3df69e2993d642e38e17a3eccfe37845acc
OMAP3: cpuidle: Add valid field into C-state parameter passing

Different boards benefit differently from the available
seven C-states for cpu idle. In most cases, only few,
properly spaced (in terms of consumption and latency)
C-states are required to make the power management
optimal. Hence we need a possibility to pass which
C-states are actually used for each board.

So added the valid field to cpuidle_params and added
support to 3430sdp, which uses the paramenter passing.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@digia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/cpuidle34xx.c
arch/arm/mach-omap2/pm.h