Commit Graph

402319 Commits

Author SHA1 Message Date
dalon.zhang
495e499bf8 camera: oneframe v0.1.f 2015-02-14 18:18:09 +08:00
Zheng Yang
a28c78a443 HDMI:
1. In DVI mode, input color and output color should be RGB[0-255];
	   In HDMI mode, input color should be YCbCr;
	2. For MID, HDMI is default disabled.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-02-14 16:22:35 +08:00
Zheng Yang
dd4cbc5620 hdmi: hdmiv1:
For nlpcm bitstream mode, we need to set audio
	channel status nlpcm bit to 1.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-02-14 09:14:18 +08:00
Zheng Yang
cf43a311f8 hdmi: fix set hdmi switch state error when remove hdmi.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-02-14 08:51:54 +08:00
hwg
759b5f79fb update rtl8189es wifi driver to rtl8189ES_linux_v4.3.10.1_13373.20150129 2015-02-13 15:02:37 +08:00
hwg
c58cad4928 update rtl8188eu wifi driver to RTL8188EUS_linux_v4.3.0.7_12758.20141114 2015-02-12 15:03:22 +08:00
lyz
b10188f8f1 usb: dwc_otg: show warning on actual buffer length larger than
transfer buffer length

In this case DWC_OTG controller will over-write memory space that
not belongs to this urb, it may cause kernel crash.

Signed-off-by: lyz <lyz@rock-chips.com>
2015-02-12 10:54:51 +08:00
lyz
f0be625fab usb: ehci: fix test packet mode
When enter usb test packet mode the device no longer connect
normally, so stop the connect detect timer

Signed-off-by: lyz <lyz@rock-chips.com>
2015-02-12 10:54:50 +08:00
lyz
3d2090f535 usb: dwc_otg: add condition judgement to filter invalid
disconnect interrupt

In some case, we disconnect a usb device, then usb controller
will trigger more the one disconnect interrupt, so check port
enable change bit in hprt0 to make sure just one disconnect
interrupt be handled.
here to

Signed-off-by: lyz <lyz@rock-chips.com>
2015-02-12 10:53:39 +08:00
lyz
1424301f3b usb: ehci-rockchip: fix typo
'work around' should be 'walk around'

Signed-off-by: lyz <lyz@rock-chips.com>
2015-02-12 10:50:38 +08:00
hjc
44c63d9ee6 rk fb: fix fence time out for dual display mode
Signed-off-by: hjc <hjc@rock-chips.com>
2015-02-11 11:54:29 +08:00
dkl
e57670a8e1 dts: rk3126\rk3126b: modify VIO clocks to slove VIO idle fail problem
In rk3126, when aclk_vio0\aclk_vio1\hclk_vio were reparented from the
default parent gpll_div2 to gpll in clk_init, the temporary rates
are too high and may lead to failture in VIO idle_request later.
To slove this problem, VIO clocks are modified to auto select parent
and consider the order of reparent and set_div when set_rate.

Signed-off-by: dkl <dkl@rock-chips.com>
2015-02-10 11:21:20 +08:00
ywj
cb6303521d add usb charge config 2015-02-10 09:23:33 +08:00
Zheng Yang
b448db9497 rk3288 hdmi: If audio source if spdif, sclk/fs should be 128x.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-02-09 10:42:19 +08:00
Zheng Yang
1f69fb2931 HDMI: fix filter feature SUPPORT_TMDS_600M error:
If soc is not support feature SUPPORT_TMDS_600M,
	or current EDID information is not support the
	feature, we should not show the corresponding
	option, such as 3840x2160p-60.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-02-09 10:40:40 +08:00
David Wu
af62aaaac5 i2c: fix retry_count to return error when i2c bus checkidle was low
Signed-off-by: David Wu <wdc@rock-chips.com>
2015-02-08 21:38:22 +08:00
hwg
14529fd551 rfkill-wlan.c: solve null point panic when wifi_chip_type is not define in dts 2015-02-05 10:52:39 +08:00
li bing
aea5d474dd wifi->esp8089:
ESP8089 driver update to V1.9.1(30/01/2015);
       Update the V2.4 esp_prealloc program.
2015-02-03 15:35:02 +08:00
Zheng Yang
c4f332cc42 hdmi:
1. fix 3288 hdmi audio source select error.
	2. For mid, it need to call rk_fb_get_display_policy
	   to reset overscan after swichting vop timing.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-02-03 15:51:18 +08:00
dkl
ea38e66b9d rk3288: modify to ensure pairwise call of clk_enable\disable
in rk3288_pll_early_suspend_notifier_call

Signed-off-by: dkl <dkl@rock-chips.com>
2015-02-03 14:26:58 +08:00
Zheng Yang
2fce7ea411 hdmi: depends on DRM_ROCKCHIP and fix document error.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-02-02 15:04:21 +08:00
lintao
9145bcc700 dts: fix compile err
Signed-off-by: lintao <lintao@rock-chips.com>
2015-02-02 11:27:20 +08:00
Zheng Yang
fa7ee75d42 hdmi: update driver to v2.0:
1. Rename rk3036 hdmi to rockchip_hdmiv1, support hdmi v1.4;
	2. Rename rk3288 hdmi to rockchip_hdmiv2, support hdmi v2.0;
	3. Support transmmit 3D picture.
	4. 3288 hdmi support HDCP, CEC and TMDSCLK 600M.
	5. HDMI video source default is LCDC0, it can be modified in dts by
	   follow:
	   	rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC1>;
	   HDCP and CEC function default is disabled , it can be enabled in
	   dts file by follow:
	   	rockchip,hdcp_enable = <1>;
	   	rockchip,cec_enable = <1>;
	   More information please see
		Documentation/devicetree/bindings/video/rockchip_hdmi.txt
2015-02-02 11:06:04 +08:00
lintao
8f2d8b3794 dts: rk312x: default enable emmc
Signed-off-by: lintao <lintao@rock-chips.com>
2015-02-02 10:21:25 +08:00
lintao
c95f566ab0 mmc: add more waiting for erase and status op 2015-02-02 10:13:21 +08:00
Zheng Yang
1dd40af1d4 rk3288 hdmi: add cec clk and pinctrl.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-02-01 16:28:03 +08:00
Zheng Yang
a339b2f509 rk3288 hdmi:
To improve stability of reading EDID, we need to
	disable HDMI ddc GPIO internal pull up.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-02-01 16:24:58 +08:00
zyc
6d345e3fc7 camera: oneframe v0.1.e 2015-01-30 09:42:23 +08:00
hwg
b9fddf335a solve rfkill-wlan driver kernel panic when rfkill-bt driver probe fail 2015-01-29 17:29:18 +08:00
li bing
2644e8a0c9 Wifi->rtl8812au: add chip name /sys/class/rkwifi/chip for RTL8812BU 2015-01-29 15:01:37 +08:00
li bing
99d9e3f5ff Wifi->rtl8723au: update dirver to version 4.00(4.1.11_12622.20141215). 2015-01-29 14:09:41 +08:00
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