]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] OMAP2: Implement CPUfreq frequency table based on PRCM table
authorKevin Hilman <khilman@mvista.com>
Wed, 28 Jan 2009 02:13:38 +0000 (19:13 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:28 +0000 (17:50 +0000)
commitaeec299011da8c3f07a47fe5d988f0eafda53906
tree8661476adf90325972e5feab723f1272ab04fc6b
parentae8578c0194695bd37435249dfed720769a6bbf3
[ARM] OMAP2: Implement CPUfreq frequency table based on PRCM table

This patch adds a CPUfreq frequency-table implementation for OMAP2 by
walking the PRCM rate-table for available entries and adding them to a
CPUfreq table.

CPUfreq can then be used to manage switching between all the available
entries in the PRCM rate table.  Either use the CPUfreq sysfs
interface directly, (see Section 3 of Documentation/cpu-freq/user-guide.txt)
or use the cpufrequtils package:
http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Updated to try to use cpufreq_table if it exists.

linux-omap source commit is 77ce544fa48deb7a2003f454624e3ca10d37ab87.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/clock24xx.c
arch/arm/plat-omap/cpu-omap.c
arch/arm/plat-omap/include/mach/clock.h