OMAP3: PM: Configure CPUidle latencies/thresholds from board file
commit32d0132755c447f96412de8fc32c923c2c986046
authorRajendra Nayak <rnayak@ti.com>
Fri, 16 Oct 2009 12:58:55 +0000 (16 18:28 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:31:40 +0000 (23 11:31 -0700)
tree94261697d1d45753c8f7466fecb9596d0fec4e22
parenta903ac408301553439ef3863c04e54ca88eb8c57
OMAP3: PM: Configure CPUidle latencies/thresholds from board file

The CPUidle C state latencies and thresholds are dependent
on various board specific details.
This patch makes it possible to configure these values from the
respective board files.

omap3_pm_init_cpuidle() can now be optionally called from board
files to pass board specific cpuidle parameters.
If the board files do not use this function to pass the params
default values are used which might cause higher consumption
dur to wrong state selection by the governor.

This patch only updates the 3430sdp board files to use
omap3_pm_init_cpuidle().

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/cpuidle34xx.c
arch/arm/mach-omap2/pm.h