]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: implement CPUfreq frequency table based on PRCM table
authorKevin Hilman <khilman@mvista.com>
Fri, 16 Nov 2007 23:44:18 +0000 (15:44 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 16 Nov 2007 23:44:18 +0000 (15:44 -0800)
commit77ce544fa48deb7a2003f454624e3ca10d37ab87
tree8acd5f51bb82ea7e23ceb75d39570961f235ac79
parentfa8966baaf39ccca95ea739d67bef6b791439b5c
ARM: OMAP: 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.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock24xx.c
arch/arm/plat-omap/clock.c
arch/arm/plat-omap/cpu-omap.c
include/asm-arm/arch-omap/clock.h