firefly-linux-kernel-4.4.55.git
8 years agoMerge tag 'lsk-v3.10-15.05-android' into develop-3.10
Huang, Tao [Tue, 2 Jun 2015 03:25:34 +0000 (11:25 +0800)]
Merge tag 'lsk-v3.10-15.05-android' into develop-3.10

8 years agoRevert "zram: don't grab mutex in zram_slot_free_noity"
Huang, Tao [Tue, 2 Jun 2015 03:25:10 +0000 (11:25 +0800)]
Revert "zram: don't grab mutex in zram_slot_free_noity"

This reverts commit 66db73c14bd16d8ad05ecb80e6bf6050d8828467.

8 years agoarm64: rockchip: efuse: support set system serial
Huang, Tao [Tue, 2 Jun 2015 00:56:49 +0000 (08:56 +0800)]
arm64: rockchip: efuse: support set system serial

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agobcmdhd wifi: update to 1.201.59.4
hwg [Mon, 1 Jun 2015 07:54:19 +0000 (15:54 +0800)]
bcmdhd wifi: update to 1.201.59.4

8 years agorfkill-wlan, solve rockchip_wifi_mac_addr error
hwg [Mon, 1 Jun 2015 07:41:27 +0000 (15:41 +0800)]
rfkill-wlan, solve rockchip_wifi_mac_addr error

8 years agoHDMI: add mutex lock to edid modelist operation.
Zheng Yang [Fri, 29 May 2015 02:08:34 +0000 (10:08 +0800)]
HDMI: add mutex lock to edid modelist operation.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agoesp8089 wifi: solve warning in 64bit, new method
hwg [Thu, 28 May 2015 06:35:42 +0000 (14:35 +0800)]
esp8089 wifi: solve warning in 64bit, new method

8 years agork: iommu: support iommu region guard
CMY [Fri, 22 May 2015 09:26:42 +0000 (17:26 +0800)]
rk: iommu: support iommu region guard

Add an guard area after each iommu region, it is used to detect cross-border access

Signed-off-by: CMY <cmy@rock-chips.com>
Signed-off-by: XXM <xxm@rock-chips.com>
8 years agork fb: act_height should be 2 pix align for interlace output
hjc [Thu, 28 May 2015 02:13:44 +0000 (10:13 +0800)]
rk fb: act_height should be 2 pix align for interlace output

Signed-off-by: hjc <hjc@rock-chips.com>
8 years agorm64: rockchip: rockchip_defconfig disable EARLY_PRINTK
Huang, Tao [Wed, 27 May 2015 08:51:40 +0000 (16:51 +0800)]
rm64: rockchip: rockchip_defconfig disable EARLY_PRINTK

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoarm64: rockchip: check tf version later
Huang, Tao [Wed, 27 May 2015 08:49:32 +0000 (16:49 +0800)]
arm64: rockchip: check tf version later

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agovcodec: add soft reset after reading dec registers
Herman Chen [Wed, 27 May 2015 02:42:38 +0000 (10:42 +0800)]
vcodec: add soft reset after reading dec registers

Sometimes decoder got a timeout error and can not recover from error status.
We need to add soft reset after reading dec registers.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
8 years agovcodec: fix enable race condition when power on/off
Herman Chen [Wed, 27 May 2015 02:26:33 +0000 (10:26 +0800)]
vcodec: fix enable race condition when power on/off

When multi-instances power on at same time the condition enabled maybe
set mutli-times. Use atomic function to replace orginal
read/compare/change operation to avoid multi-instances.
Also add power on/off count to debugfs for checking

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
8 years agoadd func: check tf ver
xxx [Wed, 27 May 2015 01:04:58 +0000 (09:04 +0800)]
add func: check tf ver

8 years agork3368 lcdc: update hdmi overscan config path
hjc [Tue, 26 May 2015 08:17:28 +0000 (16:17 +0800)]
rk3368 lcdc: update hdmi overscan config path

Signed-off-by: hjc <hjc@rock-chips.com>
8 years agork fb: fix in interlace mode switch between ntsc and pal lead to pagefault
hjc [Tue, 26 May 2015 07:54:49 +0000 (15:54 +0800)]
rk fb: fix in interlace mode switch between ntsc and pal lead to pagefault

Signed-off-by: hjc <hjc@rock-chips.com>
8 years agork3368 lcdc: add wait frame start for uboot logo switch kernel logo and enable iommu
hjc [Tue, 26 May 2015 06:39:36 +0000 (14:39 +0800)]
rk3368 lcdc: add wait frame start for uboot logo switch kernel logo and enable iommu

Signed-off-by: hjc <hjc@rock-chips.com>
8 years agork fb: fix uboot logo switch to kernel logo splash screen
hjc [Tue, 26 May 2015 06:38:23 +0000 (14:38 +0800)]
rk fb: fix uboot logo switch to kernel logo splash screen

Signed-off-by: hjc <hjc@rock-chips.com>
8 years agodvfs: rockchip: add cpu thermal management test nodes
Xiao Feng [Tue, 26 May 2015 08:14:50 +0000 (16:14 +0800)]
dvfs: rockchip: add cpu thermal management test nodes

Signed-off-by: Xiao Feng <xf@rock-chips.com>
8 years agoMakefile: revert to 899286fb6a7a20f5b5c5d0a9a22e4fc39b2d9e70
Zheng Yang [Tue, 26 May 2015 08:17:05 +0000 (16:17 +0800)]
Makefile: revert to 899286fb6a7a20f5b5c5d0a9a22e4fc39b2d9e70

8 years agodisplay-sys: fix compile warning
Zheng Yang [Tue, 26 May 2015 08:14:09 +0000 (16:14 +0800)]
display-sys: fix compile warning

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agodisplay-sys: function mode_string check input parameter.
Zheng Yang [Tue, 26 May 2015 06:57:22 +0000 (14:57 +0800)]
display-sys: function mode_string check input parameter.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agomodify smc call func id to Standard sip id for efuse and pm-rk3368
xxx [Tue, 26 May 2015 06:53:55 +0000 (14:53 +0800)]
modify smc call func id to Standard sip id for efuse and pm-rk3368

8 years agork3368 lcdc: fix iommu crash when resume
hjc [Mon, 25 May 2015 08:01:12 +0000 (16:01 +0800)]
rk3368 lcdc: fix iommu crash when resume

Signed-off-by: hjc <hjc@rock-chips.com>
8 years agoarm64: rockchip: rk3368: refactor efuse code
Huang, Tao [Mon, 25 May 2015 07:45:53 +0000 (15:45 +0800)]
arm64: rockchip: rk3368: refactor efuse code

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoarm64: rockchip: rk3368: dts: add rockchip,rk3368-efuse-256
Huang, Tao [Mon, 25 May 2015 07:26:54 +0000 (15:26 +0800)]
arm64: rockchip: rk3368: dts: add rockchip,rk3368-efuse-256

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agofix rga mmu buf cause system crash when use ion mmu buf
Shengqin.Zhang [Mon, 25 May 2015 07:30:20 +0000 (15:30 +0800)]
fix rga mmu buf cause system crash when use ion mmu buf

Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com>
8 years agork3368: iommu: fix region free position when iovmm_activate failed
Simon [Mon, 25 May 2015 03:48:31 +0000 (11:48 +0800)]
rk3368: iommu: fix region free position when iovmm_activate failed

Signed-off-by: Simon <xxm@rock-chips.com>
8 years agoRevert "mmc: rk_sdmmc: manually zero desc after allocated on ARM64 platform."
Shawn Lin [Mon, 25 May 2015 02:50:47 +0000 (10:50 +0800)]
Revert "mmc: rk_sdmmc: manually zero desc after allocated on ARM64 platform."

This reverts commit e68d16d33646fabf36e782b300404f112eb94d1d.

8 years agommc: dw_mmc: init desc in dw_mci_idmac_init
Zhangfei Gao [Mon, 25 May 2015 02:46:54 +0000 (10:46 +0800)]
mmc: dw_mmc: init desc in dw_mci_idmac_init

Set 0 to des1 in 32bit case.
Otherwise the random value of des1 will be used in
dw_mci_translate_sglist: IDMAC_SET_BUFFER1_SIZE(desc, length)

Signed-off-by: Fei Wang <w.f@huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
8 years agodts: arm64: rk3368: fix wrong property for esd
Shawn Lin [Mon, 25 May 2015 02:08:48 +0000 (10:08 +0800)]
dts: arm64: rk3368: fix wrong property for esd

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
cc: Sam Guo <sam.guo@rock-chips.com>
cc: Xiao Yao <xiaoyao@rock-chips.com>

8 years agoCVBS: Add gm7122 driver.
ShenZhengyi [Sat, 23 May 2015 07:49:05 +0000 (15:49 +0800)]
CVBS: Add gm7122 driver.

      If you use it, should add board information to dts file, such as i2c address, sleep pin.
      like that:
gm7122_tve@44 {
compatible = "gm7122_tve";
reg = <0x44>;
rockchip,source = <0>; //0: LCDC0; 1: LCDC1
rockchip,prop = <PRMRY>;//<EXTEND>
gpio-reset = <&gpio0 GPIO_A1 GPIO_ACTIVE_HIGH>;
gpio-sleep = <&gpio0 GPIO_C6 GPIO_ACTIVE_HIGH>;
status = "okay";
};

Signed-off-by: ShenZhengyi <szy@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agoHDMI: No need to set audio when hdmi is not connected.
Zheng Yang [Sat, 23 May 2015 03:08:49 +0000 (11:08 +0800)]
HDMI: No need to set audio when hdmi is not connected.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agoarm64: kernel: add system revision support
Peng Du [Mon, 12 Aug 2013 21:42:59 +0000 (14:42 -0700)]
arm64: kernel: add system revision support

Bug 1248538

Change-Id: I272a264ba2904dfc7a2c6d74ab4fbfdd301b8985
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/260756
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
8 years agoHDMI: register display type according lcdc property.
Zheng Yang [Fri, 22 May 2015 10:34:17 +0000 (18:34 +0800)]
HDMI: register display type according lcdc property.

If property of lcdc connected by HDMI is EXTERN,
we register HDMI as a aux display device.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agodisplay-sys: delete unused code.
Zheng Yang [Fri, 22 May 2015 10:34:03 +0000 (18:34 +0800)]
display-sys: delete unused code.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agommc: rk_sdmmc: fix compile warning
Shawn Lin [Fri, 22 May 2015 10:17:48 +0000 (18:17 +0800)]
mmc: rk_sdmmc: fix compile warning

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
8 years agommc: core: add wrapper for timeout value
Shawn Lin [Fri, 22 May 2015 09:39:26 +0000 (17:39 +0800)]
mmc: core: add wrapper for timeout value

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
cc: Xiao yao <xiaoyao@rock-chips.com>

8 years agommc: rk_sdmmc: do more timeout recovery operation
Shawn Lin [Fri, 22 May 2015 08:08:48 +0000 (16:08 +0800)]
mmc: rk_sdmmc: do more timeout recovery operation

  We stop slaver and rebank our setting for better
compatibility.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Roger Hu <roger.hu@rock-chips.com>
Tested-by: Allen Lee <allen.lee@rock-chips.com>
cc: Xiao yao <xiaoyao@rock-chips.com>

8 years agommc: core: skyrocket timeout for cmd erase_group_xxx
Shawn Lin [Fri, 22 May 2015 07:38:08 +0000 (15:38 +0800)]
mmc: core: skyrocket timeout for cmd erase_group_xxx

  It shocked me that a buggy emmc need quite a long period
of time for setting its erase_group_xxx. Increase timeout
value does not harm to normal case which just under constrain.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Tested-by: Yongzhong Yang <yongzhong.yang@rock-chips.com>
cc: Xiao yao <xiaoyao@rock-chips.com>

8 years agommc: rk_sdmmc: disable controller int before enter deepsleep
Shawn Lin [Fri, 22 May 2015 06:56:11 +0000 (14:56 +0800)]
mmc: rk_sdmmc: disable controller int before enter deepsleep

   Generally when machine enter deepsleep, with no cirrcumstance,
host can interact with slavery devices. So disbale our int generater
ourself. By occasionly, we find reset controller will trigger an
unexpected SEB int. It exists a race condition for reset and IO timing
before switched to gpio and confuse state machine.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Tested-and-Reviewed-by: Xiao yao <xiaoyao@rock-chips.com>
8 years agommc: rk_sdmmc: add platform hook for special pm ops during deepsleep
lintao [Fri, 22 May 2015 02:54:34 +0000 (10:54 +0800)]
mmc: rk_sdmmc: add platform hook for special pm ops during deepsleep

  We register a platform hook and restore all of our regs if platform does
need to cutoff controller's power-supply during deepsleep in period of time.
Make sure your have added "controller-power-down" property AND comment out
"keep-power-in-suspend" in related dts file.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Xiaoyao <xiaoyao@rock-chips.com>
Reviewed-by: Chenjh <chenjh@rock-chips.com>
Tested-by: Chenjh <chenjh@rock-chips.com>
8 years agodtsi: ddr_freq: add vop bandwidth freq table
Xiao Feng [Thu, 21 May 2015 07:10:25 +0000 (15:10 +0800)]
dtsi: ddr_freq: add vop bandwidth freq table

Signed-off-by: Xiao Feng <xf@rock-chips.com>
8 years agofb: add sysfs node lcdcid.
Zheng Yang [Fri, 22 May 2015 07:18:37 +0000 (15:18 +0800)]
fb: add sysfs node lcdcid.

Now we have many fb devices, each vop layer is mapped to a fb device.
If there is 2 vop, we can not distinguish the vop between these fb devices.
Add sysfs node lcdcid to get the lcdc id mapped by fb device.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agorfkill-wlan: skip can't find rockchip,grf property error in none 3368 platform
hwg [Fri, 22 May 2015 01:52:18 +0000 (09:52 +0800)]
rfkill-wlan: skip can't find rockchip,grf property error in none 3368 platform

8 years agork3368: pmic: rk818:adjust dcdc voltage step
zhangqing [Thu, 21 May 2015 18:56:16 +0000 (11:56 -0700)]
rk3368: pmic: rk818:adjust dcdc voltage step

Signed-off-by: zhangqing <zhangqing@rock-chips.com>
8 years agoASoC: es8316: use startup/shutdown to manager power consumption.
Sugar Zhang [Thu, 21 May 2015 10:38:13 +0000 (18:38 +0800)]
ASoC: es8316: use startup/shutdown to manager power consumption.

use startup/shutdown to reduce power consumption, every time codec
standby, we shutdown codec. so, there is no need extra operation in
suspend.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
8 years agoarm: rockchip: vcodec_service: allow no rockchip,grf in dts
Huang, Tao [Thu, 21 May 2015 10:28:22 +0000 (18:28 +0800)]
arm: rockchip: vcodec_service: allow no rockchip,grf in dts

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoclk: rockchip: allow no rockchip,grf in dts on arm
Huang, Tao [Thu, 21 May 2015 10:23:29 +0000 (18:23 +0800)]
clk: rockchip: allow no rockchip,grf in dts on arm

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoASoC: dmaengine: use dma_request_slave_channel to request dma chan.
Sugar Zhang [Thu, 21 May 2015 07:53:59 +0000 (15:53 +0800)]
ASoC: dmaengine: use dma_request_slave_channel to request dma chan.

if i2s module probe before dma module, dma chan resources are not ready.
use dma_request_slave_channel to reinitialize dma chan if not ready.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
8 years agoHDMI: support show edid status.
Zheng Yang [Thu, 21 May 2015 05:45:22 +0000 (13:45 +0800)]
HDMI: support show edid status.

Use /sys/class/display/HDMI/debug node to
show sink EDID status and raw status.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agodisplay-sys: debug node support to show debug information.
Zheng Yang [Thu, 21 May 2015 05:40:15 +0000 (13:40 +0800)]
display-sys: debug node support to show debug information.

Add a callback function getdebug() to show debug information.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agoHDMI: just list common format when edid is not valid.
Zheng Yang [Thu, 21 May 2015 02:26:34 +0000 (10:26 +0800)]
HDMI: just list common format when edid is not valid.

If EDID is not valid, list following common format:
1920x1080p-60
1920x1080p-50
1280x720p-60
1280x720p-50
720px576p-50
720px480p-60

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agoMerge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android
Alex Shi [Thu, 21 May 2015 02:13:07 +0000 (10:13 +0800)]
Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android

8 years agoMerge branch 'v3.10/topic/misc' into linux-linaro-lsk-v3.10
Alex Shi [Thu, 21 May 2015 02:10:52 +0000 (10:10 +0800)]
Merge branch 'v3.10/topic/misc' into linux-linaro-lsk-v3.10

Pick up a ext4 optimiztion commit:
7afe5aa59ed3d ext4: convert write_begin methods to stable_page_writes

8 years agoext4: convert write_begin methods to stable_page_writes semantics
Dmitry Monakhov [Wed, 28 Aug 2013 18:30:47 +0000 (14:30 -0400)]
ext4: convert write_begin methods to stable_page_writes semantics

Use wait_for_stable_page() instead of wait_on_page_writeback()

Huawei engineer Jianfeng report that without this patch, the consequence
write may cause seconds to finish.

The patch helps because most of storage today doesn't require that the
page isn't changed while IO is in flight. That is required only for
data checksumming or copy-on-write semantics but ext4 does neither of
those. So we don't have to wait for IO completion in ext4_write_begin()
unless underlying storage requires it.

--Honza

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
(cherry picked from commit 7afe5aa59ed3da7b6161617e7f157c7c680dc41e)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
8 years agoMerge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android
Alex Shi [Thu, 21 May 2015 02:02:28 +0000 (10:02 +0800)]
Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android

8 years ago Merge tag 'v3.10.79' into linux-linaro-lsk-v3.10
Alex Shi [Thu, 21 May 2015 02:02:25 +0000 (10:02 +0800)]
 Merge tag 'v3.10.79' into linux-linaro-lsk-v3.10

 This is the 3.10.79 stable release

8 years agoesp8089 wifi: solve warning in 64bit
hwg [Thu, 21 May 2015 01:02:38 +0000 (09:02 +0800)]
esp8089 wifi: solve warning in 64bit

8 years agovideo: rockchip: rga2: fix compilation error on arm
Huang, Tao [Wed, 20 May 2015 14:10:23 +0000 (22:10 +0800)]
video: rockchip: rga2: fix compilation error on arm

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agovideo: rockchip: fix compilation error on arm
Huang, Tao [Wed, 20 May 2015 14:09:59 +0000 (22:09 +0800)]
video: rockchip: fix compilation error on arm

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agousb: rockchip: fix compilation error on arm
Huang, Tao [Wed, 20 May 2015 14:09:32 +0000 (22:09 +0800)]
usb: rockchip: fix compilation error on arm

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agospi: rockchip: fix compilation error on arm
Huang, Tao [Wed, 20 May 2015 14:08:53 +0000 (22:08 +0800)]
spi: rockchip: fix compilation error on arm

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agopwm: rockchip: fix compilation error on arm
Huang, Tao [Wed, 20 May 2015 14:08:31 +0000 (22:08 +0800)]
pwm: rockchip: fix compilation error on arm

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoarm: rockchip: select MFD_SYSCON
Huang, Tao [Wed, 20 May 2015 14:07:02 +0000 (22:07 +0800)]
arm: rockchip: select MFD_SYSCON

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agousb: dwc_otg: build driver depends on arm or arm64
Huang, Tao [Wed, 20 May 2015 13:30:05 +0000 (21:30 +0800)]
usb: dwc_otg: build driver depends on arm or arm64

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoarm: rockchip: cpu.h: only support on arm
Huang, Tao [Wed, 20 May 2015 13:29:02 +0000 (21:29 +0800)]
arm: rockchip: cpu.h: only support on arm

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoarm: rockchip: efuse: fix compilation error on arm
Huang, Tao [Wed, 20 May 2015 12:31:57 +0000 (20:31 +0800)]
arm: rockchip: efuse: fix compilation error on arm

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoarm: rockchip: use read_cpuid_part instead of read_cpuid_part_number
Huang, Tao [Wed, 20 May 2015 08:01:55 +0000 (16:01 +0800)]
arm: rockchip: use read_cpuid_part instead of read_cpuid_part_number

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agork: gcc-wrapper.py ignore sysctl_net_core.c:24
Huang, Tao [Wed, 20 May 2015 07:34:59 +0000 (15:34 +0800)]
rk: gcc-wrapper.py ignore sysctl_net_core.c:24

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agorkwifi: dhd_config: fix compilation warning
Huang, Tao [Wed, 20 May 2015 07:34:03 +0000 (15:34 +0800)]
rkwifi: dhd_config: fix compilation warning

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agork1000: fix compilation warning
Huang, Tao [Wed, 20 May 2015 07:17:32 +0000 (15:17 +0800)]
rk1000: fix compilation warning

8 years agoMerge branch develop-3.10-next
Huang, Tao [Wed, 20 May 2015 06:49:34 +0000 (14:49 +0800)]
Merge branch develop-3.10-next

8 years agoddrfreq: add vop bandwidth freq table in dts, in order to support more boards
Xiao Feng [Thu, 14 May 2015 07:45:31 +0000 (15:45 +0800)]
ddrfreq: add vop bandwidth freq table in dts, in order to support more boards

Signed-off-by: Xiao Feng <xf@rock-chips.com>
8 years agoddrfreq: fix new_freq=0 when the current load of ddr is between high_load and low_load
Xiao Feng [Wed, 13 May 2015 11:27:56 +0000 (19:27 +0800)]
ddrfreq: fix new_freq=0 when the current load of ddr is between high_load and low_load

Signed-off-by: Xiao Feng <xf@rock-chips.com>
8 years agoVPU, set the power-on flag after power domain already on.
Alpha Lin [Fri, 15 May 2015 08:54:02 +0000 (16:54 +0800)]
VPU, set the power-on flag after power domain already on.

Previous register operation before power on.
Software reset vpu inside vdpu interrupt handle.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
8 years agoASoC: es8316: reduce standby power consumption around ~uA.
Sugar Zhang [Wed, 20 May 2015 03:01:43 +0000 (11:01 +0800)]
ASoC: es8316: reduce standby power consumption around ~uA.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
8 years agork fb:extern rockchip_get_screen_type for mipi dsi
hjc [Wed, 20 May 2015 03:05:09 +0000 (11:05 +0800)]
rk fb:extern rockchip_get_screen_type for mipi dsi

Signed-off-by: hjc <hjc@rock-chips.com>
8 years agork fb: fix hdmi/cvbs display error when uboot display logo
hjc [Wed, 6 May 2015 08:18:36 +0000 (16:18 +0800)]
rk fb: fix hdmi/cvbs display error when uboot display logo

Signed-off-by: hjc <hjc@rock-chips.com>
8 years agoHDMI: Not filter the input 3dmode with EDID information.
Zheng Yang [Tue, 19 May 2015 09:53:55 +0000 (17:53 +0800)]
HDMI: Not filter the input 3dmode with EDID information.

If input 3dmode is not list in EDID, we print a
warning log and send it to sink, no longer return
error.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agoHDMI: fix edid 3d information offset parse error.
Zheng Yang [Tue, 19 May 2015 09:50:55 +0000 (17:50 +0800)]
HDMI: fix edid 3d information offset parse error.

In EDID 3D descriptor, 3d information is after
4K format. But we did not increase the offset of
3d content if 4K format is zero, which make 3d
information error.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agoHDMI: Not filter the input 3dmode with EDID information.
Zheng Yang [Tue, 19 May 2015 09:53:55 +0000 (17:53 +0800)]
HDMI: Not filter the input 3dmode with EDID information.

If input 3dmode is not list in EDID, we print a
warning log and send it to sink, no longer return
error.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agoHDMI: fix edid 3d information offset parse error.
Zheng Yang [Tue, 19 May 2015 09:50:55 +0000 (17:50 +0800)]
HDMI: fix edid 3d information offset parse error.

In EDID 3D descriptor, 3d information is after
4K format. But we did not increase the offset of
3d content if 4K format is zero, which make 3d
information error.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
8 years agork_fb: compatible for mid hdmi switch screen
Mark Yao [Wed, 13 May 2015 08:17:28 +0000 (16:17 +0800)]
rk_fb: compatible for mid hdmi switch screen

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
8 years agorockchip: video: fix logo display when switch screen
Mark Yao [Tue, 28 Apr 2015 06:52:23 +0000 (14:52 +0800)]
rockchip: video: fix logo display when switch screen

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
8 years agoinput: keyboard: rk_keys: add wake lock
Huang, Tao [Tue, 19 May 2015 02:56:23 +0000 (10:56 +0800)]
input: keyboard: rk_keys: add wake lock

New version Android will never call EPOLLWAKEUP or EVIOCSSUSPENDBLOCK.
So we need add wake lock in driver.

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoinput: keyboard: rk_keys: use jiffies rather than msecs_to_jiffies
Huang, Tao [Tue, 19 May 2015 02:06:36 +0000 (10:06 +0800)]
input: keyboard: rk_keys: use jiffies rather than msecs_to_jiffies

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agoinput: keyboard: rk_keys: fix CodingStyle issues only
Huang, Tao [Tue, 19 May 2015 01:57:19 +0000 (09:57 +0800)]
input: keyboard: rk_keys: fix CodingStyle issues only

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agork_fb: compatible for mid hdmi switch screen
Mark Yao [Wed, 13 May 2015 08:17:28 +0000 (16:17 +0800)]
rk_fb: compatible for mid hdmi switch screen

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
8 years agoMerge branch 'v3.10/topic/arm64-errata' into linux-linaro-lsk-v3.10
Kevin Hilman [Mon, 18 May 2015 23:18:16 +0000 (16:18 -0700)]
Merge branch 'v3.10/topic/arm64-errata' into linux-linaro-lsk-v3.10

* v3.10/topic/arm64-errata:
  arm64: errata: add workaround for cortex-a53 erratum #845719
  arm64: Remove unused cpu_name ascii in arch/arm64/mm/proc.S

8 years agoarm64: errata: add workaround for cortex-a53 erratum #845719
Will Deacon [Mon, 23 Mar 2015 19:07:02 +0000 (19:07 +0000)]
arm64: errata: add workaround for cortex-a53 erratum #845719

When running a compat (AArch32) userspace on Cortex-A53, a load at EL0
from a virtual address that matches the bottom 32 bits of the virtual
address used by a recent load at (AArch64) EL1 might return incorrect
data.

This patch works around the issue by writing to the contextidr_el1
register on the exception return path when returning to a 32-bit task.

Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 905e8c5dcaa147163672b06fe9dcb5abaacbc711)
[khilman: modified to remove dependency on alternatives framwork.  Feature
          is now only compile-time selectable, and defaults to off. ]
Signed-off-by: Kevin Hilman <khilman@linaro.org>
8 years agoarm64: Remove unused cpu_name ascii in arch/arm64/mm/proc.S
Catalin Marinas [Mon, 2 Sep 2013 15:33:54 +0000 (16:33 +0100)]
arm64: Remove unused cpu_name ascii in arch/arm64/mm/proc.S

This string has been moved to arch/arm64/kernel/cputable.c.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit f3a1d7d53dccf51959aec16b574617cc6bfeca09)
Signed-off-by: Kevin Hilman <khilman@linaro.org>
8 years agork3368: cpufreq: fix pm_notifier return NOTIFY_BAD
Xiao Feng [Mon, 18 May 2015 13:23:31 +0000 (21:23 +0800)]
rk3368: cpufreq: fix pm_notifier return NOTIFY_BAD

the big cluster mask is random when down cpu1~cpu7, so we get the error policy cpu in pm_notifier.

Signed-off-by: Xiao Feng <xf@rock-chips.com>
8 years agoarm64: rockchip: cpuquiet: be quiet when cpu up/down
Huang, Tao [Mon, 18 May 2015 10:22:30 +0000 (18:22 +0800)]
arm64: rockchip: cpuquiet: be quiet when cpu up/down

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agocpufreq: rockchip_big_little: minor cleanups
Huang, Tao [Mon, 18 May 2015 09:26:13 +0000 (17:26 +0800)]
cpufreq: rockchip_big_little: minor cleanups

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agorockchip: hmp: adjust hmp_up/down_threshold
Huang, Tao [Mon, 18 May 2015 09:25:12 +0000 (17:25 +0800)]
rockchip: hmp: adjust hmp_up/down_threshold

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agocpuquiet: add rockchip cpuquiet bl_balanced governor driver
Huang, Tao [Mon, 18 May 2015 09:22:52 +0000 (17:22 +0800)]
cpuquiet: add rockchip cpuquiet bl_balanced governor driver

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agocpuquiet: add rockchip cpuquiet driver
Huang, Tao [Mon, 18 May 2015 09:20:35 +0000 (17:20 +0800)]
cpuquiet: add rockchip cpuquiet driver

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agocpuquiet: Update averaging of nr_runnables
Huang, Tao [Mon, 18 May 2015 09:17:28 +0000 (17:17 +0800)]
cpuquiet: Update averaging of nr_runnables

Doing a Exponential moving average per nr_running++/-- does not
guarantee a fixed sample rate which induces errors if there are lots of
threads being enqueued/dequeued from the rq (Linpack mt). Instead of
keeping track of the avg, the scheduler now keeps track of the integral
of nr_running and allows the readers to perform filtering on top.

Implemented a proper exponential moving average for the runnables
governor and a straight 100ms average for the balanced governor. Tweaked
the thresholds for the runnables governor to minimize latency. Also,
decreased sample_rate for the runnables governor to the absolute minimum
of 10msecs.

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
8 years agocpuquiet: PM QoS: Add max/min online cpus as PM QoS parameter
Huang, Tao [Mon, 18 May 2015 09:08:55 +0000 (17:08 +0800)]
cpuquiet: PM QoS: Add max/min online cpus as PM QoS parameter

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>