firefly-linux-kernel-4.4.55.git
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

9 years agousb: dwc_otg: fix some issues of dwc_otg_310
lyz [Thu, 15 Jan 2015 05:13:03 +0000 (13:13 +0800)]
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

9 years agommc: backport tmo mechanism
lintao [Mon, 29 Dec 2014 08:34:22 +0000 (16:34 +0800)]
mmc: backport tmo mechanism

Signed-off-by: lintao <lintao@rock-chips.com>
9 years agommc: rk_sdmmc: change slot.cd_gpio from edge to level detect
lintao [Thu, 25 Dec 2014 06:59:26 +0000 (14:59 +0800)]
mmc: rk_sdmmc: change slot.cd_gpio from edge to level detect

9 years agoIEP: recover the code that mistaken remove
Alpha Lin [Wed, 14 Jan 2015 08:19:30 +0000 (16:19 +0800)]
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>
9 years agocamera :fix oneframe compile warnning
zyc [Wed, 14 Jan 2015 07:27:45 +0000 (15:27 +0800)]
camera :fix oneframe compile warnning

9 years agosensor: fix mpu6880_acc.c waring.
guoyi [Wed, 14 Jan 2015 07:05:07 +0000 (15:05 +0800)]
sensor: fix mpu6880_acc.c waring.

9 years agosensor: add mpu6880's accel and gyro support.
guoyi [Wed, 14 Jan 2015 06:47:18 +0000 (14:47 +0800)]
sensor: add mpu6880's accel and gyro support.

9 years agork312x_lcdc: fix lcdc irq abnormal when shutdown
yzq [Wed, 14 Jan 2015 06:22:46 +0000 (14:22 +0800)]
rk312x_lcdc: fix lcdc irq abnormal when shutdown

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years ago Initialization and support 3128-86v
xiaoyao [Wed, 14 Jan 2015 05:30:01 +0000 (13:30 +0800)]
 Initialization and support 3128-86v

9 years agocamera: oneframe : v0.1.0xc
zyc [Wed, 14 Jan 2015 03:58:37 +0000 (11:58 +0800)]
camera: oneframe : v0.1.0xc

9 years agork312x:pmic:rt5036:slove rt5036 irq locked
张晴 [Wed, 14 Jan 2015 03:44:20 +0000 (11:44 +0800)]
rk312x:pmic:rt5036:slove rt5036 irq locked

Signed-off-by: 张晴 <zhangqing@rock-chips.com>
9 years agork3288 sec dts : modify ion drm config
qjb [Tue, 13 Jan 2015 11:21:28 +0000 (19:21 +0800)]
rk3288 sec dts : modify ion drm config

9 years ago modify chip name /sys/class/rkwifi/chip for 8723BU
xxh [Tue, 13 Jan 2015 06:43:39 +0000 (14:43 +0800)]
 modify chip name /sys/class/rkwifi/chip for 8723BU

9 years agorockchip: iommu: only disable rk312x iommu stall mode
Simon [Tue, 13 Jan 2015 06:25:24 +0000 (14:25 +0800)]
rockchip: iommu: only disable rk312x iommu stall mode

Signed-off-by: Simon <xxm@rock-chips.com>
9 years agork3036: add 3036 new board dts and modify 3036 256M defconfig
huang zhibao [Tue, 13 Jan 2015 06:38:51 +0000 (14:38 +0800)]
rk3036: add 3036 new board dts and modify 3036 256M defconfig

9 years agork_fb & rk3036 lcdc & rk312x lcdc:
Zheng Yang [Tue, 13 Jan 2015 06:13:06 +0000 (14:13 +0800)]
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>
9 years agowifi: add rtl8189es cob efuse file
hwg [Tue, 13 Jan 2015 06:07:00 +0000 (14:07 +0800)]
wifi: add rtl8189es cob efuse file
 only for cob design, custom should retest their machine wifi rf and update wifi_efuse_8189e.map

9 years agommc: rk_sdmmc: limit burst to 8 for rk3036 w/ pl330
lintao [Tue, 13 Jan 2015 04:54:45 +0000 (12:54 +0800)]
mmc: rk_sdmmc: limit burst to 8 for rk3036 w/ pl330

Signed-off-by: lintao <lintao@rock-chips.com>
9 years agocamera: camsys_drv:v0.0x1a.0 oneframe:v0.1.0xb
zyc [Tue, 13 Jan 2015 02:54:55 +0000 (10:54 +0800)]
camera: camsys_drv:v0.0x1a.0 oneframe:v0.1.0xb

9 years agoclk: rockchip: cru_readl use readl_relaxed instead of readl,
dkl [Tue, 13 Jan 2015 01:31:44 +0000 (09:31 +0800)]
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>
9 years agork818-battery: fix POWER_SUPPLY_PROP_PRESENT val error, and add Li-ion battery check
许盛飞 [Mon, 12 Jan 2015 03:43:27 +0000 (11:43 +0800)]
rk818-battery: fix POWER_SUPPLY_PROP_PRESENT val error, and add Li-ion battery check

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork818-battery: fix Division by zero in kernel, and update regs definition
许盛飞 [Mon, 12 Jan 2015 03:40:45 +0000 (11:40 +0800)]
rk818-battery: fix Division by zero in kernel, and update regs definition

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agousb: manual delay 8s to enable connect pc
lyz [Sat, 10 Jan 2015 11:08:16 +0000 (19:08 +0800)]
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>
9 years agousb: rk312x: fix wrong clk name
lyz [Tue, 23 Dec 2014 09:54:35 +0000 (17:54 +0800)]
usb: rk312x: fix wrong clk name

Signed-off-by: lyz <lyz@rock-chips.com>
9 years ago3.10 kernel support more Huawei 3G dongles
xxh [Fri, 9 Jan 2015 09:38:08 +0000 (17:38 +0800)]
3.10 kernel support more Huawei 3G dongles

9 years agoMerge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into xxh_develop
xxh [Fri, 9 Jan 2015 08:47:56 +0000 (16:47 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into xxh_develop

9 years ago UPDATE 8723BU WIFI driver
xxh [Fri, 9 Jan 2015 08:47:40 +0000 (16:47 +0800)]
   UPDATE 8723BU  WIFI driver

9 years agork fb: remove map fb which from android to economize vmalloc space
zwl [Fri, 9 Jan 2015 08:34:08 +0000 (16:34 +0800)]
rk fb: remove map fb which from android to economize vmalloc space

Signed-off-by: zwl <zwl@rockchips.com>
9 years agork312x UART0_SOUT UART0_SIN default pull down disable
hwg [Fri, 9 Jan 2015 07:23:50 +0000 (15:23 +0800)]
rk312x UART0_SOUT UART0_SIN default pull down disable
 may case bt can't open problem

9 years agoTrustZone: Add Support Trust OS
qjb [Fri, 9 Jan 2015 03:03:39 +0000 (11:03 +0800)]
TrustZone: Add Support Trust OS
if Trust OS running ,
  - disable ddr_freq
  - disable fiq debug

9 years agoRevert "TrustZone: Add Support Trust OS"
qjb [Fri, 9 Jan 2015 02:00:04 +0000 (10:00 +0800)]
Revert "TrustZone: Add Support Trust OS"

This reverts commit 940a3100bdd90dc3de257c2e185e370374fb20e8.

9 years agowifi: support rtl8723bs-vq0 cob
hwg [Fri, 9 Jan 2015 01:04:24 +0000 (09:04 +0800)]
wifi: support rtl8723bs-vq0 cob

9 years agosec dts: Add rk3288 tb secure dts
qjb [Wed, 7 Jan 2015 07:17:38 +0000 (15:17 +0800)]
sec dts: Add rk3288 tb secure dts

9 years agodefconfig : Add rockchip secure defconfig
qjb [Wed, 7 Jan 2015 07:16:52 +0000 (15:16 +0800)]
defconfig : Add rockchip secure defconfig

9 years agoTrustZone: TLK before the start of the temporary closure of MMU
qjb [Wed, 7 Jan 2015 07:16:14 +0000 (15:16 +0800)]
TrustZone: TLK before the start of the temporary closure of MMU

9 years agoTrustZone: Add Support Trust OS
qjb [Wed, 7 Jan 2015 07:15:31 +0000 (15:15 +0800)]
TrustZone: Add Support Trust OS
if Trust OS running ,
          - disable ddr_freq
          - disable fiq debug

9 years agoTrustZone: Add TrustZone Driver
qjb [Wed, 7 Jan 2015 03:56:55 +0000 (11:56 +0800)]
TrustZone: Add TrustZone Driver
   Add the communication with the TLK interface driver.

9 years agork29_wdt: fromdos only
Huang, Tao [Wed, 7 Jan 2015 06:21:55 +0000 (14:21 +0800)]
rk29_wdt: fromdos only

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork3128 : remove cif sensor include for box dts
smj [Wed, 7 Jan 2015 05:56:25 +0000 (13:56 +0800)]
rk3128 : remove cif sensor include for box dts

Signed-off-by: hjh <hjh@rock-chips.com>
9 years agork312x, mali_400_driver : support mali_so to get rk_ko_ver from mali_ko.
chenzhen [Wed, 7 Jan 2015 06:13:36 +0000 (14:13 +0800)]
rk312x, mali_400_driver : support mali_so to get rk_ko_ver from mali_ko.

9 years agoIEP: Coding Style revision according to K-R style.
Alpha Lin [Wed, 7 Jan 2015 03:24:42 +0000 (11:24 +0800)]
IEP: Coding Style revision according to K-R style.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agoVPU, fix undefined reference to `syscon_regmap_lookup_by_phandle'.
Alpha Lin [Wed, 7 Jan 2015 01:57:43 +0000 (09:57 +0800)]
VPU, fix undefined reference to `syscon_regmap_lookup_by_phandle'.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agork312x, mali_400_driver :
chenzhen [Wed, 7 Jan 2015 01:42:29 +0000 (09:42 +0800)]
rk312x, mali_400_driver :
    Integrate arm_release_ver r5p0-01rel0;
Modify resource init code to run with 'dts_for_mali_ko_befor_r5p0'.

9 years agoVPU, Disable iommu when decoding failure
Alpha Lin [Wed, 7 Jan 2015 01:29:18 +0000 (09:29 +0800)]
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>
9 years ago<4>[ 4109.549711] CPU: 0 PID: 125 Comm: ddrfreqd Not tainted 3.10.0 #136
cl [Tue, 6 Jan 2015 13:40:32 +0000 (21:40 +0800)]
<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>
9 years agoddr_rk32.c: optimize timeout procedure when change freq
cl [Tue, 6 Jan 2015 13:02:37 +0000 (21:02 +0800)]
ddr_rk32.c: optimize timeout procedure when change freq

Signed-off-by: cl <cl@rock-chips.com>
9 years agoddrfreq: complete(&vop_req_completion) must be called after ddrfreq_work is done...
cl [Tue, 6 Jan 2015 12:54:14 +0000 (20:54 +0800)]
ddrfreq: complete(&vop_req_completion) must be called after ddrfreq_work is done when VOP_REQ_BLOCK is defined

Signed-off-by: cl <cl@rock-chips.com>
9 years agoddr_freq: change the type of vop request from andriod
cl [Tue, 6 Jan 2015 11:40:25 +0000 (19:40 +0800)]
ddr_freq: change the type of vop request from andriod

Signed-off-by: cl <cl@rock-chips.com>