Commit Graph

399606 Commits

Author SHA1 Message Date
wlf
4fd32aee8a USB: fix usb gadget ffs string id bug. 2014-06-11 10:45:44 +08:00
gwl
384134cb60 NFC: Add to support ap6441 & ap6493 nfc function. 2014-06-11 09:14:43 +08:00
lintao
feae1869ae mmc: host:rk_sdmmc:
sdio-wifi: fetch  accurate boot clock
2014-06-10 16:11:23 +08:00
lintao
5f5d643646 mmc: host: rk_sdmmc:
revert b8c4dede9e
2014-06-10 15:55:07 +08:00
ddl
e62ea88ccb camsys_drv: v0.d.0 2014-06-10 09:43:37 +08:00
qjb
649662820c pl330 : fix ifdef error 2014-06-10 09:42:08 +08:00
qjb
0774031f52 audio soc dma : add audio getposition dma 2014-06-10 09:17:55 +08:00
zyc
68aee7b787 camsys_drv:v0.c.0 camsys_head:v0.7.0 2014-06-09 09:40:28 +08:00
wlf
f534474238 USB: fix usb host hot-plug bug. 2014-06-09 09:40:06 +08:00
黄涛
66bd82550f rk808: fix deadlock when shutown or reboot
When shutdown, rk808 driver shutdown first, so io_lock mutex is locked.
At same time, gpu change freq by runtime pm, will locked on rk808_reg_read.
Finally, gpu device shutdown, call pm_runtime_barrier. Deadlock happens.

Fix this bug by make rk808 shutdown later.

  task                PC stack   pid father
init            D c06e9a14     0     1      0 0x00000000
[<c06e9a14>] (__schedule+0x48c/0x554) from [<c02e281c>] (__pm_runtime_barrier+0x114/0x138)
[<c02e281c>] (__pm_runtime_barrier+0x114/0x138) from [<c02e3cf4>] (pm_runtime_barrier+0x68/0xb8)
[<c02e3cf4>] (pm_runtime_barrier+0x68/0xb8) from [<c02d85ac>] (device_shutdown+0xa0/0x190)
[<c02d85ac>] (device_shutdown+0xa0/0x190) from [<c0042128>] (kernel_restart+0xc/0x50)
[<c0042128>] (kernel_restart+0xc/0x50) from [<c00422c4>] (SyS_reboot+0x150/0x1b0)
[<c00422c4>] (SyS_reboot+0x150/0x1b0) from [<c000da00>] (ret_fast_syscall+0x0/0x30)
kworker/2:1     D c06e9a14     0    32      2 0x00000000
Workqueue: pm pm_runtime_work
[<c06e9a14>] (__schedule+0x48c/0x554) from [<c06e9ec0>] (schedule_preempt_disabled+0x24/0x34)
[<c06e9ec0>] (schedule_preempt_disabled+0x24/0x34) from [<c06e8bf8>] (__mutex_lock_slowpath+0x1c0/0x22c)
[<c06e8bf8>] (__mutex_lock_slowpath+0x1c0/0x22c) from [<c06e8c94>] (mutex_lock+0x30/0x48)
[<c06e8c94>] (mutex_lock+0x30/0x48) from [<c02f0dbc>] (rk808_reg_read+0x24/0x5c)
[<c02f0dbc>] (rk808_reg_read+0x24/0x5c) from [<c02f0fa8>] (rk808_dcdc_is_enabled+0x28/0x38)
[<c02f0fa8>] (rk808_dcdc_is_enabled+0x28/0x38) from [<c02a6acc>] (_regulator_is_enabled+0x34/0x40)
[<c02a6acc>] (_regulator_is_enabled+0x34/0x40) from [<c02a6c50>] (_regulator_do_set_voltage+0xbc/0x3e4)
[<c02a6c50>] (_regulator_do_set_voltage+0xbc/0x3e4) from [<c02a7c1c>] (regulator_set_voltage+0xc0/0xe0)
[<c02a7c1c>] (regulator_set_voltage+0xc0/0xe0) from [<c0027b7c>] (dvfs_regulator_set_voltage_readback.isra.6+0x14/0x8c)
[<c0027b7c>] (dvfs_regulator_set_voltage_readback.isra.6+0x14/0x8c) from [<c0027d5c>] (dvfs_scale_volt_direct+0xa0/0xc4)
[<c0027d5c>] (dvfs_scale_volt_direct+0xa0/0xc4) from [<c0027f24>] (dvfs_target+0x1a4/0x1d4)
[<c0027f24>] (dvfs_target+0x1a4/0x1d4) from [<c00273e8>] (dvfs_clk_set_rate+0x44/0x80)
[<c00273e8>] (dvfs_clk_set_rate+0x44/0x80) from [<c02c1388>] (mali_dvfs_clk_set+0x28/0x48)
[<c02c1388>] (mali_dvfs_clk_set+0x28/0x48) from [<c02c01f4>] (kbase_platform_dvfs_set_level+0x9c/0xe0)
[<c02c01f4>] (kbase_platform_dvfs_set_level+0x9c/0xe0) from [<c02c032c>] (kbase_platform_dvfs_enable+0xf4/0x110)
[<c02c032c>] (kbase_platform_dvfs_enable+0xf4/0x110) from [<c02bf908>] (pm_callback_runtime_off+0x3c/0x58)
[<c02bf908>] (pm_callback_runtime_off+0x3c/0x58) from [<c02d2650>] (kbase_device_runtime_suspend+0x24/0x34)
[<c02d2650>] (kbase_device_runtime_suspend+0x24/0x34) from [<c02de738>] (pm_generic_runtime_suspend+0x2c/0x40)
[<c02de738>] (pm_generic_runtime_suspend+0x2c/0x40) from [<c02e25c4>] (__rpm_callback+0x38/0x68)
[<c02e25c4>] (__rpm_callback+0x38/0x68) from [<c02e2658>] (rpm_callback+0x64/0x7c)
[<c02e2658>] (rpm_callback+0x64/0x7c) from [<c02e3210>] (rpm_suspend+0x2d8/0x534)
[<c02e3210>] (rpm_suspend+0x2d8/0x534) from [<c02e3e60>] (pm_runtime_work+0x7c/0x94)
[<c02e3e60>] (pm_runtime_work+0x7c/0x94) from [<c004773c>] (process_one_work+0x29c/0x458)
[<c004773c>] (process_one_work+0x29c/0x458) from [<c0047a8c>] (worker_thread+0x194/0x2d4)
[<c0047a8c>] (worker_thread+0x194/0x2d4) from [<c004cf74>] (kthread+0xa0/0xac)
[<c004cf74>] (kthread+0xa0/0xac) from [<c000da98>] (ret_from_fork+0x14/0x3c)
2014-06-06 18:52:14 +08:00
huangds
3c2e780f34 color_fill_mode mmu 2014-06-06 18:18:58 +08:00
zwl
c6d076c7c2 rk fb: fix 10 bit yuv video play err 2014-06-06 17:57:36 +08:00
黄涛
5dfd7a0e15 ARM: rockchip: fix building without CONFIG_INPUT, CONFIG_CPU_FREQ, CONFIG_FB_ROCKCHIP 2014-06-06 17:26:52 +08:00
zwl
d983f03abe rk32 lcdc: add cabc other mode 2014-06-06 16:16:05 +08:00
hcy
9df83e437e ddr_rk32.c: addition fix system reboot stop at DDR_DEBUG information 2014-06-06 15:42:34 +08:00
zsq
f4ade8e8b3 del RGA suppot iommu releate to IOMMU must be open 2014-06-06 14:27:51 +08:00
张晴
5a9f3c6cd6 rk3288:pmic:act8846:modify shutdown func 2014-06-06 11:44:48 +08:00
张晴
ca5de5f006 rk3288:pmic:ricoh619:modify some warning 2014-06-06 11:09:24 +08:00
张晴
771f732bdb rk3288:pmic:ricoh619:add some lock and modify suspend func 2014-06-06 11:04:37 +08:00
zwl
91aea3ff09 rk3288 hdmi: modify pinctrl gpio state to sleep state 2014-06-06 10:09:10 +08:00
xxx
8ceae60289 fixed: uart and gic resume for sleep mode 2014-06-06 10:03:09 +08:00
zwl
7c772ad707 rk3288 hdmi: add iomux to gpio and pull down when suspend 2014-06-06 08:49:30 +08:00
xjh
74698c2a61 SDMMC: fix pad can not power down with sdmmc card insert 2014-06-05 19:33:36 +08:00
zsq
0b7a7ff4c8 fix rga 2 compile bug 2014-06-05 19:10:15 +08:00
lintao
6732533e8b mmc: host:rk_sdmmc:
wifi: SDIO use flags to detect card-in or card-remove.If
tagged up wifi and off, then go into deep suspend and resume, we
do not judge if wifi is on or off, this will crash pm.resume for
drivers cannot access register without hclk_mmc.

   [  357.835059] 1192..dw_mci_set_ios:  no card. [mmc1]
   [  358.322686] dwmmc_rockchip ff0d0000.rksdmmc: Timeout resetting block (ctrl reset 0x1)
   [  358.322792] dpm_run_callback(): platform_pm_resume+0x0/0x54 returns -19
   [  358.322813] PM: Device ff0d0000.rksdmmc failed to resume: error -19

   Fix it by default return success state to pm.resume if wifi off in SDIO slot
2014-06-05 18:47:00 +08:00
zsq
ef11544fd7 add rga iommu support 2014-06-05 16:57:04 +08:00
张晴
8421ff1017 rk3288:pmic:act8846:support power off when charger;ricoh619:add protect for i2c error 2014-06-05 16:32:51 +08:00
lintao
b8c4dede9e mmc: host:rk_sdmmc: move out effect to sd/sdio 2014-06-05 16:02:21 +08:00
lintao
0927e5aff1 mmc: host: rk_sdmmc:
[IMPORTANT COMMIT]
        (1) Complete HS200 tuning algorithm for better performance & stability
        (2) Auto workaround for error emmc clk settingin dts by Linux BSP engineer.
        (3) Fixme: BUG on HS-DDR50 eMMC with div = 0
2014-06-05 13:34:28 +08:00
CMY
1a7dec640d rk: ion: resolve sg table alloc failed if ion's vmalloc heap is used 2014-06-05 12:04:47 +08:00
CMY
72bf7a8903 Revert "rk: ion: resolve sg table alloc failed when iommu has enable"
This reverts commit d5479ef947.
2014-06-05 11:55:15 +08:00
zwl
e31a4fcfe8 rk32 dts: add cabc mode prop in lcdc node 2014-06-05 09:10:28 +08:00
zwl
e957da03a7 rk32-lcdc: improve the cabc function 2014-06-05 08:52:16 +08:00
黄涛
0fc71500f8 rk: ion: fix ion.h build warnings 2014-06-04 20:33:45 +08:00
qjb
127d33d136 dma soc audio : add support dma infiniteloop mode
soc audio rockchip default use infiniteloop mode
2014-06-04 18:17:08 +08:00
qjb
c519772e80 soc dma : add audio dma timeout debuginterface 2014-06-04 10:46:12 +08:00
hcy
51d7acb84f fix system reboot stop at DDR_DEBUG information 2014-06-03 16:54:13 +08:00
郭毅
232bdf5a4e p977: pmic:modify gpu not always on by defult 2014-06-03 16:47:44 +08:00
张晴
ec490fda1f rk3288:pmic:modify gpu not always on by defult 2014-06-03 16:09:05 +08:00
陈亮
8b0f7177ae diable vdd_gpu when early suspend 2014-06-03 00:16:11 -07:00
陈亮
143ce6175c ddrfreq: ddr enter auto_self_refresh when early suspend 2014-06-02 23:41:46 -07:00
qjb
c69849fe1a i2s : fix i2s suspend resume set error 2014-06-03 11:05:21 +08:00
CMY
3ecb7a87e8 rk: ion: resolve snapshot error and enable it by default 2014-05-31 13:50:10 +08:00
xxm
a5b572c454 rockchip:midgard:update to r4p1_01dev0 2014-05-31 10:47:01 +08:00
黄涛
60dad30fe9 ARM: rockchip: set default reboot flag as BOOT_NORMAL 2014-05-31 10:37:12 +08:00
xxm
e557c5059d rockchip:midgard:disable temperature control temporarily 2014-05-30 14:48:27 +08:00
zwl
b2d2fbd665 rk fb: modify acq_fence wait 2014-05-30 11:43:33 +08:00
zwl
5e3bcd307b rk fb: remove xvir align that have moved to hwc 2014-05-30 10:01:57 +08:00
zwl
2eb5689aed rk fb: modify some danger code 2014-05-29 20:37:54 +08:00
zwl
7451609b47 rk fb: coding style for upstream 2014-05-29 20:14:29 +08:00