linux/arch/blackfin
James Cosin 810f1512dc Blackfin: cpufreq: fix dpm_state_table
This patch fixes an assumption that cclk's initial divisor will always be 1 (or
0 in the register).  TSCALE is always initialized on startup with a value of 4
regardless of the inital cclk divisor; so, we can't make the assumption without
making lots of other assumptions.  The TPERIOD value is set with a value of the
current cclk (value / (HZ * TSCALE)) - 1; so, we need to adjust based on this
initial frequency and not use cclk's initial divisor for adjusting the tscale.

Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
2012-10-08 14:36:29 +08:00
..
boot Kbuild: centralize MKIMAGE and cmd_uimage definitions 2012-03-26 15:49:20 +02:00
configs Blackfin: bf533-ezkit: enable flash drivers by default 2012-10-08 14:36:29 +08:00
include blackfin: smp: adapt to generic smp helpers 2012-09-07 17:54:56 +08:00
kernel Blackfin: bfin_gpio: proc: fix return value 2012-10-08 14:36:29 +08:00
lib blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
mach-bf518 blackfin: twi: Move TWI peripheral pin request array to platform data 2012-05-21 14:55:00 +08:00
mach-bf527 blackfin: fix musb macro name 2012-07-24 13:39:51 +08:00
mach-bf533 blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
mach-bf537 Blackfin: CM-BF537E: Update SPORT support in board file. 2012-10-08 14:36:29 +08:00
mach-bf538 blackfin: twi: Move TWI peripheral pin request array to platform data 2012-05-21 14:55:00 +08:00
mach-bf548 bf60x: sec: Clean up interrupt initialization code for SEC. 2012-07-24 13:39:51 +08:00
mach-bf561 bf561: add capabilities in adv7183_inputs 2012-07-24 13:39:51 +08:00
mach-bf609 bf60x: fix build warning 2012-07-24 13:39:53 +08:00
mach-common Blackfin: cpufreq: fix dpm_state_table 2012-10-08 14:36:29 +08:00
mm blackfin: bf60x: add l2 ecc irq handler 2012-05-21 14:54:23 +08:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
Clear_BSD.txt blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
Kconfig blackfin: smp: adapt to generic smp helpers 2012-09-07 17:54:56 +08:00
Kconfig.debug blackfin: bf60x: pm: Add a debug option to calculate kernel wakeup time. 2012-05-21 14:54:52 +08:00
Makefile kbuild: add symbol prefix arg to kallsyms 2012-09-11 10:25:12 +08:00