Commit graph

402,332 commits

Author SHA1 Message Date
hwg
fc81f4bf58 rfkill-wlan.c use CONFIG_MFD_SYSCON to compatible rk3368 and rk3288 2015-03-03 17:57:20 +08:00
hwg
d65aa5b926 rfkill-wlan.c: support rk3368
Conflicts:
	net/rfkill/rfkill-wlan.c
2015-03-03 17:57:19 +08:00
hwg
d41ea47068 update rkwifi bcmdhd to version 1.201.34.1
Conflicts:
	drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/Makefile
2015-03-03 17:57:19 +08:00
lintao
43faede2e2 mmc: replace tSD enumaration machanism
Remove dt property "support-tSD" and combine "support-emmc" with
"support-sd" in together for tSD/emmc distinguish by mmc core. More details
please refer to arch/arm/boot/dts/rk3288-tb.dts

Signed-off-by: lintao <lintao@rock-chips.com>
2015-03-02 09:36:03 +08:00
Sugar Zhang
8c9b006fff rockchip: i2s: use subysys_initcall_sync for probe.
because some codecs initialization depends on i2s mclk.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2015-03-02 08:55:26 +08:00
dalon.zhang
4a88bb10e7 camsys_drv: v0.0x1c.0 2015-02-28 19:16:21 +08:00
dalon.zhang
f6cc29031a camera:
oneframe: v0.2.0
pingpong: v0.1.a
2015-02-28 19:13:11 +08:00
hwg
91b464e2f9 remove unused wifi driver: rda5990, mt5931, mt7601, mt6620 2015-02-28 17:06:56 +08:00
hwg
7e92f35bdf support different wifi bt chip auto compatible
like auto recognize rtl8188eu, ap6210, esp8089 in android
2015-02-28 14:05:32 +08:00
hwg
a54bf5b2fa support different wifi bt chip auto compatible
modify arch/arm/boot/dts/rk3128-86v.dts
2015-02-28 14:03:13 +08:00
hwg
2fca52a6e5 support different wifi bt chip auto compatible
modify arch/arm/boot/dts/rk3126-86v.dts
2015-02-28 14:02:56 +08:00
hwg
f724e41228 support different wifi bt chip auto compatible
Attention: this is only for android 5.0, not compatible for android 4.4, meaning can't compatible for 4.4 after this commit
 modify arch/arm/boot/dts/rk3288-tb_8846.dts
2015-02-28 13:59:24 +08:00
dkl
f690bea75f rk312x/rk3036: not change aclk_core_div for stability
In rk312x/rk3036, do not change aclk_core_div for stability.
Also remove some unusued macros and codes.

Signed-off-by: dkl <dkl@rock-chips.com>
2015-02-26 09:49:45 +08:00
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