hxy [Fri, 27 Jul 2012 02:01:32 +0000 (10:01 +0800)]
rk31: add cif clock source
蓝斌元 [Thu, 26 Jul 2012 10:14:24 +0000 (18:14 +0800)]
rk2928 add gps support
hxy [Thu, 26 Jul 2012 09:47:51 +0000 (17:47 +0800)]
rk31: update iomux.h
hxy [Thu, 26 Jul 2012 08:56:35 +0000 (16:56 +0800)]
rk31: add i2s/codec/pwm/backlight support
yzq [Mon, 23 Jul 2012 09:47:06 +0000 (17:47 +0800)]
rk2928 lvds support
Zheng Yang [Mon, 23 Jul 2012 10:14:13 +0000 (18:14 +0800)]
rk2928: add audio codec.
hxy [Mon, 23 Jul 2012 08:14:29 +0000 (16:14 +0800)]
rk31: fix sdmmc bug after rk2928 commit sdmmc support
kfx [Mon, 23 Jul 2012 06:20:22 +0000 (14:20 +0800)]
rk2928: add sdmmc support
hxy [Mon, 23 Jul 2012 03:08:54 +0000 (11:08 +0800)]
add sdcard fs support
hxy [Fri, 20 Jul 2012 09:36:48 +0000 (17:36 +0800)]
rk31: add sdmmc support
yzq [Fri, 20 Jul 2012 09:04:55 +0000 (17:04 +0800)]
rk2928 hdmi support
kfx [Fri, 20 Jul 2012 06:47:18 +0000 (14:47 +0800)]
rk2928: update iomux
yxj [Thu, 19 Jul 2012 04:26:52 +0000 (12:26 +0800)]
rk31:add lcdc support
zyc [Wed, 18 Jul 2012 07:36:30 +0000 (15:36 +0800)]
init cif driver for rk2928,compatable with rk30.
kfx [Tue, 17 Jul 2012 13:02:16 +0000 (21:02 +0800)]
rk2928: add lcdc support and add rga config
黄涛 [Tue, 17 Jul 2012 06:48:20 +0000 (14:48 +0800)]
rk31: add fpga board support
黄涛 [Tue, 17 Jul 2012 06:47:33 +0000 (14:47 +0800)]
rk31: add initial support
黄涛 [Tue, 17 Jul 2012 06:30:05 +0000 (14:30 +0800)]
pl330: fix support RK2928/RK31
黄涛 [Tue, 17 Jul 2012 06:27:21 +0000 (14:27 +0800)]
rk2928: irqs.h: add IRQ_ARM_PMU define
kfx [Tue, 17 Jul 2012 02:11:22 +0000 (10:11 +0800)]
Merge remote-tracking branch 'origin/develop-3.0' into develop-3.0-rk2928
zsq [Tue, 17 Jul 2012 02:04:11 +0000 (10:04 +0800)]
add some define for rga common platform used
zsq [Tue, 17 Jul 2012 01:13:40 +0000 (09:13 +0800)]
add rga driver that are debugged
陈辉 [Mon, 16 Jul 2012 11:40:21 +0000 (19:40 +0800)]
to support JB three buffer
陈辉 [Mon, 16 Jul 2012 10:45:25 +0000 (18:45 +0800)]
add ds1001b product
kfx [Mon, 16 Jul 2012 10:07:00 +0000 (18:07 +0800)]
rk2928: devices.c: add rga support
陈辉 [Mon, 16 Jul 2012 07:47:47 +0000 (15:47 +0800)]
update arm and logic voltage,
from product experiment
v2
黄涛 [Mon, 16 Jul 2012 06:25:38 +0000 (14:25 +0800)]
rk: cpufreq_stats.c: fix boot time crash
fix this bug:
[ 2.300817] Unable to handle kernel NULL pointer dereference at virtual address
00000000
[ 2.308902] pgd =
c0404000
[ 2.311615] [
00000000] *pgd=
00000000
[ 2.315198] Internal error: Oops: 5 [#1] PREEMPT SMP
[ 2.320157] CPU: 1 Not tainted (3.0.8+ #70)
[ 2.324689] PC is at cpufreq_stat_notifier_trans+0x40/0xa8
[ 2.330169] LR is at notifier_call_chain+0x2c/0x70
[ 2.334954] pc : [<
c06ce1d4>] lr : [<
c0481440>] psr:
80000013
[ 2.334959] sp :
eee47e50 ip :
c0a13104 fp :
30a32c00
[ 2.346424] r10:
eee47ec8 r9 :
00118c30 r8 :
00000000
[ 2.351641] r7 :
fffffffc r6 :
00000000 r5 :
ed8c1d80 r4 :
00000000
[ 2.358158] r3 :
00000009 r2 :
000f6180 r1 :
00000000 r0 :
00000000
[ 2.364678] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 2.371976] Control:
10c53c7d Table:
6040404a DAC:
00000015
[ 2.377712]
[ 2.924838] [<
c06ce1d4>] (cpufreq_stat_notifier_trans+0x40/0xa8) from [<
c0481440>] (notifier_call_chain+0x2c/0x70)
[ 2.935178] [<
c0481440>] (notifier_call_chain+0x2c/0x70) from [<
c04815a0>] (__srcu_notifier_call_chain+0x40/0x58)
[ 2.945430] [<
c04815a0>] (__srcu_notifier_call_chain+0x40/0x58) from [<
c04815cc>] (srcu_notifier_call_chain+0x14/0x18)
[ 2.956115] [<
c04815cc>] (srcu_notifier_call_chain+0x14/0x18) from [<
c06cccd8>] (cpufreq_notify_transition+0xb4/0xe8)
[ 2.966721] [<
c06cccd8>] (cpufreq_notify_transition+0xb4/0xe8) from [<
c044b584>] (cpufreq_scale_rate_for_dvfs+0x10c/0x164)
[ 2.977755] [<
c044b584>] (cpufreq_scale_rate_for_dvfs+0x10c/0x164) from [<
c044cb94>] (dvfs_target_cpu+0x378/0x67c)
[ 2.988093] [<
c044cb94>] (dvfs_target_cpu+0x378/0x67c) from [<
c044c1dc>] (dvfs_set_rate+0x48/0x68)
[ 2.997044] [<
c044c1dc>] (dvfs_set_rate+0x48/0x68) from [<
c044b1f0>] (rk30_target+0x1a8/0x200)
[ 3.005648] [<
c044b1f0>] (rk30_target+0x1a8/0x200) from [<
c06cbff0>] (__cpufreq_driver_target+0x4c/0x60)
[ 3.015121] [<
c06cbff0>] (__cpufreq_driver_target+0x4c/0x60) from [<
c06d05ec>] (cpufreq_interactive_up_task+0x128/0x184)
[ 3.025981] [<
c06d05ec>] (cpufreq_interactive_up_task+0x128/0x184) from [<
c047c3d0>] (kthread+0x80/0x88)
[ 3.035453] [<
c047c3d0>] (kthread+0x80/0x88) from [<
c04375f8>] (kernel_thread_exit+0x0/0x8)
[ 3.043796] Code:
e5956018 e5953010 ea000004 e5951020 (
e7911104)
黄涛 [Mon, 16 Jul 2012 02:23:39 +0000 (10:23 +0800)]
Revert "rk30: clock: disable pd_vio gating function before rga, lcdc, cif support properly"
This reverts commit
2186d7743ad119ca8b5eea702970463fe4aba3df.
yxj [Sat, 14 Jul 2012 10:56:34 +0000 (18:56 +0800)]
rkfb:add three buffer support for menuconfig,redefine FBIOPUT_NUM_BUFFERS 0x4625
yxj [Sat, 14 Jul 2012 09:14:33 +0000 (17:14 +0800)]
rkfb:add ioctl to get buffers number
yxj [Sat, 14 Jul 2012 07:12:34 +0000 (15:12 +0800)]
turn of lcdc power domain and clk in earyl suspend
root [Sat, 14 Jul 2012 02:07:45 +0000 (10:07 +0800)]
fix bugs of early suspend when display_pd is closed.
黄涛 [Fri, 13 Jul 2012 11:24:46 +0000 (19:24 +0800)]
Merge remote-tracking branch 'origin/develop-3.0' into develop-3.0-rk2928
黄涛 [Fri, 13 Jul 2012 06:56:27 +0000 (14:56 +0800)]
rk: move CLK_SWITCH_TO_32K config from mach-rk30 to plat-rk
yxj [Fri, 13 Jul 2012 04:17:00 +0000 (12:17 +0800)]
rkfb:use macro HDMI_HPD_ACTIVED to judge HDMI plug or not
yxj [Thu, 3 May 2012 01:37:28 +0000 (09:37 +0800)]
rk30fb :fix a bug in rk_fb_switch_screeen
after close lcdc the hdmi used ,return directly
黄涛 [Fri, 13 Jul 2012 03:44:33 +0000 (11:44 +0800)]
rk30: ddr.c: always compile with Os, else may hung on boot
chenhui [Fri, 13 Jul 2012 01:50:32 +0000 (09:50 +0800)]
update arm and logic voltage,
from product experiment
kfx [Thu, 12 Jul 2012 09:32:13 +0000 (17:32 +0800)]
rk2928: add spi&i2c board config
Zheng Yang [Thu, 12 Jul 2012 09:31:05 +0000 (17:31 +0800)]
rk30 hdmi: lower ddc frequency to pass hdmi cts.
kfx [Thu, 12 Jul 2012 06:57:37 +0000 (14:57 +0800)]
rk2928: update i2s driver
kfx [Thu, 12 Jul 2012 06:31:18 +0000 (14:31 +0800)]
rk2928: i2s init
kfx [Thu, 12 Jul 2012 05:05:31 +0000 (13:05 +0800)]
rk2928: update gpio driver(gpio-rk30.c)
kfx [Thu, 12 Jul 2012 02:50:10 +0000 (10:50 +0800)]
rk2928: gpio enable & iomux enable & fpga keypad init
zwp [Thu, 12 Jul 2012 02:11:07 +0000 (10:11 +0800)]
solve gsensor deadlock problem.
黄涛 [Thu, 12 Jul 2012 01:46:55 +0000 (09:46 +0800)]
sched: Cleanup cpu_active madness
commit
5fbd036b552f633abb394a319f7c62a5c86a9cd7 upstream.
Stepan found:
CPU0 CPUn
_cpu_up()
__cpu_up()
boostrap()
notify_cpu_starting()
set_cpu_online()
while (!cpu_active())
cpu_relax()
<PREEMPT-out>
smp_call_function(.wait=1)
/* we find cpu_online() is true */
arch_send_call_function_ipi_mask()
/* wait-forever-more */
<PREEMPT-in>
local_irq_enable()
cpu_notify(CPU_ONLINE)
sched_cpu_active()
set_cpu_active()
Now the purpose of cpu_active is mostly with bringing down a cpu, where
we mark it !active to avoid the load-balancer from moving tasks to it
while we tear down the cpu. This is required because we only update the
sched_domain tree after we brought the cpu-down. And this is needed so
that some tasks can still run while we bring it down, we just don't want
new tasks to appear.
On cpu-up however the sched_domain tree doesn't yet include the new cpu,
so its invisible to the load-balancer, regardless of the active state.
So instead of setting the active state after we boot the new cpu (and
consequently having to wait for it before enabling interrupts) set the
cpu active before we set it online and avoid the whole mess.
黄涛 [Thu, 12 Jul 2012 01:31:21 +0000 (09:31 +0800)]
rk30: cpufreq: prevent deadlock by disable call get_online_cpus
The deadlock happens when:
rk30_cpufreq_temp_limit_work_func:
cpufreq_driver_target
lock_policy_rwsem_write
mutex_lock(&cpufreq_mutex)
cpufreq_interactive_up_task:
mutex_lock(&cpufreq_mutex)
mutex_lock(&cpu_hotplug.lock)
_cpu_down:
mutex_lock(&cpu_hotplug.lock)
lock_policy_rwsem_write
黄涛 [Thu, 12 Jul 2012 01:30:38 +0000 (09:30 +0800)]
rk: fiq_debugger: better support cpu cmd, never switch when target cpu is offline
kfx [Wed, 11 Jul 2012 10:53:07 +0000 (18:53 +0800)]
rk2928: i2c: SZ_4K -> RK2928_XXI2CX_SIZE
kfx [Wed, 11 Jul 2012 10:43:53 +0000 (18:43 +0800)]
rk2928: uart init
kfx [Wed, 11 Jul 2012 09:24:11 +0000 (17:24 +0800)]
rk2928: spi init
kfx [Wed, 11 Jul 2012 08:38:16 +0000 (16:38 +0800)]
rk2928: i2c init
kfx [Wed, 11 Jul 2012 07:52:07 +0000 (15:52 +0800)]
rk2928: add board_clock_init
kfx [Wed, 11 Jul 2012 07:13:02 +0000 (15:13 +0800)]
rk2928: iomux init
黄涛 [Wed, 11 Jul 2012 06:53:45 +0000 (14:53 +0800)]
rk: add RK_CLOCK_PROC config, disable /proc/clocks by default
陈辉 [Tue, 10 Jul 2012 16:35:20 +0000 (00:35 +0800)]
add arm-eabi-4.4.3 toolchain
kfx [Tue, 10 Jul 2012 06:57:28 +0000 (14:57 +0800)]
Merge remote-tracking branch 'origin/develop-3.0' into develop-3.0-rk2928
kfx [Tue, 10 Jul 2012 06:55:11 +0000 (14:55 +0800)]
i2c: 'move rk30_i2c_platform_data from mach-rk30 to plat-rk' and 'disable i2c4 select on rk2928'
黄涛 [Tue, 10 Jul 2012 05:13:32 +0000 (13:13 +0800)]
rk2928: enable RK_PL330_DMA config
黄涛 [Tue, 10 Jul 2012 05:11:01 +0000 (13:11 +0800)]
Merge remote-tracking branch 'remotes/origin/develop-3.0' into develop-3.0-rk2928
Conflicts:
arch/arm/plat-rk/Makefile
黄涛 [Tue, 10 Jul 2012 05:07:39 +0000 (13:07 +0800)]
rk: add RK_PL330_DMA config
kfx [Tue, 10 Jul 2012 03:53:00 +0000 (11:53 +0800)]
rk2928: dma init
赵子初 [Tue, 10 Jul 2012 03:22:48 +0000 (11:22 +0800)]
add mt6229 for rk30
kfx [Tue, 10 Jul 2012 02:49:34 +0000 (10:49 +0800)]
rk2928: add devices.c
黄涛 [Tue, 10 Jul 2012 01:32:00 +0000 (09:32 +0800)]
rk2928: fpga: defconfig: enable vfp
黄涛 [Mon, 9 Jul 2012 12:03:06 +0000 (20:03 +0800)]
rk2928: add board-rk2928-fpga.c timer.c, irqs.h add IRQ_DEBUG_UART define
许盛飞 [Mon, 9 Jul 2012 12:01:42 +0000 (20:01 +0800)]
rk30:phone: the bug of charge_display
黄涛 [Mon, 9 Jul 2012 09:01:12 +0000 (17:01 +0800)]
rk2928: fpga: add defconfig
黄涛 [Mon, 9 Jul 2012 09:00:55 +0000 (17:00 +0800)]
rk2928: add common.c io.c gpio.h io.h irqs.h memory.h vmalloc.h pm.c reset.c board.h
赵子初 [Mon, 9 Jul 2012 07:50:25 +0000 (15:50 +0800)]
add mw100 for rk30
赵子初 [Mon, 9 Jul 2012 07:15:54 +0000 (15:15 +0800)]
add mu509 for rk30
zwp [Mon, 9 Jul 2012 02:53:23 +0000 (10:53 +0800)]
add twl60xx low battery detection function at rk30_phone_defconfig.
yangkai [Mon, 9 Jul 2012 02:41:30 +0000 (10:41 +0800)]
hcd nonper channel problem & suspend when no device connect
zwp [Mon, 9 Jul 2012 02:05:30 +0000 (10:05 +0800)]
add charge display function at rk30_phone_defconfig.
许盛飞 [Mon, 9 Jul 2012 02:01:02 +0000 (10:01 +0800)]
rk30:sdk:change load order order
hhb [Mon, 9 Jul 2012 01:55:52 +0000 (09:55 +0800)]
camera:modify ov5640_for_td8801.c
张晴 [Mon, 9 Jul 2012 01:49:32 +0000 (09:49 +0800)]
rk30:phone:support pmic tps80032 vbat low detection,support pmic tps80032 early suspend
许盛飞 [Fri, 6 Jul 2012 10:02:17 +0000 (18:02 +0800)]
rk30:sdk: update power calculation method
zsq [Fri, 6 Jul 2012 09:51:20 +0000 (17:51 +0800)]
del rga dump for bug fix
chenxing [Fri, 6 Jul 2012 07:18:14 +0000 (15:18 +0800)]
Revert "rk30:sdk: store clock request frequency and auto scale frequency when limit clock frequency"
This reverts commit
f0a1404739d7e0e63e8e2745bf92af10faeb0fc4.
chenxing [Fri, 6 Jul 2012 07:09:02 +0000 (15:09 +0800)]
rk30:sdk: store clock request frequency and auto scale frequency when limit clock frequency
许盛飞 [Thu, 5 Jul 2012 11:51:52 +0000 (19:51 +0800)]
rk30: not gating the gpios clock
chenxing [Thu, 5 Jul 2012 11:24:10 +0000 (19:24 +0800)]
rk30:sdk: protect variable and function
chenxing [Thu, 5 Jul 2012 11:02:42 +0000 (19:02 +0800)]
rk30:sdk: get avs value under logic 1.1V
黄涛 [Thu, 5 Jul 2012 10:47:03 +0000 (18:47 +0800)]
rk2928: mach-types add rk2928
chenxing [Thu, 5 Jul 2012 10:28:18 +0000 (18:28 +0800)]
rk30:sdk add interface of avs function and interface to see dvfs tree(/sys/dvfs/dvfs_tree)
黄涛 [Thu, 5 Jul 2012 10:23:56 +0000 (18:23 +0800)]
Merge remote-tracking branch 'origin/develop-3.0' into develop-3.0-rk2928
黄涛 [Thu, 5 Jul 2012 10:22:44 +0000 (18:22 +0800)]
rk2928: add initial support
huangdesheng [Thu, 5 Jul 2012 10:17:17 +0000 (18:17 +0800)]
revise rga code err
黄涛 [Thu, 5 Jul 2012 10:11:15 +0000 (18:11 +0800)]
rk: plat: entry-macro.S use GIC_CPU_BASE macro
huangdesheng [Thu, 5 Jul 2012 09:47:06 +0000 (17:47 +0800)]
add rga version
黄涛 [Thu, 5 Jul 2012 09:16:55 +0000 (17:16 +0800)]
rk: move fiq.c from mach-rk30 to plat-rk
add GIC_DIST_BASE, GIC_CPU_BASE, IRQ_DEBUG_UART macro
rename rk30_fiq_init to rk_fiq_init
许盛飞 [Thu, 5 Jul 2012 08:45:17 +0000 (16:45 +0800)]
rk30:sdk: add lowpower check
许盛飞 [Wed, 4 Jul 2012 09:46:35 +0000 (17:46 +0800)]
rk30:sdk: add wakelock when charging
chenxing [Wed, 4 Jul 2012 09:23:30 +0000 (17:23 +0800)]
rk30:sdk: add GPU frequency limit between 133MHz to 400MHz
黄涛 [Tue, 3 Jul 2012 02:40:29 +0000 (10:40 +0800)]
rk: plat: add io.h
hhb [Tue, 3 Jul 2012 02:21:05 +0000 (10:21 +0800)]
DMA: rk29-pl330.c add new argument 'id' to pl330_request_channel() where it is invoked
黄涛 [Tue, 3 Jul 2012 02:20:19 +0000 (10:20 +0800)]
rk: plat: add memory.h
hhb [Tue, 3 Jul 2012 02:12:12 +0000 (10:12 +0800)]
DMA: dma-pl330.c add new argument 'id' to pl330_request_channel() where it is invoked
kfx [Tue, 3 Jul 2012 02:03:23 +0000 (10:03 +0800)]
adc drivers: add comments