firefly-linux-kernel-4.4.55.git
9 years agoESP8089 sdio premalloc default config
xxh [Tue, 10 Mar 2015 11:17:29 +0000 (19:17 +0800)]
ESP8089 sdio premalloc default config

9 years agowifi: support ap6212 ap6354
hwg [Tue, 10 Mar 2015 08:23:07 +0000 (16:23 +0800)]
wifi: support ap6212 ap6354

9 years agoUpdate RTL8723BS wifi driver
xxh [Tue, 10 Mar 2015 04:35:45 +0000 (12:35 +0800)]
Update RTL8723BS wifi driver
1.Refine IQK handle
2.Fix RX error handle to avoid system hang problem
3.Fix IQK restore fail issue
4.Fix running out of RX resource in some case
5.Fix HiddenAP still in driver scan queue after disconnect

9 years agoEspressi esp8089 WIFI
xxh [Tue, 10 Mar 2015 01:44:22 +0000 (09:44 +0800)]
Espressi esp8089 WIFI
1.modify copyright info for ESP8089 WIFI driver
2.update esp_premalloc driver to V2.5

9 years agoupdate wifi bcmdhd driver:
hwg [Mon, 9 Mar 2015 09:17:20 +0000 (17:17 +0800)]
update wifi bcmdhd driver:
 solve kernel panic when use gmac and hotspots at same time

9 years agork fb: add fbdc data format: HAL_PIXEL_FORMAT_FBDC_RGBA888
hjc [Mon, 9 Mar 2015 07:44:14 +0000 (15:44 +0800)]
rk fb: add fbdc data format: HAL_PIXEL_FORMAT_FBDC_RGBA888

9 years agork fb: define data format for fbdc
hjc [Fri, 26 Dec 2014 10:57:32 +0000 (18:57 +0800)]
rk fb: define data format for fbdc

Signed-off-by: hjc <hjc@rock-chips.com>
Conflicts:
drivers/video/rockchip/lcdc/rk3368_lcdc.c
drivers/video/rockchip/rkfb_sysfs.c
include/linux/rk_fb.h

9 years agork fb: add memsize check
hjc [Mon, 9 Mar 2015 04:10:48 +0000 (12:10 +0800)]
rk fb: add memsize check

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork lcdc: if win not support scale, make sure dsp size equal to act size
hjc [Mon, 9 Mar 2015 03:34:40 +0000 (11:34 +0800)]
rk lcdc: if win not support scale, make sure dsp size equal to act size

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork fb: add support yuv420sp nv21 data format
hjc [Mon, 9 Mar 2015 03:14:14 +0000 (11:14 +0800)]
rk fb: add support yuv420sp nv21 data format

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork fb: make sure win close state take effect when update regs
hjc [Mon, 9 Mar 2015 02:38:07 +0000 (10:38 +0800)]
rk fb: make sure win close state take effect when update regs

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agoHDMI: Modify color output policy.
Zheng Yang [Mon, 9 Mar 2015 03:11:52 +0000 (11:11 +0800)]
HDMI: Modify color output policy.
        Introduce feature SUPPORT_YCBCR_INPUT. If VOP can
        output YCbCr, VOP output color mode is equal to HDMI
        output color mode. Otherwise, VOP just output RGB,
        HDMI will conver color space.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agoHDMI: add mutex lock when hdmi is set to auto mode, to avoid
Zheng Yang [Mon, 9 Mar 2015 03:07:28 +0000 (11:07 +0800)]
HDMI: add mutex lock when hdmi is set to auto mode, to avoid
      system crash by NULL pointer.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agosolve bluetooth hid problem:
hwg [Sat, 7 Mar 2015 08:11:29 +0000 (16:11 +0800)]
solve bluetooth hid problem:
 when bluetooth hid device connected, the key is delayed to be reponse about 5 second

9 years agousb: can be wakeup by linestate change interrupt from GRF
lyz [Mon, 2 Mar 2015 03:23:43 +0000 (11:23 +0800)]
usb: can be wakeup by linestate change interrupt from GRF

9 years agorockchip: i2s: fix i2s mclk set fail when using multi i2s.
Sugar Zhang [Fri, 6 Mar 2015 03:16:01 +0000 (11:16 +0800)]
rockchip: i2s: fix i2s mclk set fail when using multi i2s.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
9 years agortl8723bu wifi: solve need long time to resume
hwg [Fri, 6 Mar 2015 02:45:03 +0000 (10:45 +0800)]
rtl8723bu wifi: solve need long time to resume

9 years agowifi: update broadcom wifi driver bcmdhd to 1.201.34.2
hwg [Thu, 5 Mar 2015 00:46:05 +0000 (08:46 +0800)]
wifi: update broadcom wifi driver bcmdhd to 1.201.34.2

9 years agoMerge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
huang zhibao [Wed, 4 Mar 2015 03:04:47 +0000 (11:04 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10

9 years agoadd support rk1000 codec and tvencoder
huang zhibao [Wed, 4 Mar 2015 02:52:18 +0000 (10:52 +0800)]
add support rk1000 codec and tvencoder

9 years agork: ion: fix compilation warning without CONFIG_COMPAT
CMY [Wed, 4 Mar 2015 01:27:51 +0000 (09:27 +0800)]
rk: ion: fix compilation warning without CONFIG_COMPAT

Signed-off-by: CMY <cmy@rock-chips.com>
9 years agork: ion: fix compilation error without CONFIG_COMPAT
Huang, Tao [Tue, 10 Feb 2015 08:48:02 +0000 (16:48 +0800)]
rk: ion: fix compilation error without CONFIG_COMPAT

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 52315d4d540dd3ef6db618b6856ceee0b5af8d98)

Signed-off-by: CMY <cmy@rock-chips.com>
9 years agork: ion: fix compile warnning
CMY [Tue, 3 Mar 2015 05:56:52 +0000 (13:56 +0800)]
rk: ion: fix compile warnning

Signed-off-by: CMY <cmy@rock-chips.com>
(cherry picked from commit ee9707a058c52a0d0c27f5804db9e9e96075d363)

Signed-off-by: CMY <cmy@rock-chips.com>
9 years agork: uboot_mem_reserve: lost a '=' in 'if' statement
CMY [Mon, 2 Mar 2015 07:42:55 +0000 (15:42 +0800)]
rk: uboot_mem_reserve: lost a '=' in 'if' statement
(cherry picked from commit b9721d0365d9e88d0c16c3f0c2aff4b2c09c9dec)

Signed-off-by: CMY <cmy@rock-chips.com>
9 years agork: uboot_mem_reserve: fix print format
CMY [Mon, 2 Mar 2015 03:33:35 +0000 (11:33 +0800)]
rk: uboot_mem_reserve: fix print format

Signed-off-by: CMY <cmy@rock-chips.com>
(cherry picked from commit c9bbb3032c50e9b9ecaca58a4aa06ef4192bdbba)

Signed-off-by: CMY <cmy@rock-chips.com>
9 years agork: ion: allow the cacheable buffer to map iommu
CMY [Fri, 27 Feb 2015 09:59:00 +0000 (17:59 +0800)]
rk: ion: allow the cacheable buffer to map iommu

Signed-off-by: CMY <cmy@rock-chips.com>
(cherry picked from commit db95a55ffa214b0bab8643454875a42d655a8ad7)

Signed-off-by: CMY <cmy@rock-chips.com>
9 years agork: ion: assign sg's dma_length in ion allocation if CONFIG_NEED_SG_DMA_LENGTH is set
CMY [Sat, 14 Feb 2015 10:05:01 +0000 (18:05 +0800)]
rk: ion: assign sg's dma_length in ion allocation if CONFIG_NEED_SG_DMA_LENGTH is set
(cherry picked from commit c85ce1ade533fe0d02b7539dbe85d55b69386125)

Signed-off-by: CMY <cmy@rock-chips.com>
9 years agoARM64: ion: ION_IOC_GET_PHYS compat 32bit userspace app.
CMY [Wed, 7 Jan 2015 07:42:54 +0000 (15:42 +0800)]
ARM64: ion: ION_IOC_GET_PHYS compat 32bit userspace app.

Signed-off-by: CMY <cmy@rock-chips.com>
(cherry picked from commit 92ad540611e8599b7fb386a28793c77b410c81c6)

Signed-off-by: CMY <cmy@rock-chips.com>
9 years agoion: export ion_device for some kernel modules
CMY [Thu, 25 Dec 2014 03:39:38 +0000 (11:39 +0800)]
ion: export ion_device for some kernel modules
(cherry picked from commit c32433f1e0847cffdee4e0c04c6d8ee7d64392bc)

Signed-off-by: CMY <cmy@rock-chips.com>
9 years agosolve make clean error causeed by wifi driver
hwg [Wed, 4 Mar 2015 02:37:27 +0000 (10:37 +0800)]
solve make clean error causeed by wifi driver

9 years agommc: rk_sdmmc: edmac limit FIFOTH when mburst exceed limitation
lintao [Tue, 3 Mar 2015 13:31:10 +0000 (21:31 +0800)]
mmc: rk_sdmmc: edmac limit FIFOTH when mburst exceed limitation

Signed-off-by: lintao <lintao@rock-chips.com>
9 years agorfkill-wlan.c use CONFIG_MFD_SYSCON to compatible rk3368 and rk3288
hwg [Tue, 3 Mar 2015 09:56:58 +0000 (17:56 +0800)]
rfkill-wlan.c use CONFIG_MFD_SYSCON to compatible rk3368 and rk3288

9 years agorfkill-wlan.c: support rk3368
hwg [Thu, 12 Feb 2015 07:22:38 +0000 (15:22 +0800)]
rfkill-wlan.c: support rk3368

Conflicts:
net/rfkill/rfkill-wlan.c

9 years agoupdate rkwifi bcmdhd to version 1.201.34.1
hwg [Thu, 12 Feb 2015 07:21:52 +0000 (15:21 +0800)]
update rkwifi bcmdhd to version 1.201.34.1

Conflicts:
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/Makefile

9 years agommc: replace tSD enumaration machanism
lintao [Mon, 2 Mar 2015 01:25:57 +0000 (09:25 +0800)]
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>
9 years agorockchip: i2s: use subysys_initcall_sync for probe.
Sugar Zhang [Mon, 2 Mar 2015 00:50:41 +0000 (08:50 +0800)]
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>
9 years agocamsys_drv: v0.0x1c.0
dalon.zhang [Sat, 28 Feb 2015 11:16:21 +0000 (19:16 +0800)]
camsys_drv: v0.0x1c.0

9 years agocamera:
dalon.zhang [Sat, 28 Feb 2015 11:09:34 +0000 (19:09 +0800)]
camera:
oneframe: v0.2.0
pingpong: v0.1.a

9 years agoremove unused wifi driver: rda5990, mt5931, mt7601, mt6620
hwg [Sat, 28 Feb 2015 09:06:56 +0000 (17:06 +0800)]
remove unused wifi driver: rda5990, mt5931, mt7601, mt6620

9 years agosupport different wifi bt chip auto compatible
hwg [Sat, 28 Feb 2015 06:05:32 +0000 (14:05 +0800)]
support different wifi bt chip auto compatible
 like auto recognize rtl8188eu, ap6210, esp8089 in android

9 years agosupport different wifi bt chip auto compatible
hwg [Sat, 28 Feb 2015 06:03:13 +0000 (14:03 +0800)]
support different wifi bt chip auto compatible
 modify arch/arm/boot/dts/rk3128-86v.dts

9 years agosupport different wifi bt chip auto compatible
hwg [Sat, 28 Feb 2015 06:02:56 +0000 (14:02 +0800)]
support different wifi bt chip auto compatible
 modify arch/arm/boot/dts/rk3126-86v.dts

9 years agosupport different wifi bt chip auto compatible
hwg [Sat, 28 Feb 2015 05:59:24 +0000 (13:59 +0800)]
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

9 years agork312x/rk3036: not change aclk_core_div for stability
dkl [Thu, 26 Feb 2015 01:44:34 +0000 (09:44 +0800)]
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>
9 years agocamera: oneframe v0.1.f
dalon.zhang [Sat, 14 Feb 2015 10:18:09 +0000 (18:18 +0800)]
camera: oneframe v0.1.f

9 years agoHDMI:
Zheng Yang [Sat, 14 Feb 2015 08:22:35 +0000 (16:22 +0800)]
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>
9 years agohdmi: hdmiv1:
Zheng Yang [Sat, 14 Feb 2015 01:14:18 +0000 (09:14 +0800)]
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>
9 years agohdmi: fix set hdmi switch state error when remove hdmi.
Zheng Yang [Sat, 14 Feb 2015 00:51:54 +0000 (08:51 +0800)]
hdmi: fix set hdmi switch state error when remove hdmi.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agoupdate rtl8189es wifi driver to rtl8189ES_linux_v4.3.10.1_13373.20150129
hwg [Fri, 13 Feb 2015 07:02:37 +0000 (15:02 +0800)]
update rtl8189es wifi driver to rtl8189ES_linux_v4.3.10.1_13373.20150129

9 years agoupdate rtl8188eu wifi driver to RTL8188EUS_linux_v4.3.0.7_12758.20141114
hwg [Thu, 12 Feb 2015 07:02:51 +0000 (15:02 +0800)]
update rtl8188eu wifi driver to RTL8188EUS_linux_v4.3.0.7_12758.20141114

9 years agousb: dwc_otg: show warning on actual buffer length larger than
lyz [Thu, 12 Feb 2015 02:16:32 +0000 (10:16 +0800)]
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>
9 years agousb: ehci: fix test packet mode
lyz [Wed, 11 Feb 2015 02:59:23 +0000 (10:59 +0800)]
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>
9 years agousb: dwc_otg: add condition judgement to filter invalid
lyz [Tue, 27 Jan 2015 07:53:53 +0000 (15:53 +0800)]
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>
9 years agousb: ehci-rockchip: fix typo
lyz [Tue, 27 Jan 2015 03:46:38 +0000 (11:46 +0800)]
usb: ehci-rockchip: fix typo

'work around' should be 'walk around'

Signed-off-by: lyz <lyz@rock-chips.com>
9 years agork fb: fix fence time out for dual display mode
hjc [Wed, 11 Feb 2015 03:54:29 +0000 (11:54 +0800)]
rk fb: fix fence time out for dual display mode

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agodts: rk3126\rk3126b: modify VIO clocks to slove VIO idle fail problem
dkl [Tue, 10 Feb 2015 03:01:25 +0000 (11:01 +0800)]
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>
9 years agoadd usb charge config
ywj [Tue, 10 Feb 2015 01:23:33 +0000 (09:23 +0800)]
add usb charge config

9 years agork3288 hdmi: If audio source if spdif, sclk/fs should be 128x.
Zheng Yang [Mon, 9 Feb 2015 02:42:19 +0000 (10:42 +0800)]
rk3288 hdmi: If audio source if spdif, sclk/fs should be 128x.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agoHDMI: fix filter feature SUPPORT_TMDS_600M error:
Zheng Yang [Mon, 9 Feb 2015 02:40:40 +0000 (10:40 +0800)]
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>
9 years agoi2c: fix retry_count to return error when i2c bus checkidle was low
David Wu [Sun, 8 Feb 2015 13:38:22 +0000 (21:38 +0800)]
i2c: fix retry_count to return error when i2c bus checkidle was low

Signed-off-by: David Wu <wdc@rock-chips.com>
9 years agorfkill-wlan.c: solve null point panic when wifi_chip_type is not define in dts
hwg [Thu, 5 Feb 2015 02:51:07 +0000 (10:51 +0800)]
rfkill-wlan.c: solve null point panic when wifi_chip_type is not define in dts

9 years agowifi->esp8089:
li bing [Tue, 3 Feb 2015 07:31:46 +0000 (15:31 +0800)]
wifi->esp8089:
       ESP8089 driver update to V1.9.1(30/01/2015);
       Update the V2.4 esp_prealloc program.

9 years agohdmi:
Zheng Yang [Tue, 3 Feb 2015 07:51:18 +0000 (15:51 +0800)]
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>
9 years agork3288: modify to ensure pairwise call of clk_enable\disable
dkl [Tue, 3 Feb 2015 06:15:27 +0000 (14:15 +0800)]
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>
9 years agohdmi: depends on DRM_ROCKCHIP and fix document error.
Zheng Yang [Mon, 2 Feb 2015 07:04:21 +0000 (15:04 +0800)]
hdmi: depends on DRM_ROCKCHIP and fix document error.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agodts: fix compile err
lintao [Mon, 2 Feb 2015 03:26:48 +0000 (11:26 +0800)]
dts: fix compile err

Signed-off-by: lintao <lintao@rock-chips.com>
9 years agohdmi: update driver to v2.0:
Zheng Yang [Mon, 2 Feb 2015 03:06:04 +0000 (11:06 +0800)]
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

9 years agodts: rk312x: default enable emmc
lintao [Mon, 2 Feb 2015 02:21:25 +0000 (10:21 +0800)]
dts: rk312x: default enable emmc

Signed-off-by: lintao <lintao@rock-chips.com>
9 years agommc: add more waiting for erase and status op
lintao [Mon, 26 Jan 2015 01:57:11 +0000 (09:57 +0800)]
mmc: add more waiting for erase and status op

9 years agork3288 hdmi: add cec clk and pinctrl.
Zheng Yang [Sun, 1 Feb 2015 08:28:03 +0000 (16:28 +0800)]
rk3288 hdmi: add cec clk and pinctrl.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agork3288 hdmi:
Zheng Yang [Sun, 1 Feb 2015 08:24:58 +0000 (16:24 +0800)]
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>
9 years agocamera: oneframe v0.1.e
zyc [Fri, 30 Jan 2015 01:42:23 +0000 (09:42 +0800)]
camera: oneframe v0.1.e

9 years agosolve rfkill-wlan driver kernel panic when rfkill-bt driver probe fail
hwg [Thu, 29 Jan 2015 09:29:03 +0000 (17:29 +0800)]
solve rfkill-wlan driver kernel panic when rfkill-bt driver probe fail

9 years agoWifi->rtl8812au: add chip name /sys/class/rkwifi/chip for RTL8812BU
li bing [Thu, 29 Jan 2015 07:01:37 +0000 (15:01 +0800)]
Wifi->rtl8812au: add chip name /sys/class/rkwifi/chip for RTL8812BU

9 years agoWifi->rtl8723au: update dirver to version 4.00(4.1.11_12622.20141215).
li bing [Thu, 29 Jan 2015 06:09:41 +0000 (14:09 +0800)]
Wifi->rtl8723au: update dirver to version 4.00(4.1.11_12622.20141215).

9 years agork312x codec: fix rk312x codec switch state error
smj [Thu, 29 Jan 2015 00:51:26 +0000 (08:51 +0800)]
rk312x codec: fix rk312x codec switch state error

Signed-off-by: lxt <lxt@rock-chips.com>
9 years agomodify display-sys.c and display-sys.h code style.
Zheng Yang [Wed, 28 Jan 2015 10:13:37 +0000 (18:13 +0800)]
modify display-sys.c and display-sys.h code style.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agork3128: hdmi: add disable clock when system shutdown
zwl [Wed, 28 Jan 2015 07:50:05 +0000 (15:50 +0800)]
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>
9 years agorockchip: iommu: skip rk312x vop mmu stall operation,mask rk312x vop mmu interrupt
Simon [Wed, 28 Jan 2015 07:30:26 +0000 (15:30 +0800)]
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>
9 years agocamera: camsys_drv:v0.0x1b.0 oneframe:v0.1.0xd
zyc [Wed, 28 Jan 2015 03:24:21 +0000 (11:24 +0800)]
camera: camsys_drv:v0.0x1b.0 oneframe:v0.1.0xd

9 years agork312x: fix usb otg camera issues
dalon.zhang [Wed, 28 Jan 2015 02:12:32 +0000 (10:12 +0800)]
rk312x: fix usb otg camera issues

9 years agomali_400_driver :
chenzhen [Mon, 26 Jan 2015 08:10:22 +0000 (16:10 +0800)]
mali_400_driver :
use mod_timer in mali_control_timer_callback_chain.
upgrade rk_ko_ver to 3.

9 years agork312x, mali_400_driver : ammend rk_ko_ver.txt.
chenzhen [Wed, 7 Jan 2015 06:30:56 +0000 (14:30 +0800)]
rk312x, mali_400_driver : ammend rk_ko_ver.txt.

9 years ago Support 1.5GB and 3GB with 2CS on the DDR1 channel
hcy [Mon, 26 Jan 2015 01:13:52 +0000 (09:13 +0800)]
Support 1.5GB and 3GB with 2CS on the DDR1 channel

9 years agousb: dwc_otg: handle data toggle error in right way
lyz [Fri, 23 Jan 2015 09:05:14 +0000 (17:05 +0800)]
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>
9 years agousb: dwc_otg: fix issue with race condition of competition
lyz [Mon, 19 Jan 2015 10:55:56 +0000 (18:55 +0800)]
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>
9 years agousb: dwc_otg: double check disconnect state when otg state
lyz [Mon, 19 Jan 2015 11:17:37 +0000 (19:17 +0800)]
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>
9 years agork fb: new display framework for dual display mode
zwl [Thu, 22 Jan 2015 06:14:43 +0000 (14:14 +0800)]
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>
9 years agoRK32: vpu disable iommu when vpu catch a failure.
Alpha Lin [Wed, 21 Jan 2015 00:47:18 +0000 (08:47 +0800)]
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>
9 years agoopen rga soft reset for 312x platform
zsq [Tue, 20 Jan 2015 08:38:18 +0000 (16:38 +0800)]
open rga soft reset for 312x platform

9 years agoethernet:vmac: support multicast
roger [Tue, 20 Jan 2015 07:51:51 +0000 (15:51 +0800)]
ethernet:vmac: support multicast

9 years agommc: rk: differ force jtag for rk3036 & rk312x
lintao [Tue, 20 Jan 2015 07:11:18 +0000 (15:11 +0800)]
mmc: rk: differ force jtag for rk3036 & rk312x

Signed-off-by: lintao <lintao@rock-chips.com>
9 years agoddr_freq: fix when enable armtrustzone ,then ddr_freq error.
qjb [Tue, 20 Jan 2015 02:28:07 +0000 (10:28 +0800)]
ddr_freq: fix when enable armtrustzone ,then ddr_freq error.

9 years agoszy modify cvbs TV_BRIGHTNESS_CONTRAST to 0x0000770a
Luowei [Mon, 19 Jan 2015 05:52:38 +0000 (13:52 +0800)]
szy modify cvbs TV_BRIGHTNESS_CONTRAST to 0x0000770a

9 years agork_fb: DSP_INFO use xact/yact when win not support scale
Mark Yao [Mon, 19 Jan 2015 04:33:48 +0000 (12:33 +0800)]
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>
9 years agorockchip: cpufreq: move cpufreq_reboot_notifier from ddr_freq to cpufreq
Xiao Feng [Fri, 16 Jan 2015 02:51:53 +0000 (10:51 +0800)]
rockchip: cpufreq: move cpufreq_reboot_notifier from ddr_freq to cpufreq

Signed-off-by: Xiao Feng <xf@rock-chips.com>
9 years agousb: dwc_otg: fix a spin-lock error, here should not goto return
lyz [Sun, 18 Jan 2015 15:37:11 +0000 (23:37 +0800)]
usb: dwc_otg: fix a spin-lock error, here should not goto return
without unlock hck->lock

9 years ago nand: add idb read function for drmboot.ko for read idb data.
Zhaoyifeng [Fri, 16 Jan 2015 01:30:07 +0000 (09:30 +0800)]
nand: add idb read function for drmboot.ko for read idb data.

9 years agork312x: the bug of ddr-resume. phy soft de-reset dll
许盛飞 [Fri, 16 Jan 2015 00:47:06 +0000 (08:47 +0800)]
rk312x: the bug of ddr-resume. phy soft de-reset dll

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork312x ddr:idle prot,deidle prot clk gate err and ddr resume phy softdereset sequence
typ [Thu, 15 Jan 2015 06:20:09 +0000 (14:20 +0800)]
rk312x ddr:idle prot,deidle prot clk gate err and ddr resume phy softdereset  sequence