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
kfx [Mon, 16 Jul 2012 10:07:00 +0000 (18:07 +0800)]
rk2928: devices.c: add rga support
黄涛 [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
hhb [Tue, 3 Jul 2012 01:54:00 +0000 (09:54 +0800)]
DMA :pl330.c add new argument 'id' to pl330_request_channel()
黄涛 [Mon, 2 Jul 2012 12:41:37 +0000 (20:41 +0800)]
rk: plat: add gpio.h
黄涛 [Mon, 2 Jul 2012 12:18:56 +0000 (20:18 +0800)]
rk: move fiq.h from mach-rk30 to plat-rk
黄涛 [Mon, 2 Jul 2012 11:57:53 +0000 (19:57 +0800)]
rk: move system.h from mach-rk30 to plat-rk
黄涛 [Mon, 2 Jul 2012 11:48:45 +0000 (19:48 +0800)]
rk: move clkdev.h debug-macro.S entry-macro.S timex.h uncompress.h from mach-rk30 to plat-rk
黄涛 [Mon, 2 Jul 2012 09:07:06 +0000 (17:07 +0800)]
rk30: cpufreq: support build with non-SMP config
hhb [Sat, 30 Jun 2012 08:10:26 +0000 (16:10 +0800)]
camera: modify ov5640 driver for phone
蓝斌元 [Fri, 29 Jun 2012 03:10:30 +0000 (11:10 +0800)]
Revert "fix spi driver's bug while dma recieving"
This reverts commit
b01b358f83249ee24bc26232ee3afed5e5e6feec.
gwl [Thu, 28 Jun 2012 03:31:18 +0000 (11:31 +0800)]
add broadcom OOB function resource,current is not used
黄涛 [Thu, 28 Jun 2012 03:17:55 +0000 (11:17 +0800)]
rk30: timer: try fix asynchronous read timer, return value may undefined
hhb [Wed, 27 Jun 2012 11:08:37 +0000 (19:08 +0800)]
rk30 : DMA: add move DMA microcode from DDR to SRAM
chenxing [Wed, 27 Jun 2012 08:35:40 +0000 (16:35 +0800)]
rk30: add retry after dvfs set voltage error, and check voltage value to make sure if it realy failed
chenxing [Wed, 27 Jun 2012 08:23:31 +0000 (16:23 +0800)]
rk30: record arm voltage value before dvfs start
root [Wed, 27 Jun 2012 02:55:42 +0000 (10:55 +0800)]
camera rk30: rk_camera_querycap func has bug of quering orintation.
zwp [Wed, 27 Jun 2012 02:11:49 +0000 (10:11 +0800)]
solve the problem we should push power button twice when device resume.
lw@rock-chips.com [Tue, 26 Jun 2012 12:18:36 +0000 (20:18 +0800)]
fix spi driver's bug while dma recieving
ddl [Tue, 26 Jun 2012 09:18:02 +0000 (17:18 +0800)]
camera rk29: fix error when calculate crop left-top point coordinate, version update to v0.x.d
xxx [Tue, 26 Jun 2012 06:14:07 +0000 (23:14 -0700)]
gpll support 300M
zwp [Tue, 26 Jun 2012 01:05:38 +0000 (09:05 +0800)]
modify tdsc8800 bug.
Zheng Yang [Mon, 25 Jun 2012 11:52:31 +0000 (19:52 +0800)]
rk30 hdmi:
1. Fix HDMI 480P video parameter setting error.
2. Print EDID data when debug is enabled.
hhb [Mon, 25 Jun 2012 03:39:56 +0000 (11:39 +0800)]
rk30 phone: camera update ov5640_for_td8801.c
hhb [Mon, 25 Jun 2012 03:39:29 +0000 (11:39 +0800)]
rk30 phone: camera config :change back camera from ov5640.c to ov5640_for_td8801.c
zsq [Thu, 21 Jun 2012 03:00:01 +0000 (11:00 +0800)]
Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0
zsq [Thu, 21 Jun 2012 02:59:25 +0000 (10:59 +0800)]
fix rga prescale mode mem leak
张晴 [Thu, 21 Jun 2012 02:58:35 +0000 (10:58 +0800)]
rk30:sdk:Single battery of low-power detection by wm8326
yangkai [Wed, 20 Jun 2012 09:12:48 +0000 (17:12 +0800)]
diasble host2.0 if no device connect, fix a pcd disconnect bug
yangkai [Wed, 20 Jun 2012 08:45:20 +0000 (16:45 +0800)]
down the power consume in suspend state with 100ohm between diff CLK
蓝斌元 [Wed, 20 Jun 2012 08:26:37 +0000 (16:26 +0800)]
sc8803: update sc8800.c
lw [Wed, 20 Jun 2012 07:20:39 +0000 (15:20 +0800)]
add spi bus test code