Commit Graph

41227 Commits

Author SHA1 Message Date
hhb
72ae8d362e rk29: modify lcd driver 2011-03-23 20:06:17 +08:00
yangkai
1497220f4f memtester support in kernel 2011-03-23 19:22:35 +08:00
hhb
d5815cc57d modify lcd driver 2011-03-23 17:02:31 +08:00
hhb
9013c7ddde add gt801 touch screen driver 2011-03-23 16:34:54 +08:00
黄涛
a5f9a87633 rk29: reset: reset pwm while reboot 2011-03-23 15:16:03 +08:00
黄涛
20489a5096 rk29: timer: try to fix stop on "Calibrating delay loop" bug 2011-03-23 15:16:02 +08:00
黄涛
9f7b31ec9f rk29: clock: default armclk set to 300MHz, fix reboot problem 2011-03-22 18:33:30 +08:00
luowei
8d42438c8d add lcd driver support for a22 2011-03-22 18:16:06 +08:00
ddl
63415cbc22 leds : add support att1272 white led driver for camera flash led 2011-03-12 00:25:16 +08:00
陈恒明
60488c1a79 rk29: clock: add display power domain clock support 2011-03-22 16:58:32 +08:00
luowei
ff842e08da add board-rk29-a22 support 2011-03-22 15:32:30 +08:00
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
陈恒明
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
杜坤明
6c854638f5 gpu: fix the bug of gpu's exception after reboot 2011-03-21 17:13:54 +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
陈恒明
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
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
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
黄涛
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
黄涛
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
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
黄涛
b02fd5a7e6 rk29: implement sched_clock() 2011-03-11 13:20:01 +08:00
Russell King
b9d82c9f88 ARM: sched_clock: make minsec argument to clocks_calc_mult_shift() zero
The purpose of the minsec argument is to prevent 64-bit math overflow
when the number of cycles is multiplied up.  However, the multipler
is 32-bit, and in the sched_clock() case, the cycle counter is up to
32-bit as well.  So the math can never overflow.

With a value of 60, and clock rates greater than 71MHz, the calculated
multiplier is unnecessarily reduced in value, which reduces accuracy by
maybe 70ppt.  It's almost not worth bothering with as the oscillator
driving the counter won't be any more than 1ppm - unless you're using
a rubidium lamp or caesium fountain frequency standard.

So, set the minsec argument to zero.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-03-11 11:37:02 +08:00
Russell King
4ce92e81ee ARM: sched_clock: allow init_sched_clock() to be called early
sched_clock is supposed to be initialized early - in the recently added
init_early platform hook.  However, in doing so we end up calling
mod_timer() before the timer lists are initialized, resulting in an
oops.

Split the initialization in two - the part which the platform calls
early which starts things off.  The addition of the timer can be
delayed until after we have more of the kernel initialized - when the
normal time sources are initialized.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-03-11 11:36:09 +08:00
Russell King
78a8e9426d ARM: sched_clock: provide common infrastructure for sched_clock()
Provide common sched_clock() infrastructure for platforms to use to
create a 64-bit ns based sched_clock() implementation from a counter
running at a non-variable clock rate.

This implementation is based upon maintaining an epoch for the counter
and an epoch for the nanosecond time.  When we desire a sched_clock()
time, we calculate the number of counter ticks since the last epoch
update, convert this to nanoseconds and add to the epoch nanoseconds.

We regularly refresh these epochs within the counter wrap interval.
We perform a similar calculation as above, and store the new epochs.

We read and write the epochs in such a way that sched_clock() can easily
(and locklessly) detect when an update is in progress, and repeat the
loading of these constants when they're known not to be stable.  The
one caveat is that sched_clock() is not called in the middle of an
update.  We achieve that by disabling IRQs.

Finally, if the clock rate is known at compile time, the counter to ns
conversion factors can be specified, allowing sched_clock() to be tightly
optimized.  We ensure that these factors are correct by providing an
initialization function which performs a run-time check.

Acked-by: Peter Zijlstra <peterz@infradead.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>
Reviewed-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-03-11 11:34:57 +08:00
黄涛
21bd655e72 rk29: no reset while panic and fix gcc warning 2011-03-09 15:22:35 +08:00
黄涛
f3e5699fbb rk29: pm: dump irq status when resume 2011-03-09 14:01:40 +08:00
luowei
32c8242e01 modify wm831x voltage according to hardware 2011-03-09 11:04:42 +08:00
hhb
cd455647f1 migrate touch screen driver xpt2046 2011-03-08 20:45:33 +08:00
ddl
b697fe9f97 camera: FIH defconfig for camera, mt9p111 debug and board config 2011-03-03 22:39:28 +08:00
lyx
bccf1d5352 backlight:set bl_pwm as gpio and set it low, make sure backlight be off 2011-03-07 00:44:45 -08:00
陈辉
3ddadcad61 update rk29sdk-v0.16 rk29_sdk_defconfig: support host 3G 2011-03-04 18:04:54 +08:00
邱建斌
84a568df72 添加wm8994驱动支持 2011-03-04 14:31:56 +08:00