linux-stable-rt/arch/avr32
Hans-Christian Egtvedt 9e58e1855c [AVR32] CPU frequency scaling for AT32AP
This patch enables CPU frequency scaling for AT32AP devices. This will
enable the CPU to scale between the speed of the high speed bus and
the master clock and thus save some power.

The patch also adds a parent to cpu_clk and a cpu_clk_set_rate to
enable changing the CPU clock divider in a sane way.

The driver does not check if the given rate is 0, thus resulting in a
div by 0.  I think this check should be go into the clk_set_rate
framework, and not here.

Tested on AT32AP7000/ATSTK1000.

Hardware documentation can be found in the AT32AP7000 datasheet.

Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-07-18 20:45:51 +02:00
..
boards [AVR32] NGW100, Remove relics of the old USART mapping scheme 2007-06-23 14:52:58 +02:00
boot
configs [AVR32] Update defconfigs 2007-06-23 15:43:48 +02:00
kernel PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
lib
mach-at32ap [AVR32] CPU frequency scaling for AT32AP 2007-07-18 20:45:51 +02:00
mm [AVR32] Fix bug in invalidate_dcache_region() 2007-06-23 14:52:52 +02:00
Kconfig [AVR32] CPU frequency scaling for AT32AP 2007-07-18 20:45:51 +02:00
Kconfig.debug
Makefile