Commit Graph

62411 Commits

Author SHA1 Message Date
黄涛
3145fc703e rk31: add initial support 2012-07-17 14:47:33 +08:00
黄涛
323e1a575e pl330: fix support RK2928/RK31 2012-07-17 14:30:05 +08:00
黄涛
1fd0835ee3 rk2928: irqs.h: add IRQ_ARM_PMU define 2012-07-17 14:27:21 +08:00
kfx
8d247adbfb Merge remote-tracking branch 'origin/develop-3.0' into develop-3.0-rk2928 2012-07-17 10:11:22 +08:00
zsq
64a147f246 add some define for rga common platform used 2012-07-17 10:04:11 +08:00
zsq
fd02ff2c9d add rga driver that are debugged 2012-07-17 09:13:40 +08:00
陈辉
ff49459a0c to support JB three buffer 2012-07-16 19:40:21 +08:00
陈辉
52e3b3d476 add ds1001b product 2012-07-16 18:45:25 +08:00
kfx
693e55f09b rk2928: devices.c: add rga support 2012-07-16 18:07:00 +08:00
陈辉
dfe3ba46eb update arm and logic voltage,
from product experiment
v2
2012-07-16 15:47:47 +08:00
黄涛
33ae54fb27 Revert "rk30: clock: disable pd_vio gating function before rga, lcdc, cif support properly"
This reverts commit 2186d7743a.
2012-07-16 10:23:39 +08:00
yxj
b3ecdc5ac2 rkfb:add three buffer support for menuconfig,redefine FBIOPUT_NUM_BUFFERS 0x4625 2012-07-14 18:56:34 +08:00
yxj
1a88c4e7a5 rkfb:add ioctl to get buffers number 2012-07-14 17:16:02 +08:00
黄涛
84a3957cd4 Merge remote-tracking branch 'origin/develop-3.0' into develop-3.0-rk2928 2012-07-13 19:24:46 +08:00
黄涛
93e23ed866 rk: move CLK_SWITCH_TO_32K config from mach-rk30 to plat-rk 2012-07-13 14:56:44 +08:00
黄涛
33246c59d0 rk30: ddr.c: always compile with Os, else may hung on boot 2012-07-13 11:45:06 +08:00
chenhui
68c1c4acaf update arm and logic voltage,
from product experiment
2012-07-13 09:51:18 +08:00
kfx
a6c33cb21c rk2928: add spi&i2c board config 2012-07-12 17:32:13 +08:00
kfx
0f7b346795 rk2928: i2s init 2012-07-12 14:31:18 +08:00
kfx
ec0d6b3a8a rk2928: update gpio driver(gpio-rk30.c) 2012-07-12 13:05:31 +08:00
kfx
d37628c897 rk2928: gpio enable & iomux enable & fpga keypad init 2012-07-12 10:50:10 +08:00
黄涛
dbc0fca461 sched: Cleanup cpu_active madness
commit 5fbd036b55 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.
2012-07-12 09:49:51 +08:00
黄涛
8215d8fbbf 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
2012-07-12 09:49:51 +08:00
黄涛
9100f92c1f rk: fiq_debugger: better support cpu cmd, never switch when target cpu is offline 2012-07-12 09:49:51 +08:00
kfx
9344f9d599 rk2928: i2c: SZ_4K -> RK2928_XXI2CX_SIZE 2012-07-11 18:53:07 +08:00
kfx
615c024517 rk2928: uart init 2012-07-11 18:43:53 +08:00
kfx
dfeede9fe7 rk2928: spi init 2012-07-11 17:24:11 +08:00
kfx
02b33dc94f rk2928: i2c init 2012-07-11 16:38:16 +08:00
kfx
c0c865ee36 rk2928: add board_clock_init 2012-07-11 15:52:07 +08:00
kfx
7c34875193 rk2928: iomux init 2012-07-11 15:13:02 +08:00
黄涛
da66e13f0c rk: add RK_CLOCK_PROC config, disable /proc/clocks by default 2012-07-11 14:54:48 +08:00
kfx
10690a80e1 Merge remote-tracking branch 'origin/develop-3.0' into develop-3.0-rk2928 2012-07-10 14:57:28 +08:00
kfx
fdf7df16f3 i2c: 'move rk30_i2c_platform_data from mach-rk30 to plat-rk' and 'disable i2c4 select on rk2928' 2012-07-10 14:55:11 +08:00
黄涛
b9eb3fa8bb rk2928: enable RK_PL330_DMA config 2012-07-10 13:13:32 +08:00
黄涛
3e3fca27c6 Merge remote-tracking branch 'remotes/origin/develop-3.0' into develop-3.0-rk2928
Conflicts:
	arch/arm/plat-rk/Makefile
2012-07-10 13:11:01 +08:00
黄涛
0b821e09a8 rk: add RK_PL330_DMA config 2012-07-10 13:07:59 +08:00
kfx
897f46a57c rk2928: dma init 2012-07-10 11:53:00 +08:00
赵子初
9f1e202b42 add mt6229 for rk30 2012-07-10 11:23:13 +08:00
kfx
9e853b76d4 rk2928: add devices.c 2012-07-10 10:49:34 +08:00
黄涛
14774179cb rk2928: fpga: defconfig: enable vfp 2012-07-10 09:32:00 +08:00
黄涛
009df1d1a5 rk2928: add board-rk2928-fpga.c timer.c, irqs.h add IRQ_DEBUG_UART define 2012-07-09 20:03:06 +08:00
黄涛
cfd51ed06f rk2928: fpga: add defconfig 2012-07-09 17:01:12 +08:00
黄涛
be7fa86fae rk2928: add common.c io.c gpio.h io.h irqs.h memory.h vmalloc.h pm.c reset.c board.h 2012-07-09 17:00:55 +08:00
赵子初
edd704202a add mw100 for rk30 2012-07-09 15:50:25 +08:00
赵子初
c4370f4587 add mu509 for rk30 2012-07-09 15:15:54 +08:00
zwp
9c0c1755b7 add twl60xx low battery detection function at rk30_phone_defconfig. 2012-07-09 10:55:20 +08:00
zwp
9d19ca3097 add charge display function at rk30_phone_defconfig. 2012-07-09 10:06:32 +08:00
张晴
30d38160f8 rk30:phone:support pmic tps80032 vbat low detection,support pmic tps80032 early suspend 2012-07-09 09:49:32 +08:00
chenxing
54f6c42e54 Revert "rk30:sdk: store clock request frequency and auto scale frequency when limit clock frequency"
This reverts commit f0a1404739.
2012-07-06 15:18:14 +08:00
chenxing
f0a1404739 rk30:sdk: store clock request frequency and auto scale frequency when limit clock frequency 2012-07-06 15:09:02 +08:00