firefly-linux-kernel-4.4.55.git
9 years agommc: core: limit tuning block timeout
Shawn Lin [Mon, 8 Jun 2015 09:52:06 +0000 (17:52 +0800)]
mmc: core: limit tuning block timeout

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
9 years agodts: rockchip: add tune_regsbase for mmc
Shawn Lin [Mon, 8 Jun 2015 09:25:57 +0000 (17:25 +0800)]
dts: rockchip: add tune_regsbase for mmc

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
9 years agommc: host: Add facility to support re-tuning
Shawn Lin [Mon, 8 Jun 2015 09:20:01 +0000 (17:20 +0800)]
mmc: host: Add facility to support re-tuning

  This commit comes from community but not upstreram.
We cannot wait for picking up such a great movement without
upstream admit it. We just take a light way to merge it and
minimize the change.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: xiaoyao <xiaoyao@rock-chips.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
9 years agommc: rk_sdmmc: new tuning policy
Shawn Lin [Mon, 8 Jun 2015 08:04:20 +0000 (16:04 +0800)]
mmc: rk_sdmmc: new tuning policy

  Totally new tuning policy for rockchip mhsc
merging from upstream and sustainable experiments
conducted by massive test using tier one customers's board.
This fine ajustment might be more durable and readable.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Xiao Yao <xiaoyao@rock-chips.com>
Test-by: Xiao Yao <xiaoyao@rock-chips.com>
9 years agommc: rk_sdmmc: local reversion and code regulation
Shawn Lin [Wed, 3 Jun 2015 09:16:03 +0000 (17:16 +0800)]
mmc: rk_sdmmc: local reversion and code regulation

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
9 years agoRK3368 GPU version: Rogue L 0.18
zxl [Tue, 23 Jun 2015 01:11:36 +0000 (09:11 +0800)]
RK3368 GPU version: Rogue L 0.18
If fix freq,then don't force to drop freq to the lowest.

9 years agodts: rk3368-p9_818: modify DVFS table for gpu, if not so, reboot test would be failed...
Aiyoujun [Tue, 23 Jun 2015 00:47:55 +0000 (08:47 +0800)]
dts: rk3368-p9_818: modify DVFS table for gpu, if not so, reboot test would be failed sometimes.

Signed-off-by: Aiyoujun <ayj@rock-chips.com>
9 years agousb: bc: add battery charger detect head file
lyz [Fri, 19 Jun 2015 11:26:30 +0000 (19:26 +0800)]
usb: bc: add battery charger detect head file

Signed-off-by: lyz <lyz@rock-chips.com>
9 years agousb: dwc_otg: prevent re-submit urb when disconnect detected
lyz [Fri, 19 Jun 2015 11:08:44 +0000 (19:08 +0800)]
usb: dwc_otg: prevent re-submit urb when disconnect detected

Signed-off-by: lyz <lyz@rock-chips.com>
9 years agovop: full: update win direct enable function
hjc [Fri, 19 Jun 2015 06:22:42 +0000 (14:22 +0800)]
vop: full: update win direct enable function

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork fb: when switch screen,should not close vop,this will lead to close clk
hjc [Fri, 19 Jun 2015 06:18:36 +0000 (14:18 +0800)]
rk fb: when switch screen,should not close vop,this will lead to close clk
       just need to close all win

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agortl8188eu: update driver to v4.3.0.8_13968.20150417
hwg [Thu, 18 Jun 2015 10:28:07 +0000 (18:28 +0800)]
rtl8188eu: update driver to v4.3.0.8_13968.20150417

9 years agodefconfig: add dcdc eta3555
huang zhibao [Thu, 18 Jun 2015 10:06:40 +0000 (18:06 +0800)]
defconfig: add dcdc eta3555

9 years agoregulator: add eta3555 support
huang zhibao [Thu, 18 Jun 2015 09:55:55 +0000 (17:55 +0800)]
regulator: add eta3555 support

9 years agotve:rk1000:modify suspend and resume condition
ShenZhengyi [Thu, 18 Jun 2015 09:08:56 +0000 (17:08 +0800)]
tve:rk1000:modify suspend and resume condition

Signed-off-by: ShenZhengyi <szy@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agotve:rk1000: Fix code style
ShenZhengyi [Thu, 18 Jun 2015 09:01:22 +0000 (17:01 +0800)]
tve:rk1000: Fix code style

Signed-off-by: ShenZhengyi <szy@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agobcmdhd wifi: add auto recognize different chips
hwg [Thu, 18 Jun 2015 09:30:23 +0000 (17:30 +0800)]
bcmdhd wifi: add auto recognize different chips

9 years agork3368: TP: Forget to remove source drivers/input/touchscreen/gt9xx/Kconfig.
xubilv [Thu, 18 Jun 2015 09:11:53 +0000 (17:11 +0800)]
rk3368: TP: Forget to remove source drivers/input/touchscreen/gt9xx/Kconfig.

Signed-off-by: xubilv <xbl@rock-chips.com>
9 years agodts: add rk3368-tb_mipi.dts to support new SDK top board
hcy [Thu, 18 Jun 2015 07:56:02 +0000 (15:56 +0800)]
dts: add rk3368-tb_mipi.dts to support new SDK top board

Signed-off-by: hecanyang <hcy@rock-chips.com>
9 years agodvfs: rockchip: if can not get regulator, set regulator=NULL
Xiao Feng [Thu, 18 Jun 2015 07:39:19 +0000 (15:39 +0800)]
dvfs: rockchip: if can not get regulator, set regulator=NULL

Signed-off-by: Xiao Feng <xf@rock-chips.com>
9 years agoclocksource: rockchip_timer: set clockevent irq flags include IRQF_PERCPU
Huang, Tao [Thu, 18 Jun 2015 07:21:53 +0000 (15:21 +0800)]
clocksource: rockchip_timer: set clockevent irq flags include IRQF_PERCPU

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoRK3368: TP: use dts to control the difference between GT9XX.
xubilv [Thu, 18 Jun 2015 03:38:19 +0000 (11:38 +0800)]
RK3368: TP: use dts to control the difference between GT9XX.

Signed-off-by: xubilv <xbl@rock-chips.com>
9 years agork3368-tb_8846: dts: modify battery node
Jianhong Chen [Wed, 17 Jun 2015 06:02:46 +0000 (14:02 +0800)]
rk3368-tb_8846: dts: modify battery node

1) add dc det pinctrl
2) disable usb adapter
3) set input charge current 3000mA

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agopower: rk81x-battery: fix dwc_otg_check_dpdm declare error
Jianhong Chen [Wed, 17 Jun 2015 01:50:10 +0000 (09:50 +0800)]
power: rk81x-battery: fix dwc_otg_check_dpdm declare error

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agopower: rk81x battery: fix charger online init
Andy Yan [Mon, 8 Jun 2015 01:38:49 +0000 (09:38 +0800)]
power: rk81x battery: fix charger online init

if the system boot with charger online, use it
as init state for power_supply_register

Signed-off-by: Andy Yan <yxj@rock-chips.com>
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agopower: rk81x battery: fix charge/discharge check in reboot mode
Andy Yan [Thu, 11 Jun 2015 07:19:53 +0000 (15:19 +0800)]
power: rk81x battery: fix charge/discharge check in reboot mode

judge charge/discharge mode by current direction

Signed-off-by: Andy Yan <yxj@rock-chips.com>
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agopower: rk81x battery: skip invalid voltage
Andy Yan [Fri, 12 Jun 2015 00:44:52 +0000 (08:44 +0800)]
power: rk81x battery: skip invalid voltage

rk81x battery may get invalid value when resume from suspend,
if the voltage get from adc is lower than INVALID_VOL_THRESD,
we consider it as invalid and filter it

Signed-off-by: Andy Yan <yxj@rock-chips.com>
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agopower: rk81x-battery: disable charge over time funtion
Jianhong Chen [Thu, 11 Jun 2015 13:40:48 +0000 (21:40 +0800)]
power: rk81x-battery: disable charge over time funtion

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agopower: rk81x-battery: count all avaraible rsoc into calc
Jianhong Chen [Tue, 16 Jun 2015 13:26:39 +0000 (21:26 +0800)]
power: rk81x-battery: count all avaraible rsoc into calc

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agopower: rk81x-battery: get charge flag by command line
Jianhong Chen [Tue, 16 Jun 2015 08:58:12 +0000 (16:58 +0800)]
power: rk81x-battery: get charge flag by command line

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agopower: rk81x battery: add virtual power support
Andy Yan [Wed, 10 Jun 2015 03:41:07 +0000 (11:41 +0800)]
power: rk81x battery: add virtual power support

if some board don't use a real fuel gauge, set virtual_power
in dts, the battery driver will report virtural soc to user space

Signed-off-by: Andy Yan <yxj@rock-chips.com>
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agork3368-p9_818: dts: rename dc det pinctrl name and add virtual_power
Jianhong Chen [Wed, 10 Jun 2015 13:35:32 +0000 (21:35 +0800)]
rk3368-p9_818: dts: rename dc det pinctrl name and add virtual_power

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
9 years agoext4: check for zero length extent explicitly
Eryu Guan [Thu, 14 May 2015 23:00:45 +0000 (19:00 -0400)]
ext4: check for zero length extent explicitly

The following commit introduced a bug when checking for zero length extent

5946d08 ext4: check for overlapping extents in ext4_valid_extent_entries()

Zero length extent could pass the check if lblock is zero.

Adding the explicit check for zero length back.

Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
9 years agoASoC: rockchip: coding style.
Sugar Zhang [Tue, 16 Jun 2015 09:57:51 +0000 (17:57 +0800)]
ASoC: rockchip: coding style.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
9 years agork fb: vsync thread distinction two vop
hjc [Tue, 16 Jun 2015 10:02:49 +0000 (18:02 +0800)]
rk fb: vsync thread distinction two vop

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agoarm64: rockchip: rk3368-tb: dts: update dvfs table
Xiao Feng [Tue, 16 Jun 2015 08:40:15 +0000 (16:40 +0800)]
arm64: rockchip: rk3368-tb: dts: update dvfs table

Signed-off-by: Xiao Feng <xf@rock-chips.com>
9 years agotve:rk1000: When set mode , judge whether delay
ShenZhengyi [Tue, 16 Jun 2015 05:33:55 +0000 (13:33 +0800)]
tve:rk1000: When set mode , judge whether delay

      If the set mode is the same of current mode , it does not delay.

Signed-off-by: ShenZhengyi <szy@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agork3368: pinctrl: fix bank:3 gpio irq wakeup not worked
David Wu [Tue, 16 Jun 2015 07:16:49 +0000 (15:16 +0800)]
rk3368: pinctrl: fix bank:3 gpio irq wakeup not worked

Signed-off-by: David Wu <wdc@rock-chips.com>
9 years agodts: rockchip: rename property 'i2s-controller' to 'audio-controller'
Sugar Zhang [Tue, 16 Jun 2015 06:19:18 +0000 (14:19 +0800)]
dts: rockchip: rename property 'i2s-controller' to 'audio-controller'

because we have i2s controller, spdif controller, so we use audio-controller
to include both.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
9 years agoASoC: rockchip: rename property 'i2s-controller' to 'audio-controller'
Sugar Zhang [Tue, 16 Jun 2015 06:15:24 +0000 (14:15 +0800)]
ASoC: rockchip: rename property 'i2s-controller' to 'audio-controller'

because we have i2s controller, spdif controller, so we use audio-controller
to include both.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
9 years agoASoC: rockchip: spdif: drop owner assignment from platform_drivers
Sugar Zhang [Mon, 15 Jun 2015 03:10:11 +0000 (11:10 +0800)]
ASoC: rockchip: spdif: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
9 years agobcmdhd wifi: after android stop; start, wpa_supplicant start fail because of Failed...
hwg [Tue, 16 Jun 2015 03:02:56 +0000 (11:02 +0800)]
bcmdhd wifi: after android stop; start, wpa_supplicant start fail because of Failed to create a P2P Device interface p2p-dev-wlan0

9 years agobcmdhd: solve ap6212 sdio transmit abnormal
hwg [Tue, 16 Jun 2015 01:40:05 +0000 (09:40 +0800)]
bcmdhd: solve ap6212 sdio transmit abnormal

9 years agoVPU: enable auto-freq flag.
Alpha Lin [Mon, 15 Jun 2015 09:10:33 +0000 (17:10 +0800)]
VPU: enable auto-freq flag.

bug in previous commit, auto-freq flag disable in all the
platform.

raise freq to 600MHz when 4k avc video decode, could not
get the 500 MHz frequency from current clock pll.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agodts: rk3368-p9_818: modify DVFS table for gpu, cpu and logic.
Aiyoujun [Mon, 15 Jun 2015 08:27:19 +0000 (16:27 +0800)]
dts: rk3368-p9_818: modify DVFS table for gpu, cpu and logic.

Signed-off-by: Aiyoujun <ayj@rock-chips.com>
9 years agodts: rk3368-box: modify DVFS table for little cpu.
Aiyoujun [Mon, 15 Jun 2015 08:26:57 +0000 (16:26 +0800)]
dts: rk3368-box: modify DVFS table for little cpu.

Signed-off-by: Aiyoujun <ayj@rock-chips.com>
9 years agooptee : optee linux build to .ko depend on function(sched_setaffinity)
Jony.Qiu [Mon, 15 Jun 2015 08:04:58 +0000 (16:04 +0800)]
optee : optee linux build to .ko depend on function(sched_setaffinity)

Signed-off-by: Jony.Qiu <jony.qiu@rock-chips.com>
9 years agousb: bc: fix crush caused by usb bc detect
lyz [Fri, 12 Jun 2015 12:38:26 +0000 (20:38 +0800)]
usb: bc: fix crush caused by usb bc detect

Fix a bug that mutex used before init.

Signed-off-by: lyz <lyz@rock-chips.com>
9 years agoASoC: rockchip: spdif: caculate sclk according BMC(bitphase mark coding).
Sugar Zhang [Fri, 12 Jun 2015 10:22:02 +0000 (18:22 +0800)]
ASoC: rockchip: spdif: caculate sclk according BMC(bitphase mark coding).

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
9 years agoASoC: hdmi_spdif: add 192k samplerate support.
Sugar Zhang [Fri, 12 Jun 2015 10:20:57 +0000 (18:20 +0800)]
ASoC: hdmi_spdif: add 192k samplerate support.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
9 years agoASoC: rockchip: spdif: add 192k samplerate support.
Sugar Zhang [Fri, 12 Jun 2015 09:25:26 +0000 (17:25 +0800)]
ASoC: rockchip: spdif: add 192k samplerate support.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
9 years agoASoC: rockchip: spdif: refactor driver code.
Sugar Zhang [Fri, 12 Jun 2015 08:49:44 +0000 (16:49 +0800)]
ASoC: rockchip: spdif: refactor driver code.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
9 years agopm_tests: rockchip: fix compilation warning
Xiao Feng [Fri, 12 Jun 2015 06:36:46 +0000 (14:36 +0800)]
pm_tests: rockchip: fix compilation warning

Signed-off-by: Xiao Feng <xf@rock-chips.com>
9 years agousb: otg: notify to pmu the otg vbus change
lyz [Thu, 11 Jun 2015 03:27:02 +0000 (11:27 +0800)]
usb: otg: notify to pmu the otg vbus change

Signed-off-by: lyz <lyz@rock-chips.com>
9 years agousb: bc: fix usb charger type detect error in rapidly hotplug
lyz [Thu, 21 May 2015 02:15:00 +0000 (10:15 +0800)]
usb: bc: fix usb charger type detect error in rapidly hotplug
case for inno phy

In device mode, when doing usb plug and unplug rapidly, there
might be some problem with usb battery charger type detect,
caused by line bounces and other connect problems, at this case,
usb battery charger detect module prefer to report a battery
cherger type that draw less current to make it saver for PMIC and
downstream port safer.

Signed-off-by: lyz <lyz@rock-chips.com>
9 years agodts: box fixed ddr freq to 800M
huang zhibao [Wed, 10 Jun 2015 08:30:00 +0000 (16:30 +0800)]
dts: box fixed ddr freq to 800M

9 years agoRK3368 Mailbox: add mailbox version information
Tang Yun ping [Wed, 10 Jun 2015 07:32:09 +0000 (15:32 +0800)]
RK3368 Mailbox: add mailbox version information

Signed-off-by: Tang Yun ping <typ@rock-chips.com>
9 years agorga2 compile error on 64 bit platform
Shengqin.Zhang [Wed, 10 Jun 2015 09:28:17 +0000 (17:28 +0800)]
rga2 compile error on 64 bit platform

Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com>
9 years agofix rga2 compile error
Shengqin.Zhang [Wed, 10 Jun 2015 08:38:03 +0000 (16:38 +0800)]
fix rga2 compile error

Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com>
9 years agoarm64: dts: rk3368-tb_8846.dts: modify rk818 battery node
Jianhong Chen [Tue, 9 Jun 2015 12:44:18 +0000 (20:44 +0800)]
arm64: dts: rk3368-tb_8846.dts: modify rk818 battery node

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork3x: rmic: rk818: fix the code build warning in rk3288.
zhangqing [Tue, 9 Jun 2015 14:31:06 +0000 (07:31 -0700)]
rk3x: rmic: rk818: fix the code build warning in rk3288.

Signed-off-by: chenjianhong <cjh@rock-chips.com>
9 years agoVPU: fix the code cannot be built in 32bits environment.
Alpha Lin [Tue, 9 Jun 2015 02:58:57 +0000 (10:58 +0800)]
VPU: fix the code cannot be built in 32bits environment.

compat_uptr_t isn't define under 32bits environment, using
this definition under the CONFIG_COMPAT macro.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agovideo: rockchip: rk312x lcdc: fix set standby err if not support uboot display
Wenlong Zhuang [Tue, 9 Jun 2015 01:25:53 +0000 (09:25 +0800)]
video: rockchip: rk312x lcdc: fix set standby err if not support uboot display

Signed-off-by: Wenlong Zhuang <daisen.zhuang@rock-chips.com>
9 years agousb: ehci: rename hsic and HSIC to ehci1 and EHCI1
Wu Liang feng [Mon, 8 Jun 2015 14:23:26 +0000 (22:23 +0800)]
usb: ehci: rename hsic and HSIC to ehci1 and EHCI1

Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
9 years agork3x: pmic: rk818: support low battery detect,and slove otg error.
zhangqing [Mon, 8 Jun 2015 17:30:41 +0000 (10:30 -0700)]
rk3x: pmic: rk818: support low battery detect,and slove otg error.

Add function:
1)battery voltage low then 3.0V not allow to power on.
2)battery voltage low then 3.4V have irq to wakeup from deep sleep.
3)disable otg_en when rk818 shutdown..

Signed-off-by: zhangqing <zhangqing@rock-chips.com>
9 years agohdmi: v2: update phy register value to improve output signal.
Zheng Yang [Mon, 8 Jun 2015 08:40:18 +0000 (16:40 +0800)]
hdmi: v2: update phy register value to improve output signal.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agohdmi: edid: distinguish deep color mode between YCbCr444 and YCbCr420.
Zheng Yang [Mon, 8 Jun 2015 08:36:18 +0000 (16:36 +0800)]
hdmi: edid: distinguish deep color mode between YCbCr444 and YCbCr420.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agork3368 camera: hold vio0 noc clock during the camera work, fixed isp iommu stall...
CMY [Thu, 28 May 2015 03:40:32 +0000 (11:40 +0800)]
rk3368 camera: hold vio0 noc clock during the camera work, fixed isp iommu stall failed

<6>[  142.697985] Enable stall request failed, MMU status is 0x00000011
<6>[  142.698006] rk_iommu ff914000.isp_mmu: (isp_mmu), rockchip_iommu_disable failed

Signed-off-by: CMY <cmy@rock-chips.com>
Tested-by: GY <gy@rock-chips.com>
9 years agopower: rk81x-battery: check sec base by rsoc trend anyway
Jianhong Chen [Sat, 6 Jun 2015 05:42:45 +0000 (13:42 +0800)]
power: rk81x-battery: check sec base by rsoc trend anyway

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agopower: rk81x-battery: update verison to 4.0.0
chenjh [Tue, 12 May 2015 09:22:33 +0000 (17:22 +0800)]
power: rk81x-battery: update verison to 4.0.0

this verison can support both ARM and SOFIA platform.

Signed-off-by: chenjh <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agoarm64: dts: rk3368-p9_818:modify battery node
chenjh [Tue, 12 May 2015 09:18:10 +0000 (17:18 +0800)]
arm64: dts: rk3368-p9_818:modify battery node

Signed-off-by: chenjh <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agovop: rk3288: update dither config for 10bit output mode
hjc [Fri, 5 Jun 2015 07:03:05 +0000 (15:03 +0800)]
vop: rk3288: update dither config for 10bit output mode

example for 10bit dual lvds output:
timing0 {
screen-type = <SCREEN_DUAL_LVDS>;
out-face    = <OUT_P101010>;
color-mode  = <COLOR_RGB>;
...
}

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork3368 vop: cabc lut update only when cabc enable
hjc [Thu, 4 Jun 2015 09:20:47 +0000 (17:20 +0800)]
rk3368 vop: cabc lut update only when cabc enable

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agohdmi:edid: improve edid check redundancy.
Zheng Yang [Fri, 5 Jun 2015 06:20:31 +0000 (14:20 +0800)]
hdmi:edid: improve edid check redundancy.

If edid first block header check or checksum is error,
but data[126] value is smaller than 4, we think it is
accecptable, return suscess.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agoVPU: add cru reset if vpu hardware hang or vpu report
Alpha Lin [Thu, 4 Jun 2015 09:36:18 +0000 (17:36 +0800)]
VPU: add cru reset if vpu hardware hang or vpu report
error.

It depend on pmu driver. and require pmu to complete
its idle request function.

temporary, it haven't enable yet, because rk3368 pmu
function had not completed.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agoVPU: add a hardware error check in interrupt handle.
Alpha Lin [Thu, 4 Jun 2015 09:31:22 +0000 (17:31 +0800)]
VPU: add a hardware error check in interrupt handle.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agoVPU: use debugfs_remove_recursive to recursive remove
Alpha Lin [Thu, 4 Jun 2015 09:24:59 +0000 (17:24 +0800)]
VPU: use debugfs_remove_recursive to recursive remove
debugfs node.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agoVPU: abondon old time consume log print, used new time record
Alpha Lin [Thu, 4 Jun 2015 09:02:08 +0000 (17:02 +0800)]
VPU: abondon old time consume log print, used new time record
interface to calculate and print time logs.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agoVPU: add debug log classification output method.
Alpha Lin [Thu, 4 Jun 2015 08:51:06 +0000 (16:51 +0800)]
VPU: add debug log classification output method.

Use /sys/module/vcodec_service/parameters/debug to
control log output, each bit represent a type of debug
information.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agoVPU: support compatible vpu request from userspace.
Alpha Lin [Thu, 4 Jun 2015 07:15:01 +0000 (15:15 +0800)]
VPU: support compatible vpu request from userspace.

This revision need rk3368 android library libvpu to
revert it VPUReq_t definition, Revert RK_U64 req;
to RK_U32 *req;

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agork1000: shorter reset delay time.
Zheng Yang [Thu, 4 Jun 2015 08:10:44 +0000 (16:10 +0800)]
rk1000: shorter reset delay time.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agork1000: fix create sysfs file permission error.
Zheng Yang [Thu, 4 Jun 2015 07:35:35 +0000 (15:35 +0800)]
rk1000: fix create sysfs file permission error.

Wrong permission will case following warning:

------------[ cut here ]------------
WARNING: at drivers/base/core.c:576 device_create_file+0x74/0xa4()
Attribute rkcontrl: write permission without 'store'
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0 #247
Call trace:
[<ffffffc000087dc0>] dump_backtrace+0x0/0x10c
[<ffffffc000087edc>] show_stack+0x10/0x1c
[<ffffffc00087c0e4>] dump_stack+0x1c/0x28
[<ffffffc0000a1b08>] warn_slowpath_common+0x74/0x9c
[<ffffffc0000a1b7c>] warn_slowpath_fmt+0x4c/0x58
[<ffffffc00036cfec>] device_create_file+0x70/0xa4
[<ffffffc000399fc4>] rk1000_probe+0x1d0/0x20c
[<ffffffc00058b190>] i2c_device_probe+0x9c/0xd4
[<ffffffc000370e70>] driver_probe_device+0xd0/0x210
[<ffffffc00037105c>] __driver_attach+0x60/0x90
[<ffffffc00036f394>] bus_for_each_dev+0x60/0x88
[<ffffffc00037096c>] driver_attach+0x1c/0x28
[<ffffffc000370540>] bus_add_driver+0xf4/0x210
[<ffffffc000371698>] driver_register+0xbc/0x138
[<ffffffc00058b054>] i2c_register_driver+0x48/0xac
[<ffffffc000bf2934>] rk1000_init+0x14/0x20
[<ffffffc000081554>] do_one_initcall+0x80/0x120
[<ffffffc000bdb8f0>] kernel_init_freeable+0x148/0x1e8
[<ffffffc000876a10>] kernel_init+0x10/0xcc
---[ end trace 1cc1e45d37744cff ]---

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agork1000: fix rk1000-core.c code style.
Zheng Yang [Thu, 4 Jun 2015 07:15:20 +0000 (15:15 +0800)]
rk1000: fix rk1000-core.c code style.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
9 years agoarm64: rockchip: rockchip_defconfig enable PRINTK_PROCESS
Huang, Tao [Tue, 2 Jun 2015 11:11:02 +0000 (19:11 +0800)]
arm64: rockchip: rockchip_defconfig enable PRINTK_PROCESS

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoadd support show process information on printks
Huang, Tao [Tue, 2 Jun 2015 11:09:35 +0000 (19:09 +0800)]
add support show process information on printks

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork fb: if win close we have to set 4 area state to 0, otherwise will lead to pagefault
hjc [Wed, 3 Jun 2015 03:38:39 +0000 (11:38 +0800)]
rk fb: if win close we have to set 4 area state to 0, otherwise will lead to pagefault

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork fb: 2 pixel align for interlace and xact offset
hjc [Mon, 1 Jun 2015 10:26:02 +0000 (18:26 +0800)]
rk fb: 2 pixel align for interlace and xact offset

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork3368 lcdc: in interlace mode & resolutation is p to i scale, disable vscale done...
hjc [Mon, 1 Jun 2015 10:13:58 +0000 (18:13 +0800)]
rk3368 lcdc: in interlace mode & resolutation is p to i scale, disable vscale done and enable gt2

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agorfkill-wlan.c: solve mac addr all zero error, cause can't connect ap problem
hwg [Wed, 3 Jun 2015 01:28:46 +0000 (09:28 +0800)]
rfkill-wlan.c: solve mac addr all zero error, cause can't connect ap problem

9 years agoarm64: rockchip: rockchip_defconfig sync with samsung product
Huang, Tao [Tue, 2 Jun 2015 10:23:41 +0000 (18:23 +0800)]
arm64: rockchip: rockchip_defconfig sync with samsung product

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork: RK_CONSOLE_THREAD no depends on FIQ_DEBUGGER_CONSOLE
Huang, Tao [Tue, 2 Jun 2015 08:58:26 +0000 (16:58 +0800)]
rk: RK_CONSOLE_THREAD no depends on FIQ_DEBUGGER_CONSOLE

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoRK3368 GPU version: Rogue L 0.17
zxl [Tue, 2 Jun 2015 08:07:27 +0000 (16:07 +0800)]
RK3368 GPU version: Rogue L 0.17
1. Support gpu disable dvfs case.
2. Add rk_tf_check_version to compatible for rk3328.
3. merge 1.4_ED3573678 DDK code.
   Tip: Need update RK3368 GPU so version to L0.17(@vendor/rockchip/common).

9 years agork: gcc-wrapper.py fix psci ignore
Huang, Tao [Tue, 2 Jun 2015 06:26:58 +0000 (14:26 +0800)]
rk: gcc-wrapper.py fix psci ignore

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoMerge branch android-common-3.10
Huang, Tao [Tue, 2 Jun 2015 03:25:51 +0000 (11:25 +0800)]
Merge branch android-common-3.10

9 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

9 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.

9 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>
9 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

9 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

9 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>