firefly-linux-kernel-4.4.55.git
9 years agommc: workaround DDR mmc devices internal divider bug
lintao [Thu, 11 Sep 2014 07:02:16 +0000 (15:02 +0800)]
mmc: workaround  DDR mmc devices internal divider bug

Signed-off-by: lintao <lintao@rock-chips.com>
9 years agork312x:pmic:rt5036:support pmic rt5036 drivers
张晴 [Thu, 11 Sep 2014 06:28:23 +0000 (14:28 +0800)]
rk312x:pmic:rt5036:support pmic rt5036 drivers

9 years agork312x lcdc:
hjc [Thu, 11 Sep 2014 03:31:04 +0000 (11:31 +0800)]
rk312x lcdc:
VOP not support pre-alpha when overlay at YUV domain,
so we set VOP overlay at RGB domain.
If open BCSH and output_color is RGB,must open R2Y&Y2R,
if output_color is YUV,must open R2Y.

9 years agork3036 hdmid: add support yuv2rgb,rgb2yuv CSC mode
hjc [Thu, 11 Sep 2014 03:30:47 +0000 (11:30 +0800)]
rk3036 hdmid: add support yuv2rgb,rgb2yuv CSC mode

9 years agork fb:add ioctl for hwc addr
hjc [Wed, 10 Sep 2014 02:55:11 +0000 (10:55 +0800)]
rk fb:add ioctl for hwc addr

9 years agork312x: set suspend voltage(arm and logic) 1050mV
许盛飞 [Thu, 11 Sep 2014 03:26:10 +0000 (11:26 +0800)]
rk312x: set suspend voltage(arm and logic) 1050mV

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agoAudio:
sugar [Thu, 11 Sep 2014 03:08:16 +0000 (11:08 +0800)]
Audio:

- update spdif driver.
- add spdif card, default disabled.

9 years agork3288/rk312x:lcdc: fix iommu status error when reopen lcdc
zwl [Thu, 11 Sep 2014 00:50:38 +0000 (08:50 +0800)]
rk3288/rk312x:lcdc: fix iommu status error when reopen lcdc

9 years agork fb: add support hdmi lcdc iommu when disp mode is DUAL for the horizontal screen
zwl [Wed, 10 Sep 2014 13:04:07 +0000 (21:04 +0800)]
rk fb: add support hdmi lcdc iommu when disp mode is DUAL for the horizontal screen

9 years agoRK3036 DDR: support ddr selfrefresh when system suspend
typ [Wed, 10 Sep 2014 11:02:17 +0000 (19:02 +0800)]
RK3036 DDR: support ddr selfrefresh when system suspend

9 years agork3036: dpll, sram and ddr self refresh
wdc [Wed, 10 Sep 2014 10:08:33 +0000 (18:08 +0800)]
rk3036: dpll, sram and ddr self refresh

9 years agork312x : delay some time when sensor resolution is changed for gc2035.
zyc [Wed, 10 Sep 2014 09:27:55 +0000 (17:27 +0800)]
rk312x : delay some time when sensor resolution is changed for gc2035.

9 years agommc: continue 5dce427f179ea
lintao [Wed, 10 Sep 2014 08:24:21 +0000 (16:24 +0800)]
mmc: continue 5dce427f179ea

9 years agommc: fix spinlock bf in irq env
lintao [Wed, 10 Sep 2014 07:21:15 +0000 (15:21 +0800)]
mmc: fix spinlock bf in irq env

9 years agork312x: cpu_subsys add cpu_type&&soc_type attr
陈亮 [Wed, 10 Sep 2014 02:39:52 +0000 (19:39 -0700)]
rk312x: cpu_subsys add cpu_type&&soc_type attr

Signed-off-by: 陈亮 <cl@rock-chips.com>
9 years agork3036 hdmi: hdmi csc yuv2rgb test ok
hjc [Tue, 9 Sep 2014 09:10:13 +0000 (17:10 +0800)]
rk3036 hdmi: hdmi csc yuv2rgb test ok

9 years agork3036 hdmi: add hdmi csc auto mode and user define mode
hjc [Fri, 5 Sep 2014 06:19:12 +0000 (14:19 +0800)]
rk3036 hdmi: add hdmi csc auto mode and user define mode

9 years agork3036 hdmi: change hdmi module_init
hjc [Tue, 9 Sep 2014 10:49:58 +0000 (18:49 +0800)]
rk3036 hdmi: change hdmi module_init

9 years agommc: guarantee atomic access INTMASK register for sdio_irq_thread
lintao [Tue, 9 Sep 2014 09:38:40 +0000 (17:38 +0800)]
mmc: guarantee  atomic access INTMASK register for sdio_irq_thread

9 years agork312x: print Boot mode
陈亮 [Tue, 9 Sep 2014 08:00:28 +0000 (01:00 -0700)]
rk312x: print Boot mode

Signed-off-by: 陈亮 <cl@rock-chips.com>
9 years agommc: fix resume kpanic if no dms been allocated when init
lintao [Tue, 9 Sep 2014 06:44:19 +0000 (14:44 +0800)]
mmc: fix resume kpanic if no dms been allocated when init

9 years agork3036/rk312x lcdc: fix reg store size error.
Zheng Yang [Tue, 9 Sep 2014 02:58:19 +0000 (10:58 +0800)]
rk3036/rk312x lcdc: fix reg store size error.

9 years agommc: fix wrong physical partition definition
lintao [Tue, 9 Sep 2014 02:23:35 +0000 (10:23 +0800)]
mmc: fix wrong physical partition definition
eMMC card can support up to 7 partitions, including 2 boot,
1 RPMB and 4 GPs. But MMC_NUM_PHY_PARTITION is defined to
6 so we should fix it to 7.

9 years agommc: fix eco setting for uhs tune
lintao [Fri, 5 Sep 2014 08:41:07 +0000 (16:41 +0800)]
mmc: fix eco setting for uhs tune

9 years agommc: fix dms descriptor realloc bug when resume from deep idle
lintao [Fri, 5 Sep 2014 08:14:25 +0000 (16:14 +0800)]
mmc: fix dms descriptor realloc bug when resume from deep idle

9 years agork3128 : add rk3128-box-rk88.dts
hjh [Fri, 5 Sep 2014 07:48:04 +0000 (15:48 +0800)]
rk3128 : add rk3128-box-rk88.dts

9 years agork3036-codec : modified the debug print logic
Sun Mingjun [Fri, 5 Sep 2014 06:48:04 +0000 (14:48 +0800)]
rk3036-codec : modified the debug print logic

9 years agork312x-codec : Closed the debug print switch
Sun Mingjun [Fri, 5 Sep 2014 06:13:35 +0000 (14:13 +0800)]
rk312x-codec : Closed the debug print switch

9 years agork312x-lcdc: update line number irq settting according to new lcdc timing.
Zheng Yang [Fri, 5 Sep 2014 05:52:40 +0000 (13:52 +0800)]
rk312x-lcdc: update line number irq settting according to new lcdc timing.

9 years agoUSB: fix usb mass storage umonut err.
wlf [Thu, 4 Sep 2014 11:39:59 +0000 (19:39 +0800)]
USB: fix usb mass storage umonut err.

9 years agork312x:lcdc: add set_irq_to_cpu interface
zwl [Thu, 4 Sep 2014 11:20:34 +0000 (19:20 +0800)]
rk312x:lcdc: add set_irq_to_cpu interface

9 years agork312x : cif : cif driver v0.0x1.5
zyc [Thu, 4 Sep 2014 09:34:39 +0000 (17:34 +0800)]
rk312x : cif : cif driver v0.0x1.5

9 years agommc: Support tSD or SD booting OS.
lintao [Thu, 4 Sep 2014 08:05:28 +0000 (16:05 +0800)]
mmc: Support tSD or SD booting OS.
In case of tSD board or SD booting project, BSP engineers could
only add "supports-tSD" into emmc_of_node claim. Refer to arch/arm/boot/dts/rk3288-tb.dts

9 years agork3128: not gating pwm-clocks, in suspend
许盛飞 [Thu, 4 Sep 2014 08:00:26 +0000 (16:00 +0800)]
rk3128: not gating pwm-clocks, in suspend

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork312x:clk:modify the vio clk dependencies
张晴 [Thu, 4 Sep 2014 07:34:29 +0000 (15:34 +0800)]
rk312x:clk:modify the vio clk dependencies

9 years agork312x lcdc: fix resume crash
hjc [Thu, 4 Sep 2014 06:52:43 +0000 (14:52 +0800)]
rk312x lcdc: fix resume crash

9 years agork3036 hdmi: when vop output yuv and hdmi output rgb,open hdmi CSC func
hjc [Thu, 4 Sep 2014 03:51:41 +0000 (11:51 +0800)]
rk3036 hdmi: when vop output yuv and hdmi output rgb,open hdmi CSC func

9 years agork312x:clk:fixed frequency div for aclk_core and pclk_dbg
张晴 [Thu, 4 Sep 2014 06:47:06 +0000 (14:47 +0800)]
rk312x:clk:fixed frequency div for aclk_core and pclk_dbg

9 years agork3126-sdk: update core dvfs table
陈亮 [Thu, 4 Sep 2014 06:35:11 +0000 (23:35 -0700)]
rk3126-sdk: update core dvfs table

Signed-off-by: 陈亮 <cl@rock-chips.com>
9 years agork fb: fix get prmry screen trsm_ops function failed
zwl [Thu, 4 Sep 2014 06:14:07 +0000 (14:14 +0800)]
rk fb: fix get prmry screen trsm_ops function failed

9 years agoethernet:gmac: read MAC from NAND IDB first
roger [Thu, 4 Sep 2014 05:57:10 +0000 (13:57 +0800)]
ethernet:gmac: read MAC from NAND IDB first

9 years agoMerge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
roger [Thu, 4 Sep 2014 05:42:36 +0000 (13:42 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10

9 years agommc: remove unused muti calc
lintao [Thu, 4 Sep 2014 03:46:43 +0000 (11:46 +0800)]
mmc: remove unused muti calc

9 years agork: ion: shrink memory more positive
CMY [Thu, 4 Sep 2014 03:39:36 +0000 (11:39 +0800)]
rk: ion: shrink memory more positive

9 years agoethernet:gmac: pull low reset pin when suspend for saving power consumption
roger [Thu, 4 Sep 2014 03:40:41 +0000 (11:40 +0800)]
ethernet:gmac: pull low reset pin when suspend for saving power consumption

9 years agoMerge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
roger [Thu, 4 Sep 2014 03:27:07 +0000 (11:27 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10

9 years agoethernet:gmac: add aclk_mac in dts for rk312x
roger [Thu, 4 Sep 2014 03:27:02 +0000 (11:27 +0800)]
ethernet:gmac: add aclk_mac in dts for rk312x

9 years agorockchip:hdmi: modify the screen to remove when hdmi remove
zwl [Thu, 4 Sep 2014 01:25:24 +0000 (09:25 +0800)]
rockchip:hdmi: modify the screen to remove when hdmi remove

9 years agork312x lcdc: fix compile error
hjc [Thu, 4 Sep 2014 00:48:25 +0000 (08:48 +0800)]
rk312x lcdc: fix compile error

9 years agork fb: fix hdmi disp err when dts iommu is disable if disp mode is DUAL
zwl [Wed, 3 Sep 2014 14:09:00 +0000 (22:09 +0800)]
rk fb: fix hdmi disp err when dts iommu is disable if disp mode is DUAL

9 years agoUSB: fix usb ep0 OUT setup bug.
wlf [Wed, 3 Sep 2014 12:00:50 +0000 (20:00 +0800)]
USB: fix usb ep0 OUT setup bug.

In ep0_complete_request, do setup in status phase
in DMA mode for ep0-OUT. It can solve that usb RNDIS
unable to connect with win7 or win8.

9 years agork312x lcdc: add support hwc layer
hjc [Wed, 3 Sep 2014 10:15:13 +0000 (18:15 +0800)]
rk312x lcdc: add support hwc layer

9 years agork3288 lcdc: add dsp_lut adjust support
yxj [Wed, 3 Sep 2014 10:10:30 +0000 (18:10 +0800)]
rk3288 lcdc: add dsp_lut adjust support

9 years ago add vga support on rockchip platform
yxj [Mon, 18 Aug 2014 12:12:35 +0000 (20:12 +0800)]
 add vga support on rockchip platform

9 years agork312x : cif : cif driver v0.0x1.4
zyc [Wed, 3 Sep 2014 10:01:48 +0000 (18:01 +0800)]
rk312x : cif : cif driver v0.0x1.4

9 years agork312x : cif : cif driver v0.0x1.3
zyc [Wed, 3 Sep 2014 02:58:58 +0000 (10:58 +0800)]
rk312x : cif : cif driver v0.0x1.3

9 years agoMerge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
wdc [Wed, 3 Sep 2014 01:23:39 +0000 (09:23 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10

9 years agork3036: fix wifi type error
wdc [Wed, 3 Sep 2014 01:21:24 +0000 (09:21 +0800)]
rk3036: fix wifi type error

9 years agork312x: usb power optimize by turning off differential receiver in suspend mode
lyz [Tue, 2 Sep 2014 12:34:28 +0000 (20:34 +0800)]
rk312x: usb power optimize by turning off differential receiver in suspend mode

9 years agopwm: to solve the bug :
许盛飞 [Tue, 2 Sep 2014 11:51:09 +0000 (19:51 +0800)]
pwm: to solve the bug :
[10:33:29:984]<4>[  127.237239] [<c07b5200>] (__mutex_lock_slowpath+0x1c0/0x22c) from [<c07b529c>] (mutex_lock+0x30/0x48)
[10:33:30:000]<4>[  127.237255] [<c07b529c>] (mutex_lock+0x30/0x48) from [<c057d32c>] (clk_prepare_lock+0x48/0xe0)
[10:33:30:015]<4>[  127.237269] [<c057d32c>] (clk_prepare_lock+0x48/0xe0) from [<c057eea4>] (clk_prepare+0xc/0x24)
[10:33:30:031]<4>[  127.237285] [<c057eea4>] (clk_prepare+0xc/0x24) from [<c0282df8>] (rk_pwm_config+0x20/0x74)
[10:33:30:031]<4>[  127.237300] [<c0282df8>] (rk_pwm_config+0x20/0x74) from [<c0281904>] (pwm_config+0x54/0x60)
[10:33:30:031]<4>[  127.237317] [<c0281904>] (pwm_config+0x54/0x60) from [<c02c0528>] (pwm_regulator_set_voltage+0xd0/0xf4)

9 years agofix rga_plus rgb2yuv reg error
zsq [Tue, 2 Sep 2014 10:04:16 +0000 (18:04 +0800)]
fix rga_plus rgb2yuv reg error

9 years agoaudio: rk3036 codec: add init codec sample clock
hjc [Tue, 2 Sep 2014 09:48:46 +0000 (17:48 +0800)]
audio: rk3036 codec: add init codec sample clock

9 years agoaudio: rk3036 codec:
hjc [Tue, 2 Sep 2014 07:48:42 +0000 (15:48 +0800)]
audio: rk3036 codec:
add rk3036 sound card unfinished function, If not,it not to
set I2S clk and div,and lead to no sound on some TV.

9 years agork312x: not gating gpios clock
许盛飞 [Tue, 2 Sep 2014 07:07:26 +0000 (15:07 +0800)]
rk312x: not gating gpios clock

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork3036/rk3128 tve: use module_init.
Zheng Yang [Tue, 2 Sep 2014 06:56:20 +0000 (14:56 +0800)]
rk3036/rk3128 tve: use module_init.

9 years agork312x:clk:support clk_gpu parent can select clk_cpll
张晴 [Tue, 2 Sep 2014 06:11:51 +0000 (14:11 +0800)]
rk312x:clk:support clk_gpu parent can select clk_cpll

9 years agork312x : cif : cif driver v0.0x1.2
zyc [Tue, 2 Sep 2014 03:59:50 +0000 (11:59 +0800)]
rk312x : cif : cif driver v0.0x1.2

9 years agork312x : cif : cif driver v0.0x1.0
zyc [Tue, 2 Sep 2014 03:16:46 +0000 (11:16 +0800)]
rk312x : cif : cif driver v0.0x1.0

9 years agork312x : close i2s0 which not used
lxt [Tue, 2 Sep 2014 03:02:40 +0000 (11:02 +0800)]
rk312x : close i2s0 which not used

9 years agork312x:clk:enable aclk_vio1_niu when clock init
张晴 [Tue, 2 Sep 2014 01:44:26 +0000 (09:44 +0800)]
rk312x:clk:enable aclk_vio1_niu when clock init

9 years agork3128: add rk3128box suspend dts config
许盛飞 [Tue, 2 Sep 2014 00:39:48 +0000 (08:39 +0800)]
rk3128: add rk3128box suspend dts config

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork3126suspend: arm continuous power-supply in suspend
许盛飞 [Mon, 1 Sep 2014 13:39:10 +0000 (21:39 +0800)]
rk3126suspend: arm continuous power-supply in suspend

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agoARM: rockchip: rockchip_defconfig: enable ISO9660_FS and UDF_FS
黄涛 [Mon, 1 Sep 2014 13:11:13 +0000 (21:11 +0800)]
ARM: rockchip: rockchip_defconfig: enable ISO9660_FS and UDF_FS

9 years agork3128-box: arm->1.2g, gpu=480M.
li bing [Mon, 1 Sep 2014 11:57:51 +0000 (19:57 +0800)]
rk3128-box: arm->1.2g, gpu=480M.

9 years agork312x lcdc: win1 empty irq
hjc [Mon, 1 Sep 2014 11:38:15 +0000 (19:38 +0800)]
rk312x lcdc: win1 empty irq

9 years agork hdmi: add display_show_debug to fix warning
hjc [Mon, 1 Sep 2014 10:28:12 +0000 (18:28 +0800)]
rk hdmi: add display_show_debug to fix warning

9 years agork312x:rt5025:updata rt5025 drivers to 1.1.1_R
张晴 [Mon, 1 Sep 2014 08:41:07 +0000 (16:41 +0800)]
rk312x:rt5025:updata rt5025 drivers to 1.1.1_R

9 years agork312x:clk:enable hclk_crypto when clock init
张晴 [Mon, 1 Sep 2014 08:04:25 +0000 (16:04 +0800)]
rk312x:clk:enable hclk_crypto when clock init

9 years agommc: update rto for cmd to CMD_FUNC
lintao [Mon, 1 Sep 2014 04:07:01 +0000 (12:07 +0800)]
mmc: update rto for cmd to CMD_FUNC

9 years agork312x:pinctrl: remove unsupport drive prop at GPIO2 pins
zwl [Sat, 30 Aug 2014 09:52:32 +0000 (17:52 +0800)]
rk312x:pinctrl: remove unsupport drive prop at GPIO2 pins

9 years agork312x:dts: modify hdmi dt node status at different dts
zwl [Sat, 30 Aug 2014 08:42:05 +0000 (16:42 +0800)]
rk312x:dts: modify hdmi dt node status at different dts

9 years agork312x/rk3288:lcdc: add win empty irq debug
zwl [Sat, 30 Aug 2014 08:23:34 +0000 (16:23 +0800)]
rk312x/rk3288:lcdc: add win empty irq debug

9 years agofix rga driver mmu table malloc crash bug
zsq [Sat, 30 Aug 2014 01:14:42 +0000 (09:14 +0800)]
fix rga driver mmu table malloc crash bug

9 years agoARM: rockchip: rk3288 better support eFuse init
黄涛 [Fri, 29 Aug 2014 11:14:15 +0000 (19:14 +0800)]
ARM: rockchip: rk3288 better support eFuse init

9 years agoARM: rockchip: fix common.h checkpatch warning
黄涛 [Fri, 29 Aug 2014 11:06:40 +0000 (19:06 +0800)]
ARM: rockchip: fix common.h checkpatch warning

9 years agork312x:clk:not enable some clks when clock init
zhangqing [Fri, 29 Aug 2014 11:00:44 +0000 (19:00 +0800)]
rk312x:clk:not enable some clks when clock init

9 years agork3128-box.dts: only change ddr freq when suspend.
Zheng Yang [Fri, 29 Aug 2014 10:09:50 +0000 (18:09 +0800)]
rk3128-box.dts: only change ddr freq when suspend.

9 years agork312x dts: add set fb disp-mode prop
zwl [Fri, 29 Aug 2014 09:40:04 +0000 (17:40 +0800)]
rk312x dts: add set fb disp-mode prop

9 years agork312x lcdc: add get frame done time at rk312x_lcdc_isr function
zwl [Fri, 29 Aug 2014 09:25:29 +0000 (17:25 +0800)]
rk312x lcdc: add get frame done time at rk312x_lcdc_isr function

9 years agork3036 hdmi: add debug interface
hjc [Fri, 29 Aug 2014 08:54:27 +0000 (16:54 +0800)]
rk3036 hdmi: add debug interface

9 years agork: gpu: print more debug info for Android's memtrack
CMY [Fri, 29 Aug 2014 07:20:08 +0000 (15:20 +0800)]
rk: gpu: print more debug info for Android's memtrack

9 years agork3036 hdmi: fix audio abnormal when change video mode
hjc [Fri, 29 Aug 2014 06:17:55 +0000 (14:17 +0800)]
rk3036 hdmi: fix audio abnormal when change video mode

9 years agork312x tve: improve electrical characteristics: K factor、
Zheng Yang [Fri, 29 Aug 2014 06:31:38 +0000 (14:31 +0800)]
rk312x tve: improve electrical characteristics: K factor、
    luminance nonlinearity and multiburst.

9 years agofb: disable ion_unmap_iommu to improve iommu efficiency.
Zheng Yang [Fri, 29 Aug 2014 06:15:30 +0000 (14:15 +0800)]
fb: disable ion_unmap_iommu to improve iommu efficiency.

9 years agousb: fix host20 clk gate
lyz [Fri, 29 Aug 2014 03:00:46 +0000 (11:00 +0800)]
usb: fix host20 clk gate

9 years agork3036: gpio0 clk should be enable for voltage adjust
wdc [Thu, 28 Aug 2014 12:06:09 +0000 (20:06 +0800)]
rk3036: gpio0 clk should be enable for voltage adjust

9 years agork3066: fix clk_sel10 register error
wdc [Thu, 28 Aug 2014 11:23:48 +0000 (19:23 +0800)]
rk3066: fix clk_sel10 register error
Signed-off-by: wdc <wdc@rock-chips.com>
9 years agork312x: vpu select vdpu clk by default
ljf [Thu, 28 Aug 2014 08:46:01 +0000 (16:46 +0800)]
rk312x: vpu select vdpu clk by default

9 years agork312x: disable unused clk
陈亮 [Thu, 28 Aug 2014 08:39:11 +0000 (01:39 -0700)]
rk312x: disable unused clk

Signed-off-by: 陈亮 <cl@rock-chips.com>
9 years agork3036/rk312x tve: revert to module_init.
Zheng Yang [Thu, 28 Aug 2014 08:13:18 +0000 (16:13 +0800)]
rk3036/rk312x tve: revert to module_init.