Commit Graph

402288 Commits

Author SHA1 Message Date
smj
f62690fe3b rk312x codec: fix rk312x codec switch state error
Signed-off-by: lxt <lxt@rock-chips.com>
2015-01-29 08:51:26 +08:00
Zheng Yang
c164cdc151 modify display-sys.c and display-sys.h code style.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-01-28 18:13:37 +08:00
zwl
a4eb41a668 rk3128: hdmi: add disable clock when system shutdown
disable clock will call disable power domain.
hdmi and lcdc share the power domain, so they must disable
the power domain when system shutdown.

Signed-off-by: zwl <zwl@rockchips.com>
2015-01-28 15:53:58 +08:00
Simon
62a4401c59 rockchip: iommu: skip rk312x vop mmu stall operation,mask rk312x vop mmu interrupt
Video stress test failed, may have something relationship to vop mmu stall operation
skip it as a workaround

Reboot stress test failed, error showed a large number of vop/vop mmu interrupt,mask
vop mmu interrupt to avoid reboot stress test failed in rk312x

Signed-off-by: Simon <xxm@rock-chips.com>
2015-01-28 15:30:26 +08:00
zyc
7b2df0e3e5 camera: camsys_drv:v0.0x1b.0 oneframe:v0.1.0xd 2015-01-28 11:24:21 +08:00
dalon.zhang
79028a4b3b rk312x: fix usb otg camera issues 2015-01-28 10:12:32 +08:00
chenzhen
3634c70666 mali_400_driver :
use mod_timer in mali_control_timer_callback_chain.
	upgrade rk_ko_ver to 3.
2015-01-26 16:16:30 +08:00
chenzhen
2881b75ec3 rk312x, mali_400_driver : ammend rk_ko_ver.txt. 2015-01-26 16:27:30 +08:00
hcy
53920469cc Support 1.5GB and 3GB with 2CS on the DDR1 channel 2015-01-26 09:13:52 +08:00
lyz
63bbda58fe usb: dwc_otg: handle data toggle error in right way
data toggle error without a ChannelHalt status is not a real data
toggle err, it is a transfer error state so just clear the
interrupt bit rather than resubmit this request

Signed-off-by: lyz <lyz@rock-chips.com>
2015-01-23 17:08:19 +08:00
lyz
b1e25b6bf2 usb: dwc_otg: fix issue with race condition of competition
between hcd_reinit() and cil_interrupt handler.

hcd_reinit() should get core_if->lock before modify this
lock, so that can prevent competition between cil_interrupt
handler and hcd_reinit(), hcd_reinit() be scheduled while
cil_interrupt handler holding core_if->lock, hcd_reinit() modify
the lock then previous core_if->lock will never be unlocked.

Signed-off-by: lyz <lyz@rock-chips.com>
2015-01-23 17:08:18 +08:00
lyz
f38ab909f0 usb: dwc_otg: double check disconnect state when otg state
changed

When otg stop host mode and before change to device mode hcd_stop
function should do something to double check all usb device is
disconnect because the disconnect interrupt might be lost.
1.kill all active urbs attached to this hcd
2.set hcd->flags to notify usb core to disconnect all usb devices

Signed-off-by: lyz <lyz@rock-chips.com>
2015-01-23 17:08:18 +08:00
zwl
0a62774761 rk fb: new display framework for dual display mode
move extend display(HDMI) configuration to hareware composer lib
and support dual different display.
Need update: hareware composer lib.

Signed-off-by: xzj <xzj@rockchips.com>
Signed-off-by: zwl <zwl@rockchips.com>
2015-01-22 14:14:43 +08:00
Alpha Lin
6302d18dfd RK32: vpu disable iommu when vpu catch a failure.
Disable iommu when vpu in failure state, so iommu could
restore its state in the next task in.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
2015-01-21 08:49:34 +08:00
zsq
4b74168e11 open rga soft reset for 312x platform 2015-01-20 16:38:18 +08:00
roger
e9ff770598 ethernet:vmac: support multicast 2015-01-20 15:51:51 +08:00
lintao
74f7cbcdca mmc: rk: differ force jtag for rk3036 & rk312x
Signed-off-by: lintao <lintao@rock-chips.com>
2015-01-20 15:11:18 +08:00
qjb
b956cbf913 ddr_freq: fix when enable armtrustzone ,then ddr_freq error. 2015-01-20 10:29:07 +08:00
Luowei
e3570c3b86 szy modify cvbs TV_BRIGHTNESS_CONTRAST to 0x0000770a 2015-01-19 13:52:38 +08:00
Mark Yao
eeaef47c7f rk_fb: DSP_INFO use xact/yact when win not support scale
xact/yact means display buffer size, if use xsize/ysize,
maybe out of buffer size range, that would cause iommu crash.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2015-01-19 12:42:55 +08:00
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