Commit Graph

402268 Commits

Author SHA1 Message Date
Xiao Feng
13d648b3d9 rockchip: cpufreq: move cpufreq_reboot_notifier from ddr_freq to cpufreq
Signed-off-by: Xiao Feng <xf@rock-chips.com>
2015-01-19 10:57:21 +08:00
lyz
a85de2be7d usb: dwc_otg: fix a spin-lock error, here should not goto return
without unlock hck->lock
2015-01-18 23:40:08 +08:00
Zhaoyifeng
4648d6a167 nand: add idb read function for drmboot.ko for read idb data. 2015-01-16 09:30:07 +08:00
许盛飞
3694b65f17 rk312x: the bug of ddr-resume. phy soft de-reset dll
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-01-16 08:47:06 +08:00
typ
484c2dafc1 rk312x ddr:idle prot,deidle prot clk gate err and ddr resume phy softdereset sequence 2015-01-15 14:20:09 +08:00
lyz
2ac8753a2a usb: dwc_otg: fix some issues of dwc_otg_310
1.disable host interrupts when id changed so that no more host
  interrupt will happen after otg disconnect
2.hold hcd->lock in hcd_reinit function to protect qtd list
3.recheck USB_STATUS_ID in vbus detect thread make sure it indeed
  in device mode
4.fix some null pointer dereference
5.otg disconnect threshold set to 575mv in case of disconnect
  interrupt lose
2015-01-15 13:29:39 +08:00
lintao
491715787b mmc: backport tmo mechanism
Signed-off-by: lintao <lintao@rock-chips.com>
2015-01-14 21:15:23 +08:00
lintao
1e6fd6536a mmc: rk_sdmmc: change slot.cd_gpio from edge to level detect 2015-01-14 21:15:23 +08:00
Alpha Lin
168f9d21c4 IEP: recover the code that mistaken remove
Recover the code that remove in previous coding-style commit.
Without this code, hw could not running proberly.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
2015-01-14 16:22:25 +08:00
zyc
3f2a62ed98 camera :fix oneframe compile warnning 2015-01-14 15:27:45 +08:00
guoyi
6a3b58394f sensor: fix mpu6880_acc.c waring. 2015-01-14 15:05:07 +08:00
guoyi
5002601be4 sensor: add mpu6880's accel and gyro support. 2015-01-14 14:58:31 +08:00
yzq
a234316368 rk312x_lcdc: fix lcdc irq abnormal when shutdown
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2015-01-14 14:29:53 +08:00
xiaoyao
d31be74eb0 Initialization and support 3128-86v 2015-01-14 13:30:01 +08:00
zyc
37f6f8af51 camera: oneframe : v0.1.0xc 2015-01-14 11:59:21 +08:00
张晴
329d045851 rk312x:pmic:rt5036:slove rt5036 irq locked
Signed-off-by: 张晴 <zhangqing@rock-chips.com>
2015-01-14 11:44:20 +08:00
qjb
b7fb4e7c55 rk3288 sec dts : modify ion drm config 2015-01-13 19:21:28 +08:00
xxh
ecb6fd7d63 modify chip name /sys/class/rkwifi/chip for 8723BU 2015-01-13 14:43:39 +08:00
Simon
9bbc54a4c0 rockchip: iommu: only disable rk312x iommu stall mode
Signed-off-by: Simon <xxm@rock-chips.com>
2015-01-13 14:40:09 +08:00
huang zhibao
c16bff6d87 rk3036: add 3036 new board dts and modify 3036 256M defconfig 2015-01-13 14:38:51 +08:00
Zheng Yang
1963c49ad1 rk_fb & rk3036 lcdc & rk312x lcdc:
1. Modify box display policy, rk_fb_update_reg() need to check yuv420
           format.
        2. When power up in uboot logo mode, if rk_fb_switch_screen input screen
           type is not equal to current screen type, exit uboot logo mode. For
           the case of display interface change happen at the moment of kernel
           initialization.
        3. Fox box, if RK_FBIOSET_YUV_ADDR input address is zero, we close related
           lcdc layer. Because RK_FBIOSET_ENABLE may not be called by application,
           especially at low memory enviorment,such as rk3036 256M ram.

        Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-01-13 14:13:06 +08:00
hwg
870c55fc0d wifi: add rtl8189es cob efuse file
only for cob design, custom should retest their machine wifi rf and update wifi_efuse_8189e.map
2015-01-13 14:07:14 +08:00
lintao
2d7fa2e030 mmc: rk_sdmmc: limit burst to 8 for rk3036 w/ pl330
Signed-off-by: lintao <lintao@rock-chips.com>
2015-01-13 12:54:45 +08:00
zyc
c689bbd0c3 camera: camsys_drv:v0.0x1a.0 oneframe:v0.1.0xb 2015-01-13 10:54:55 +08:00
dkl
018e850fee clk: rockchip: cru_readl use readl_relaxed instead of readl,
cru_writel use writel_relaxed instead of writel

Signed-off-by: dkl <dkl@rock-chips.com>
2015-01-13 09:31:44 +08:00
许盛飞
6350dd1380 rk818-battery: fix POWER_SUPPLY_PROP_PRESENT val error, and add Li-ion battery check
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-01-12 11:43:27 +08:00
许盛飞
a8c18a575a rk818-battery: fix Division by zero in kernel, and update regs definition
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-01-12 11:40:45 +08:00
lyz
9ef0cc445e usb: manual delay 8s to enable connect pc
Android generate Serial number too later than set 1 to
sys/class/android_usb/android0/enable. So here we have to manual
delay some time to enable usb connect in usb controler driver,
otherwise adb read a wrong serial number via usb then CTS test
will fail.

Signed-off-by: lyz <lyz@rock-chips.com>
2015-01-10 19:22:34 +08:00
lyz
93c355776d usb: rk312x: fix wrong clk name
Signed-off-by: lyz <lyz@rock-chips.com>
2015-01-09 19:14:56 +08:00
xxh
5479eb3e05 3.10 kernel support more Huawei 3G dongles 2015-01-09 17:38:08 +08:00
xxh
bacbbaa5ba Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into xxh_develop 2015-01-09 16:47:56 +08:00
xxh
81feaac451 UPDATE 8723BU WIFI driver 2015-01-09 16:47:40 +08:00
zwl
d9a7d4e949 rk fb: remove map fb which from android to economize vmalloc space
Signed-off-by: zwl <zwl@rockchips.com>
2015-01-09 16:37:41 +08:00
hwg
1cf1e6fd42 rk312x UART0_SOUT UART0_SIN default pull down disable
may case bt can't open problem
2015-01-09 15:24:16 +08:00
qjb
8ced100fd7 TrustZone: Add Support Trust OS
if Trust OS running ,
  - disable ddr_freq
  - disable fiq debug
2015-01-09 11:03:39 +08:00
qjb
a8d700c478 Revert "TrustZone: Add Support Trust OS"
This reverts commit 940a3100bd.
2015-01-09 10:00:17 +08:00
hwg
e3240f9a79 wifi: support rtl8723bs-vq0 cob 2015-01-09 09:04:24 +08:00
qjb
c46686caae sec dts: Add rk3288 tb secure dts 2015-01-07 17:49:49 +08:00
qjb
10ec8748d4 defconfig : Add rockchip secure defconfig 2015-01-07 17:49:49 +08:00
qjb
2ee9f10b07 TrustZone: TLK before the start of the temporary closure of MMU 2015-01-07 17:49:49 +08:00
qjb
940a3100bd TrustZone: Add Support Trust OS
if Trust OS running ,
          - disable ddr_freq
          - disable fiq debug
2015-01-07 17:49:49 +08:00
qjb
4b8c633001 TrustZone: Add TrustZone Driver
Add the communication with the TLK interface driver.
2015-01-07 17:49:49 +08:00
Huang, Tao
49f19c409d rk29_wdt: fromdos only
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
2015-01-07 14:22:41 +08:00
smj
110f7ae7d3 rk3128 : remove cif sensor include for box dts
Signed-off-by: hjh <hjh@rock-chips.com>
2015-01-07 14:04:13 +08:00
chenzhen
b8413842ff rk312x, mali_400_driver : support mali_so to get rk_ko_ver from mali_ko. 2015-01-07 14:15:42 +08:00
Alpha Lin
38fe8ecc55 IEP: Coding Style revision according to K-R style.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
2015-01-07 11:24:42 +08:00
Alpha Lin
03898b614e VPU, fix undefined reference to `syscon_regmap_lookup_by_phandle'.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
2015-01-07 09:57:43 +08:00
chenzhen
b83f8495b2 rk312x, mali_400_driver :
Integrate arm_release_ver r5p0-01rel0;
	Modify resource init code to run with 'dts_for_mali_ko_befor_r5p0'.
2015-01-07 09:44:20 +08:00
Alpha Lin
b5936892be VPU, Disable iommu when decoding failure
Disable iommu when decoding failure, so the iommu could
restore its state when the decoding resume.
Without this step, iommu will work in invalid state.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
2015-01-07 09:31:30 +08:00
cl
fb24629ff4 <4>[ 4109.549711] CPU: 0 PID: 125 Comm: ddrfreqd Not tainted 3.10.0 #136
<4>[ 4109.549723] [<c0013e24>] (unwind_backtrace+0x0/0xe0) from [<c001172c>] (show_stack+0x10/0x14)
<4>[ 4109.549737] [<c001172c>] (show_stack+0x10/0x14) from [<c0032408>] (warn_slowpath_common+0x4c/0x68)
<4>[ 4109.549750] [<c0032408>] (warn_slowpath_common+0x4c/0x68) from [<c00324a4>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 4109.549762] [<c00324a4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c009899c>] (watchdog_check_hardlockup_other_cpu+0xd0/0xf8)
<4>[ 4109.549778] [<c009899c>] (watchdog_check_hardlockup_other_cpu+0xd0/0xf8) from [<c00989fc>] (watchdog_timer_fn+0x38/0x168)
<4>[ 4109.549793] [<c00989fc>] (watchdog_timer_fn+0x38/0x168) from [<c0054c7c>] (__run_hrtimer+0x1a4/0x2b8)
<4>[ 4109.549807] [<c0054c7c>] (__run_hrtimer+0x1a4/0x2b8) from [<c005587c>] (hrtimer_interrupt+0x11c/0x278)
<4>[ 4109.549830] [<c005587c>] (hrtimer_interrupt+0x11c/0x278) from [<c056b65c>] (arch_timer_handler_phys+0x28/0x30)
<4>[ 4109.549846] [<c056b65c>] (arch_timer_handler_phys+0x28/0x30) from [<c009c3a4>] (handle_percpu_devid_irq+0xf8/0x1b4)
<4>[ 4109.549861] [<c009c3a4>] (handle_percpu_devid_irq+0xf8/0x1b4) from [<c0098fa4>] (generic_handle_irq+0x20/0x30)
<4>[ 4109.549872] [<c0098fa4>] (generic_handle_irq+0x20/0x30) from [<c000e3ac>] (handle_IRQ+0x64/0x8c)
<4>[ 4109.549883] [<c000e3ac>] (handle_IRQ+0x64/0x8c) from [<c0008538>] (gic_handle_irq+0x34/0x58)
<4>[ 4109.549893] [<c0008538>] (gic_handle_irq+0x34/0x58) from [<c000d600>] (__irq_svc+0x40/0x70)
<4>[ 4109.549901] Exception stack(0xed0addd8 to 0xed0ade20)
<4>[ 4109.549910] ddc0:                                                       00000003 00000000
<4>[ 4109.549920] dde0: 00000003 c0c5bff3 c0c5bff0 c0c5bff0 547b152f 000003c8 00000000 c0b8446c
<4>[ 4109.549930] de00: ed0ade48 83126e97 00000003 ed0ade20 c0023638 c00235ec 600f0113 ffffffff
<4>[ 4109.549941] [<c000d600>] (__irq_svc+0x40/0x70) from [<c00235ec>] (call_with_single_cpu.isra.4+0x9c/0x154)
<4>[ 4109.549952] [<c00235ec>] (call_with_single_cpu.isra.4+0x9c/0x154) from [<c0023820>] (_ddr_change_freq+0x17c/0x1c0)
<4>[ 4109.549963] [<c0023820>] (_ddr_change_freq+0x17c/0x1c0) from [<c0025088>] (ddrfreq_scale_rate_for_dvfs+0x20/0x74)
<4>[ 4109.549978] [<c0025088>] (ddrfreq_scale_rate_for_dvfs+0x20/0x74) from [<c002937c>] (dvfs_target+0x15c/0x204)
<4>[ 4109.549993] [<c002937c>] (dvfs_target+0x15c/0x204) from [<c0027d70>] (dvfs_clk_set_rate+0x44/0x80)
<4>[ 4109.550007] [<c0027d70>] (dvfs_clk_set_rate+0x44/0x80) from [<c00252a0>] (ddrfreq_mode.part.3+0x40/0xec)
<4>[ 4109.550017] [<c00252a0>] (ddrfreq_mode.part.3+0x40/0xec) from [<c00257c0>] (ddrfreq_work+0x184/0x1d4)
<4>[ 4109.550029] [<c00257c0>] (ddrfreq_work+0x184/0x1d4) from [<c0025868>] (ddrfreq_task+0x58/0x1b8)
<4>[ 4109.550041] [<c0025868>] (ddrfreq_task+0x58/0x1b8) from [<c0051ad4>] (kthread+0xa0/0xac)
<4>[ 4109.550054] [<c0051ad4>] (kthread+0xa0/0xac) from [<c000da98>] (ret_from_fork+0x14/0x3c)

<4>[ 4092.709215] CPU: 2 PID: 17844 Comm: mali-utility-wo Not tainted 3.10.0 #136
<4>[ 4092.709408] [<c0037494>] (mm_update_next_owner+0xc4/0x1c0) from [<c0037704>] (exit_mm+0x174/0x184)
<4>[ 4092.709422] [<c0037704>] (exit_mm+0x174/0x184) from [<c0037918>] (do_exit+0x204/0x400)
<4>[ 4092.709433] [<c0037918>] (do_exit+0x204/0x400) from [<c0037bc8>] (do_group_exit+0x88/0xb4)
<4>[ 4092.709447] [<c0037bc8>] (do_group_exit+0x88/0xb4) from [<c00444b0>] (get_signal_to_deliver+0x3b4/0x3fc)
<4>[ 4092.709459] [<c00444b0>] (get_signal_to_deliver+0x3b4/0x3fc) from [<c0010c00>] (do_signal+0xa0/0x14c)
<4>[ 4092.709469] [<c0010c00>] (do_signal+0xa0/0x14c) from [<c0010fa4>] (do_work_pending+0x4c/0x94)
<4>[ 4092.709480] [<c0010fa4>] (do_work_pending+0x4c/0x94) from [<c000da40>] (work_pending+0xc/0x20)

	cpu0 is waiting for the other cpu respond ipi, but one cpu is blocked on getting &tasklist_lock
while irq is disabled and it will not respond ipi. If all the operation of &tasklist_lock is irq-disabled,
the &tasklist_lock will become available before the owner respond ipi, so the blocked cpu will get the
&tasklist_lock.

Signed-off-by: cl <cl@rock-chips.com>
2015-01-06 21:40:32 +08:00