黄涛 [Tue, 7 Aug 2012 03:16:48 +0000 (11:16 +0800)]
rk2928: iomux: fix init uart2
黄涛 [Tue, 7 Aug 2012 02:41:00 +0000 (10:41 +0800)]
rk2928: clock: fix init again
kfx [Tue, 7 Aug 2012 01:55:59 +0000 (09:55 +0800)]
rk2928: 'adc&keypad support' and 'lvds' and 'lcd'
黄涛 [Mon, 6 Aug 2012 14:17:44 +0000 (22:17 +0800)]
rk2928: clock: fix init
chenxing [Mon, 6 Aug 2012 06:51:32 +0000 (14:51 +0800)]
rk2928:sdk: add clock support
kfx [Thu, 2 Aug 2012 02:17:01 +0000 (10:17 +0800)]
rk2928: sdk init
yangkai [Tue, 31 Jul 2012 09:51:05 +0000 (17:51 +0800)]
usb code modify
hxy [Tue, 31 Jul 2012 09:37:13 +0000 (17:37 +0800)]
rk31: fix lcdc rgb888 bug
hxy [Tue, 31 Jul 2012 09:34:50 +0000 (17:34 +0800)]
rk31: add rga support
yangkai [Tue, 31 Jul 2012 02:41:29 +0000 (10:41 +0800)]
Merge remote branch 'wlf/develop-3.0-rk2928' into develop-3.0-rk2928
wlf [Tue, 31 Jul 2012 02:40:48 +0000 (10:40 +0800)]
RK2928 usb pcd modified
Zheng Yang [Mon, 30 Jul 2012 07:43:22 +0000 (15:43 +0800)]
rk2928: fix audio codec register operation error.
wlf [Mon, 30 Jul 2012 03:28:35 +0000 (11:28 +0800)]
RK2928 usb hcd modified
zyc [Sat, 28 Jul 2012 07:34:34 +0000 (15:34 +0800)]
rk2928 camera : revert and recommit rk2928_fpga_defconfig.
zyc [Sat, 28 Jul 2012 07:28:33 +0000 (15:28 +0800)]
Revert "rk2928 camera :add configs in rk2928_fpga_defconfig"
This reverts commit
6c4535aae9a53558525b2f71e3fbcad2080b4551.
zyc [Sat, 28 Jul 2012 06:57:24 +0000 (14:57 +0800)]
rk2928 camera :add configs in rk2928_fpga_defconfig
蓝斌元 [Fri, 27 Jul 2012 09:49:00 +0000 (17:49 +0800)]
Revert "rk2928 add gps support"
This reverts commit
225e3950a37b33e000ed1dd0b0e25f083e83988a.
ddl [Fri, 27 Jul 2012 08:33:06 +0000 (16:33 +0800)]
rk31 camera: add support camera, only ov2659
hxy [Fri, 27 Jul 2012 06:45:54 +0000 (14:45 +0800)]
rk31: add ion support
hxy [Fri, 27 Jul 2012 02:30:29 +0000 (10:30 +0800)]
rk31: update i2s/codec/backlight config & iomux
kfx [Fri, 27 Jul 2012 02:12:54 +0000 (10:12 +0800)]
rk2928: adc support
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