]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] pxa: cpufreq-pxa2xx: allow frequency table selection
authorMarc Zyngier <maz@misterjones.org>
Tue, 4 Nov 2008 12:33:25 +0000 (13:33 +0100)
committerEric Miao <eric.miao@marvell.com>
Tue, 2 Dec 2008 06:43:47 +0000 (14:43 +0800)
commit65587f7d154ac58f4ff100c240640c71abec41dd
tree19d83c0f8e67178a35182ba864683df091c3676c
parenta5718a14a1d91b871e65d4e6b349e39c22cac943
[ARM] pxa: cpufreq-pxa2xx: allow frequency table selection

Following the removal of the "->policy" usage for PXA255 in patch
459fc208abd1b365fa013c17d433dfb5b4bc1e3a (cpufreq: remove
policy->governor setting in drivers initialization), this patch
introduces an option (called "pxa255_turbo_table") to select either
the "run" or "turbo" frequency table.

It also cures the runtime warning that was printed each time the
frequency was changed.

Got rid of all references to CPUFREQ_POLICY_* for pxa255, and sticked
with the run/turbo thing.

Tested on an Arcom/Eurotech Viper.

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/cpufreq-pxa2xx.c