zhaoyifeng [Wed, 16 Mar 2011 06:30:23 +0000 (14:30 +0800)]
change emmc dma brst_len form 1 to 16
ubuntu [Wed, 16 Mar 2011 02:09:52 +0000 (19:09 -0700)]
cwz close vdd1 voltage debug
黄涛 [Tue, 15 Mar 2011 11:43:18 +0000 (19:43 +0800)]
rk29: pm: rk29_idle just restore CRU_MODE_CON, arm may run slow mode before enter idle
杜坤明 [Tue, 15 Mar 2011 01:27:02 +0000 (09:27 +0800)]
update early suspend
黄涛 [Mon, 14 Mar 2011 13:16:15 +0000 (21:16 +0800)]
rk29: support zImage for buggy RK29xxLoader
黄涛 [Mon, 14 Mar 2011 13:07:24 +0000 (21:07 +0800)]
rk29: uncompress implement putc
ddl [Mon, 7 Mar 2011 09:57:13 +0000 (17:57 +0800)]
camera: support front sensor
ddl [Mon, 7 Mar 2011 09:54:03 +0000 (17:54 +0800)]
camera: update sensor(s5k6aa) driver, preview/capture/suspend/resume is pass
ddl [Mon, 7 Mar 2011 09:47:18 +0000 (17:47 +0800)]
camera:camera driver must check vip memory is enough or not for scale process by IPP
ddl [Mon, 7 Mar 2011 09:37:42 +0000 (17:37 +0800)]
camera: fix sensor driver have not enter power down after probe
lbt [Sat, 12 Mar 2011 07:51:51 +0000 (15:51 +0800)]
wifi:bcm4329: add SDIO_ISR_THREAD define
ubuntu [Sat, 12 Mar 2011 06:42:04 +0000 (22:42 -0800)]
cwz set default regulator status
hxy/ubuntu [Fri, 11 Mar 2011 09:37:53 +0000 (17:37 +0800)]
fix ddr enter and exit self-refresh by hcy
ChenJQ [Fri, 11 Mar 2011 08:26:17 +0000 (00:26 -0800)]
解决喇叭播放音乐时音量增大声音失真问题
黄涛 [Fri, 11 Mar 2011 05:20:01 +0000 (13:20 +0800)]
rk29: implement sched_clock()
john stultz [Thu, 16 Dec 2010 19:03:27 +0000 (19:03 +0000)]
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>
Thomas Gleixner [Wed, 11 Nov 2009 14:05:29 +0000 (14:05 +0000)]
clocksource: Provide a generic mult/shift factor calculation
MIPS has two functions to calculcate the mult/shift factors for clock
sources and clock events at run time. ARM needs such functions as
well.
Implement a function which calculates the mult/shift factors based on
the frequencies to which and from which is converted. The function
also has a parameter to specify the minimum conversion range in
seconds. This range is guaranteed not to produce a 64bit overflow when
a value is multiplied with the calculated mult factor. The larger the
conversion range the less becomes the conversion accuracy.
Provide two inline wrappers which handle clock events and clock
sources. For clock events the "from" frequency is nano seconds per
second which corresponds to 1GHz and "to" is the device frequency. For
clock sources "from" is the device frequency and "to" is nano seconds
per second.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Mikael Pettersson <mikpe@it.uu.se>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <
20091111134229.
766673305@linutronix.de>
Russell King [Tue, 11 Jan 2011 16:44:02 +0000 (16:44 +0000)]
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>
Russell King [Tue, 11 Jan 2011 16:23:04 +0000 (16:23 +0000)]
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>
Russell King [Wed, 15 Dec 2010 19:23:07 +0000 (19:23 +0000)]
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>
root [Thu, 10 Mar 2011 09:08:32 +0000 (17:08 +0800)]
in video mode chage ui to 565 fail
黄涛 [Thu, 10 Mar 2011 06:46:33 +0000 (14:46 +0800)]
rtc: hym8563: work around set alarm problem and indent
杜坤明 [Thu, 10 Mar 2011 06:13:33 +0000 (14:13 +0800)]
update the conctrl of gpu' clk
杜坤明 [Wed, 9 Mar 2011 10:39:05 +0000 (18:39 +0800)]
add gpu's earlysuspend & remove soft reset before poweron
root [Wed, 9 Mar 2011 08:27:27 +0000 (16:27 +0800)]
In video mode change to PIXEL_FORMAT_RGB_565
黄涛 [Wed, 9 Mar 2011 07:22:16 +0000 (15:22 +0800)]
rk29: no reset while panic and fix gcc warning
ChenJQ [Wed, 9 Mar 2011 07:14:30 +0000 (23:14 -0800)]
reduce the wm8900 pop noise
zyw [Wed, 9 Mar 2011 06:45:49 +0000 (14:45 +0800)]
del CONFIG_MACH_RK29_AIGO in drivers/video/display/screen/lcd_hsd100pxn.c
黄涛 [Wed, 9 Mar 2011 06:01:08 +0000 (14:01 +0800)]
rk29: pm: dump irq status when resume
蔡枫 [Wed, 9 Mar 2011 03:32:06 +0000 (11:32 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
蔡枫 [Wed, 9 Mar 2011 03:31:33 +0000 (11:31 +0800)]
disable set hardware cursor log
蔡枫 [Wed, 9 Mar 2011 03:17:40 +0000 (11:17 +0800)]
add hardware cursor support, auto switch to hardware cursor mode when using TVOUT or HDMI output
luowei [Wed, 9 Mar 2011 03:04:42 +0000 (11:04 +0800)]
modify wm831x voltage according to hardware
hhb [Tue, 8 Mar 2011 12:45:33 +0000 (20:45 +0800)]
migrate touch screen driver xpt2046
ddl [Thu, 3 Mar 2011 14:38:21 +0000 (22:38 +0800)]
camera: FIH defconfig for camera, mt9p111 debug and board config
lyx [Mon, 7 Mar 2011 08:44:21 +0000 (00:44 -0800)]
backlight:set bl_pwm as gpio and set it low, make sure backlight be off
cch [Mon, 7 Mar 2011 06:42:33 +0000 (14:42 +0800)]
fix the Audio indicators(S/R), and the speak Playback distortion
陈辉 [Fri, 4 Mar 2011 10:05:30 +0000 (18:05 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
陈辉 [Fri, 4 Mar 2011 10:04:54 +0000 (18:04 +0800)]
update rk29sdk-v0.16 rk29_sdk_defconfig: support host 3G
ChenJQ [Fri, 4 Mar 2011 09:08:11 +0000 (01:08 -0800)]
Open SPK playback channel
邱建斌 [Fri, 4 Mar 2011 06:31:56 +0000 (14:31 +0800)]
添加wm8994驱动支持
陈恒明 [Fri, 4 Mar 2011 04:38:38 +0000 (12:38 +0800)]
rk29: vpu: fix bug on pp reset
宋秀杰 [Fri, 4 Mar 2011 04:26:10 +0000 (20:26 -0800)]
fix bq27510 read error
ubuntu [Fri, 4 Mar 2011 03:09:16 +0000 (19:09 -0800)]
cwz update tps65910 irq
杜坤明 [Fri, 4 Mar 2011 02:31:43 +0000 (10:31 +0800)]
update gpu_shutdown & gpu_suspend
root [Fri, 4 Mar 2011 01:56:25 +0000 (09:56 +0800)]
swj add pwm reinit function for reboot
黄涛 [Thu, 3 Mar 2011 11:31:05 +0000 (19:31 +0800)]
rk29: backlight: fix kernel BUG by double add_timer while fast suspend/resume
fix this bug:
kernel BUG at kernel/timer.c:791!
Unable to handle kernel NULL pointer dereference at virtual address
00000000
pgd =
c0404000
[
00000000] *pgd=
00000000
Internal error: Oops: 817 [#1] PREEMPT
last sysfs file: /sys/devices/platform/rk29_i2c.0/i2c-0/0-0055/power_supply/bq27510-battery/status
Modules linked in: wlan
CPU: 0 Not tainted (2.6.32.27 #2)
PC is at __bug+0x18/0x24
LR is at __bug+0x14/0x24
[<
c042b3c8>] (__bug+0x18/0x24) from [<
c0453680>] (add_timer+0x1c/0x2c)
[<
c0453680>] (add_timer+0x1c/0x2c) from [<
c0476348>] (late_resume+0x104/0x158)
[<
c0476348>] (late_resume+0x104/0x158) from [<
c045a7bc>] (worker_thread+0x180/0x22c)
[<
c045a7bc>] (worker_thread+0x180/0x22c) from [<
c045dfac>] (kthread+0x78/0x80)
[<
c045dfac>] (kthread+0x78/0x80) from [<
c042899c>] (kernel_thread_exit+0x0/0x8)
宋秀杰 [Thu, 3 Mar 2011 08:51:18 +0000 (00:51 -0800)]
close log print in bq27510
宋秀杰 [Thu, 3 Mar 2011 07:55:48 +0000 (23:55 -0800)]
modify fuel gauge bq27510's function
陈恒明 [Thu, 3 Mar 2011 06:41:38 +0000 (14:41 +0800)]
rk29: vpu use kernel register config
lyx [Wed, 2 Mar 2011 11:25:50 +0000 (03:25 -0800)]
update l/p sensor isl29028 driver for phonesdk
ddl [Wed, 2 Mar 2011 09:41:05 +0000 (17:41 +0800)]
camera:fix camera power down pin and flash pin macro define error
root [Wed, 2 Mar 2011 07:57:58 +0000 (15:57 +0800)]
(xxm) FIH:update touch screen atmel_mxt224.c
lyx [Wed, 2 Mar 2011 06:37:58 +0000 (22:37 -0800)]
add idle wakelock for vmac
root [Tue, 1 Mar 2011 12:39:34 +0000 (20:39 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
root [Tue, 1 Mar 2011 12:36:31 +0000 (20:36 +0800)]
(xxm) update FIH: 1,add mpu3050 2,update rk29_FIH_defconfig 3,update touch screen
ubuntu [Tue, 1 Mar 2011 05:04:16 +0000 (21:04 -0800)]
cwz update FIH
root [Tue, 1 Mar 2011 03:26:12 +0000 (11:26 +0800)]
(xxm) support FIH
kfx [Mon, 28 Feb 2011 09:35:00 +0000 (17:35 +0800)]
disable adc_test
黄涛 [Mon, 28 Feb 2011 09:26:27 +0000 (17:26 +0800)]
rk29: pm: add flush_tlb_all
kfx [Mon, 28 Feb 2011 09:12:52 +0000 (17:12 +0800)]
update adc drivers
黄涛 [Mon, 28 Feb 2011 03:36:15 +0000 (11:36 +0800)]
rk29: pm: set core voltage after ddr suspend
ubuntu [Mon, 28 Feb 2011 02:19:53 +0000 (18:19 -0800)]
cwz add tps65910 driver
luowei [Mon, 28 Feb 2011 01:23:40 +0000 (09:23 +0800)]
add wm831x support for in board-rk29-phonesdk.c
lbt [Sat, 26 Feb 2011 11:26:41 +0000 (19:26 +0800)]
wifi:bcm4329:driver: remove rssi print message
ddl [Sat, 26 Feb 2011 11:26:38 +0000 (19:26 +0800)]
camera: fix camera resume may be fail
杜坤明 [Tue, 1 Mar 2011 07:27:55 +0000 (15:27 +0800)]
add soft reset of gpu
lbt [Sat, 26 Feb 2011 11:08:44 +0000 (19:08 +0800)]
sdmmc:driver: change RK29_SDMMC_DMA_THRESHOLD to fix bcm4329 firmware run crashed, the reason isn't cleared yet.
lbt [Sat, 26 Feb 2011 11:01:44 +0000 (19:01 +0800)]
wifi:bcm4329:driver: enable DHD_USE_STATIC_BUF
lbt [Sat, 26 Feb 2011 10:56:47 +0000 (18:56 +0800)]
wifi:bcm4329:boardsdk: use pre-allocate static buffer as bcm4329 malloc buffer
lbt [Sat, 26 Feb 2011 10:12:40 +0000 (18:12 +0800)]
Revert "wifi:bcm4329: update to 4.218.248.20"
This reverts commit
a378ad648a4da8dc9461d748fc820e748287ec59.
lbt [Sat, 26 Feb 2011 10:10:00 +0000 (18:10 +0800)]
Revert "wifi:bcm4329: use preallocate static buffer as malloc pool"
This reverts commit
58aeb04aa214dd220375b9b190afc05e7ed27a7a.
lbt [Sat, 26 Feb 2011 10:00:36 +0000 (18:00 +0800)]
Revert "wifi:bcm4329: remove rssi print message"
This reverts commit
7de9eb91f7a3acbb54a394a06dc80117dc379bc2.
luowei [Sat, 26 Feb 2011 06:49:33 +0000 (14:49 +0800)]
update wm831x header files from rk2818
luowei [Sat, 26 Feb 2011 06:28:56 +0000 (14:28 +0800)]
move wm831x code from rk2818
zyw [Sat, 26 Feb 2011 02:49:09 +0000 (10:49 +0800)]
update fb for win1 buf -1
root [Fri, 25 Feb 2011 10:17:12 +0000 (18:17 +0800)]
swj add reboot code
hxy [Fri, 25 Feb 2011 08:39:44 +0000 (16:39 +0800)]
change earlysuspend to suspend in gps driver
hxy [Fri, 25 Feb 2011 07:41:43 +0000 (15:41 +0800)]
add gps gns7560 to phone sdk
ddl [Thu, 24 Feb 2011 12:37:54 +0000 (20:37 +0800)]
camera: sync s5k6aa sensor driver for FIH project
lyx [Fri, 25 Feb 2011 02:35:42 +0000 (18:35 -0800)]
checkout gpio for phonesdk board
ddl [Tue, 1 Feb 2011 15:08:02 +0000 (23:08 +0800)]
camera: add mt9d112 sensor driver for FIH project
lyx [Thu, 24 Feb 2011 07:36:06 +0000 (23:36 -0800)]
add psensor isl29028 driver
cmc [Thu, 24 Feb 2011 01:31:25 +0000 (09:31 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
cmc [Thu, 24 Feb 2011 01:28:23 +0000 (09:28 +0800)]
modify for statfs fail in CTS
lyx [Wed, 23 Feb 2011 07:46:34 +0000 (23:46 -0800)]
Merge branch 'develop' of lyx@10.10.10.29:/home/rockchip/kernel into develop
lyx [Wed, 23 Feb 2011 07:46:03 +0000 (23:46 -0800)]
add rk29_phonesdk board, use make rk29_phonesdk_defconfig first
fang [Wed, 23 Feb 2011 07:31:12 +0000 (15:31 +0800)]
update pl330 shutdown func
fang [Wed, 23 Feb 2011 02:48:34 +0000 (10:48 +0800)]
fix dma mem bug
黄涛 [Tue, 22 Feb 2011 10:16:26 +0000 (18:16 +0800)]
rk29: L2 Data RAM latency set to 9 cycles
杜坤明 [Tue, 22 Feb 2011 10:14:03 +0000 (18:14 +0800)]
change gpu's memory from cache to writecombine
黄涛 [Tue, 22 Feb 2011 09:30:35 +0000 (17:30 +0800)]
cpufreq: ondemand: rk29 up threshold set to 80
黄涛 [Tue, 22 Feb 2011 05:09:11 +0000 (13:09 +0800)]
pack-kernel.sh: pack toolchain
fang [Tue, 22 Feb 2011 02:38:25 +0000 (10:38 +0800)]
add dma shutdown func only for test
fang [Fri, 18 Feb 2011 02:52:51 +0000 (10:52 +0800)]
update i2s fix music play and record bug
yangkai [Thu, 17 Feb 2011 08:57:37 +0000 (16:57 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
yangkai [Thu, 17 Feb 2011 08:57:02 +0000 (16:57 +0800)]
adjust usb phy suspend and clockgate sequence
zyw [Thu, 17 Feb 2011 07:03:27 +0000 (15:03 +0800)]
optimize fb shutdown for clk
hxy [Thu, 17 Feb 2011 03:40:41 +0000 (11:40 +0800)]
add support ddr3
kfx [Wed, 16 Feb 2011 11:11:28 +0000 (19:11 +0800)]
update rk29 vout driver