Commit Graph

172785 Commits

Author SHA1 Message Date
luowei
e3c100efd1 delete chinese annotation 2011-03-22 14:29:56 +08:00
黄涛
43cef27511 rk29: clock: rename vip to vip_out 2011-03-22 12:54:54 +08:00
黄涛
b96e2b20b2 rk29: add ddr.h 2011-03-22 12:51:35 +08:00
kfx
401817083f update i2c drivers about 'set scl_rate' 2011-03-22 11:09:38 +08:00
kfx
164ed84c3e update adc driver modify 'sync_read bug' 2011-03-22 08:46:37 +08:00
陈恒明
03f73ff658 rk29: clock: do not power off power domain 2011-03-21 18:19:38 +08:00
陈恒明
72c9c43bd8 Revert "rk29: disable power domain switch, which may halt cpu"
This reverts commit f79c62a3b8.
2011-03-21 18:18:00 +08:00
zhaoyifeng
688768b059 Support for the mtd part size larger than 4GB part 2. 2011-03-21 17:35:58 +08:00
杜坤明
6c854638f5 gpu: fix the bug of gpu's exception after reboot 2011-03-21 17:13:54 +08:00
zhaoyifeng
20c60d96a2 restore default value to register when reboot 2011-03-21 17:02:51 +08:00
zyw
c47cbe5f92 Postpone ipp_init for display power domain ctrl 2011-03-21 16:29:27 +08:00
zyw
ce8689493f add display power domain ctrl in fb 2011-03-21 15:39:02 +08:00
lyx
8629f700ae update spi driver 2011-03-20 23:12:52 -07:00
陈恒明
4f7e6592d8 board-rk29sdk: fix bug on reboot - remove printk before reset uart1 2011-03-21 11:09:58 +08:00
黄涛
028a0082b7 rk29: timer: clock source do not need irq 2011-03-19 16:16:50 +08:00
杜坤明
e104972abb gpu: add power open/close support 2011-03-18 18:12:06 +08:00
陈恒明
258531e347 vpu: remove delay on ioctl 2011-03-18 14:51:45 +08:00
陈恒明
1b906ec130 vpu: update vpu.h 2011-03-18 13:00:20 +08:00
陈恒明
63b4d28313 rk29: vpu: 规避 power domain on 时,硬件自动 reset ddr 端口的问题 2011-03-18 10:53:22 +08:00
zyw
4958c33109 update fb for hdmi crash 2011-03-17 20:59:14 +08:00
zhaoyifeng
5302617dc7 1.emmc reset 2.16bit flash support 3.buffer sync. 2011-03-17 17:54:36 +08:00
huangdesheng
f848e58037 modify change camera bring to win0 black problem 2011-03-17 17:43:12 +08:00
root
cad9ff7c1d sd/mmc:修改编译出错 2011-03-17 12:52:39 +08:00
root
35195aa9e0 sd/mmc:1.在dto中断来了以后清掉控制器的dma_enable位.2.修改中断处理函数中的代码,让其更加合理.3.去掉卡检测时的寄存器复位操作.4.添加一些log 2011-03-17 11:48:33 +08:00
lbt
4b558e9fdb wifi:bcm4329: add CSCAN define to support Combo-Scan 2011-03-17 10:46:47 +08:00
luowei
90763d2440 add pmu config for rk29_phonesdk_defconfig 2011-03-17 10:25:18 +08:00
yangkai
ddb1adbaa9 update ddr delayus 2011-03-16 22:14:14 +08:00
yangkai
25049b15fe del pcd vbus timer before sys suspend 2011-03-16 21:46:39 +08:00
yangkai
135634466e ddr3 function support 2011-03-16 21:20:01 +08:00
黄涛
66b0c972f4 rk29: pm: remove unused variable "delay" 2011-03-16 17:07:05 +08:00
黄涛
f304d79d0c rk29: pm: better and faster printch 2011-03-16 17:04:19 +08:00
黄涛
00b5e193e5 rk29: board-* call rk29_setup_early_printk 2011-03-16 16:57:05 +08:00
黄涛
94863c8f32 rk29: add early printk support 2011-03-16 16:53:31 +08:00
zhaoyifeng
81c7fda6fa modify reboot code. 2011-03-16 14:42:33 +08:00
zhaoyifeng
2bb18991f1 change emmc dma brst_len form 1 to 16 2011-03-16 14:30:23 +08:00
ubuntu
32f9892072 cwz close vdd1 voltage debug 2011-03-15 19:09:52 -07:00
黄涛
3da6a3c9ce rk29: pm: rk29_idle just restore CRU_MODE_CON, arm may run slow mode before enter idle 2011-03-15 19:49:24 +08:00
杜坤明
17f8e96ae3 update early suspend 2011-03-15 09:27:02 +08:00
黄涛
023aa2291a rk29: support zImage for buggy RK29xxLoader 2011-03-14 21:16:15 +08:00
黄涛
2f0da049b9 rk29: uncompress implement putc 2011-03-14 21:12:27 +08:00
ddl
c36bc66d8a camera: support front sensor 2011-03-07 17:57:13 +08:00
ddl
ad6937f76e camera: update sensor(s5k6aa) driver, preview/capture/suspend/resume is pass 2011-03-07 17:54:03 +08:00
ddl
76419122be camera:camera driver must check vip memory is enough or not for scale process by IPP 2011-03-07 17:47:18 +08:00
ddl
a07ababd55 camera: fix sensor driver have not enter power down after probe 2011-03-07 17:37:42 +08:00
lbt
2057346e3e wifi:bcm4329: add SDIO_ISR_THREAD define 2011-03-12 15:52:53 +08:00
ubuntu
6ba95bd59d cwz set default regulator status 2011-03-11 22:42:04 -08:00
hxy/ubuntu
7db5695dd0 fix ddr enter and exit self-refresh by hcy 2011-03-11 17:37:53 +08:00
ChenJQ
155929fc84 解决喇叭播放音乐时音量增大声音失真问题 2011-03-11 00:27:47 -08:00
黄涛
b02fd5a7e6 rk29: implement sched_clock() 2011-03-11 13:20:01 +08:00
john stultz
2455208a7a Fix rounding in clocks_calc_mult_shift()
Russell King reports:
| On the ARM dev boards, we have a 32-bit counter running at 24MHz.  Calling
| clocks_calc_mult_shift(&mult, &shift, 24MHz, NSEC_PER_SEC, 60) gives
| us a multiplier of 2796202666 and a shift of 26.
|
| Over a large counter delta, this produces an error - lets take a count
| from 362976315 to 4280663372:
|
| (4280663372-362976315) * 2796202666 / 2^26 - (4280663372-362976315) * (1000/24)
|  => -38.91872422891230269990
|
| Can we do better?
|
| (4280663372-362976315) * 2796202667 / 2^26 - (4280663372-362976315) * (1000/24)
| 19.45936211449532822051
|
| which is about twice as good as the 2796202666 multiplier.
|
| Looking at the equivalent divisions obtained, 2796202666 / 2^26 gives
| 41.66666665673255920410ns per tick, whereas 2796202667 / 2^26 gives
| 41.66666667163372039794ns.  The actual value wanted is 1000/24 =
| 41.66666666666666666666ns.

Fix this by ensuring we round to nearest when calculating the
multiplier.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Tested-by: Mikael Pettersson <mikpe@it.uu.se>
Tested-by: Eric Miao <eric.y.miao@gmail.com>
Tested-by: Olof Johansson <olof@lixom.net>
Tested-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-03-11 12:50:28 +08:00