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>
dalon.zhang [Thu, 14 May 2015 03:11:44 +0000 (11:11 +0800)]
camsys_drv: v0.0x1f.0
Wenlong Zhuang [Wed, 13 May 2015 07:21:26 +0000 (15:21 +0800)]
video: rockchip: rk312x lcdc: Refine lcdc standby
add wait for lcdc hold valid when standby and add standby when
lcdc timing is changing at the moment of switch hdmi.
Signed-off-by: Wenlong Zhuang <daisen.zhuang@rockchips.com>
Zheng Yang [Tue, 12 May 2015 07:37:06 +0000 (15:37 +0800)]
HDMI:rk3128/rk3036:
1. For MID, remove interlace mode support and
set default mode to be enabled.
2. If HDMI is disabled, disable hotplug irq.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Mon, 11 May 2015 11:21:12 +0000 (19:21 +0800)]
HDMI:rk3288: fix pinctrl mode switch error.
For 3288, i25 pinctrl gpio mode name is "sleep",
not "gpio" any more.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
hjc [Sat, 9 May 2015 08:27:50 +0000 (16:27 +0800)]
rk3288 lcdc: delete unused message and update coding style
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Sat, 9 May 2015 07:48:22 +0000 (15:48 +0800)]
rk3288 lcdc: add overscan for extern screen
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Wed, 4 Mar 2015 07:25:26 +0000 (15:25 +0800)]
rk3368 lcdc: add support overscan
Signed-off-by: hjc <hjc@rock-chips.com>
Zheng Yang [Sat, 28 Mar 2015 05:40:07 +0000 (13:40 +0800)]
rk_fb: 1. Make sure fb_par->state lowest value is zero.
2. For box, video layer z-order is always zero.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
hjc [Mon, 30 Mar 2015 10:02:23 +0000 (18:02 +0800)]
rk fb: add consider vop full mutile area for vsync register check
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Wed, 6 May 2015 07:56:58 +0000 (15:56 +0800)]
rk fb: delay 200ms when extern display switch screen can fix mmu pagefault
hjc [Wed, 29 Apr 2015 06:39:18 +0000 (14:39 +0800)]
rk fb: kfree envp[1], if we not do real switch screen
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Wed, 29 Apr 2015 05:54:42 +0000 (13:54 +0800)]
rk fb: fix iommu page fault when in video test
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Sat, 18 Apr 2015 06:01:06 +0000 (14:01 +0800)]
rk fb: extend output mutex lock in win config
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Sat, 18 Apr 2015 05:46:43 +0000 (13:46 +0800)]
rk3368 lcdc: fix some hidden trouble maybe lead to abnormal when shutdown
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 16 Apr 2015 01:56:32 +0000 (09:56 +0800)]
rk fb: if lcdc is suspend ignore set par and display
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Wed, 15 Apr 2015 11:28:05 +0000 (19:28 +0800)]
rk fb: add fb disp policy for excessive stage
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Wed, 15 Apr 2015 09:56:02 +0000 (17:56 +0800)]
rk fb: add mutex lock for switch screen to prevent
hdmi and cvbs call this function at the same
time.
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Tue, 14 Apr 2015 07:42:26 +0000 (15:42 +0800)]
rk fb: add switch enable status when send uevent
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Mon, 13 Apr 2015 07:54:02 +0000 (15:54 +0800)]
rk fb: update message info when page fault
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Mon, 13 Apr 2015 03:54:36 +0000 (11:54 +0800)]
rk fb: send uevent when change video mode
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Mon, 13 Apr 2015 03:13:32 +0000 (11:13 +0800)]
rk fb: do something when user set invalid config
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Mon, 13 Apr 2015 01:39:50 +0000 (09:39 +0800)]
rk fb: set retire fence fd to -1 when ignore this frame
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 9 Apr 2015 10:06:02 +0000 (18:06 +0800)]
rk fb: when unplug hdmi,post fb to display
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 9 Apr 2015 03:31:27 +0000 (11:31 +0800)]
rk fb: ignore frame when in hdmi switch or set error config
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 9 Apr 2015 09:37:15 +0000 (17:37 +0800)]
rk fb: hdmi 24hz frame time need 41ms
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 2 Apr 2015 11:11:02 +0000 (19:11 +0800)]
rk fb: from rk3368 fb only need to reserved 1 framebuffer
Signed-off-by: hjc <hjc@rock-chips.com>
许盛飞 [Thu, 7 May 2015 09:15:58 +0000 (17:15 +0800)]
pwm: enable pwm-frequrency less than 1K
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
Zheng Yang [Wed, 6 May 2015 09:15:24 +0000 (17:15 +0800)]
HDMI: improve EDID parse.
1. For some sink device, there is no available video mode
in EDID. hdmi driver will crash under such case.
2. There are some video mode is not defined in EDID extend
block, so we need to check first block data.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Tue, 5 May 2015 10:25:21 +0000 (18:25 +0800)]
HDMI: rk3368/rk3288: If HDCP is enabled in uboot, do not set again.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Tue, 5 May 2015 10:08:27 +0000 (18:08 +0800)]
display-sys: fix code style
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Tue, 5 May 2015 09:56:57 +0000 (17:56 +0800)]
display-sys: list supported 3d format of all resolution.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Mon, 4 May 2015 08:26:33 +0000 (16:26 +0800)]
HDMI: 3288/3368: hdcp check firmware pointer.
If firmware is NULL, HDCP is disabled.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
zhangqing [Mon, 4 May 2015 02:10:31 +0000 (10:10 +0800)]
rk3288: clk: isp: set isp aclk and hclk from same source.
Because isp aclk and hclk from same source,
So vio aclk and hclk from same source.
Signed-off-by: zhangqing <zhangqing@rock-chips.com>
zhangqing [Mon, 4 May 2015 01:34:14 +0000 (09:34 +0800)]
rk3288: pmic: ricoh619: modify ricoh619_device_shutdown to syscore_shutdown.
ricoh619_device_shutdown is earlier than syscore_shutdown.
So PMIC use syscore_shutdown is safer.
Signed-off-by: zhangqing <zhangqing@rock-chips.com>
xxh [Wed, 22 Apr 2015 03:39:46 +0000 (11:39 +0800)]
8723BU BT driver V2.21
xxh [Wed, 22 Apr 2015 00:52:02 +0000 (08:52 +0800)]
update default config for esp8089 wifi.
xiaoyao [Mon, 20 Apr 2015 00:53:34 +0000 (08:53 +0800)]
mmc: rk_sdmmc: delete rk3126b burst_limit
tested-by: xiaoyao <xiaoyao@rock-chips.com>
Reviewed-by: lintao <lintao@rock-chips.com>
Signed-off-by: xiaoyao <xiaoyao@rock-chips.com>
hwg [Mon, 20 Apr 2015 08:17:57 +0000 (16:17 +0800)]
wifi: support random mac address and save to file, solve compile warning
hwg [Mon, 20 Apr 2015 08:09:08 +0000 (16:09 +0800)]
wifi: support random mac address and save to file
hwg [Mon, 20 Apr 2015 08:07:18 +0000 (16:07 +0800)]
wifi driver: rtl8723bs, rtl8723bs-vq0, rtl8723bu, rtl8812au, modify custom mac addr error problem
hwg [Wed, 15 Apr 2015 01:35:46 +0000 (09:35 +0800)]
bcmdhd wifi driver: support custom mac address
hwg [Mon, 13 Apr 2015 00:37:27 +0000 (08:37 +0800)]
bcmdhd wifi driver: use kthread to run dhd_module_init, save time in initcall
Zheng Yang [Sat, 11 Apr 2015 09:14:07 +0000 (17:14 +0800)]
HDMI: calling rk_fb_switch_screen() to close vop related to HDMI
before calling switch_set_state() when HDMI is removed.
For android hwcompser need to make sure vop is disabled when
received hdmi removing event.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
lyz [Fri, 10 Apr 2015 03:44:49 +0000 (11:44 +0800)]
rk3036: usb: add support of wakeup by GRF linestate change
Zheng Yang [Thu, 9 Apr 2015 10:01:51 +0000 (18:01 +0800)]
HDMI: call function hdmi->ops->disable() if it is disabled.
For system can not be wakeup under following case:
step1. Disable HDMI.
step2. set system to deep sleep mode.
step3. remove HDMI connection.
step4. wake up system.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Thu, 2 Apr 2015 08:56:40 +0000 (16:56 +0800)]
HDMI: improve cec function:
1. To get logic address more stable, we ping 3 times to each
logic address. If the result is NACK for two times, this
logic address is not occupied.
2. If transmmit cec data failed, retry immediately.
4. set CECOP_IMAGE_VIEW_ON only taget to TV, not broadcasting.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Thu, 2 Apr 2015 08:49:50 +0000 (16:49 +0800)]
HDMI: fix edid mode list error: set head->prev to edid->modelist.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
hwg [Wed, 1 Apr 2015 13:22:35 +0000 (21:22 +0800)]
modify wifi: load driver when kernel bootup:
can increase speed of wifi open/close
can solve memory alloc fail when open wifi
Mark Yao [Wed, 1 Apr 2015 06:11:43 +0000 (14:11 +0800)]
rockchip: rk312x: vop: fix iommu crash when resume
Maybe win is enabled and H/W address is not a vaild
iommu mapped addr, So we need delay to ensure H/W
switch done before enable iommu.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Mark Yao [Wed, 1 Apr 2015 01:54:02 +0000 (09:54 +0800)]
video: rockchip: update display buffer dump
Create a new sys node "/sys/class/graphics/fb0/dump_buf" to dump
display buffer.
Now can support trace multi frames and kernel logo dump.
More info see by "cat /sys/class/graphics/fb0/dump_buf"
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
hwg [Tue, 31 Mar 2015 09:45:55 +0000 (17:45 +0800)]
rtl8723bs rtl8723bu wifi: disable debug log
hjc [Mon, 30 Mar 2015 10:18:44 +0000 (18:18 +0800)]
Revert "rk fb: add consider vop full mutile area for vsync register check"
This reverts commit
e9f19a9255823d502c59f6a65c0643baeb070649.
hjc [Mon, 30 Mar 2015 10:02:23 +0000 (18:02 +0800)]
rk fb: add consider vop full mutile area for vsync register check
Signed-off-by: hjc <hjc@rock-chips.com>
Zheng Yang [Thu, 26 Mar 2015 08:18:38 +0000 (16:18 +0800)]
HDMI: rockchip-hdmiv2:
Set i2c5_hdmi to gpio mode when suspend and reset
it to hdmi ddc mode when system resume.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Zheng Yang [Thu, 26 Mar 2015 06:40:32 +0000 (14:40 +0800)]
HDMI: add dts node "rockchip,defaultmode" to define HDMI default output mode.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Mark Yao [Thu, 26 Mar 2015 06:26:24 +0000 (14:26 +0800)]
hjc already fix this problem, so
Revert "rk_fb: fix kernel logo display"
This reverts commit
959b2148aedecebb9d41c9faae48a9235f2941c1.
fixed by:
commit
ad5ae9748644e16522b034a9a3ec5818cc10ec48
Author: hjc <hjc@rock-chips.com>
Date: Thu Feb 26 18:27:40 2015 +0800
rk fb: if uboot-logo-on set 1, open iommu when iommu en
Mark Yao [Thu, 26 Mar 2015 06:15:21 +0000 (14:15 +0800)]
rk_fb: fix kernel logo display
If we use origin kernel logo config, default path would not enable
iommu, we maybe get a black display.
so just enable iommu when we do fb_pan_display.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
xubilv [Wed, 25 Mar 2015 09:51:07 +0000 (17:51 +0800)]
mipi: correct coding style error of rk32_mipi_dsi.c
Signed-off-by: xubilv <xbl@rock-chips.com>
Zheng Yang [Wed, 25 Mar 2015 10:46:56 +0000 (18:46 +0800)]
HDMI: fix feature SUPPORT_TMDS_600M filter error.
For some sink device, it's max tmdsclk is only 300M, but
it support 4K YUV420 mode, so it can be filted by feature
SUPPORT_TMDS_600M under current code.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
xxh [Wed, 25 Mar 2015 04:19:16 +0000 (12:19 +0800)]
update 8723bu wifi driver
1.Improve_P2P_compatibility for Android L
2.Fix_HiddenAP_handle
3.P2P ScanSparse For Miracas
hjc [Mon, 23 Mar 2015 08:29:34 +0000 (16:29 +0800)]
rk fb: add lut for CABC
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Mon, 23 Mar 2015 08:08:43 +0000 (16:08 +0800)]
rk fb: only use iommu need to check config
Signed-off-by: hjc <hjc@rock-chips.com>
Huibin Hong [Mon, 23 Mar 2015 09:11:09 +0000 (17:11 +0800)]
DMA: pl330: add chan_status to mutex between pl330_tasklet and pl330_control DMA_TERMINATE_ALL
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
dalon.zhang [Mon, 23 Mar 2015 08:43:14 +0000 (16:43 +0800)]
camsys_drv: v0.0x1e.0
hjc [Mon, 23 Mar 2015 07:20:27 +0000 (15:20 +0800)]
rk fb: box product not need to load screen when switch screen par enable is zero
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Tue, 16 Dec 2014 02:00:55 +0000 (10:00 +0800)]
rk fb: fix open hdmi open backlight again in no dual mode
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Fri, 12 Dec 2014 07:01:28 +0000 (15:01 +0800)]
rk3368 lcdc: support win mirror and update NO_DUAL mode
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 25 Dec 2014 03:26:52 +0000 (11:26 +0800)]
rk fb: compatible when 32bit system call used on 64bit kernel
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Fri, 9 Jan 2015 06:44:04 +0000 (14:44 +0800)]
rk3368 lcdc: add CABC mode config
Signed-off-by: hjc <hjc@rock-chips.com>
hwg [Mon, 23 Mar 2015 06:53:04 +0000 (14:53 +0800)]
revert drivers/hid/uhid.c of commit
522c0bb37a66e65b704a4bd0f1bee7fec526dd32
solve uhid Bad address error in 64bit cpu
hjc [Mon, 9 Mar 2015 10:09:37 +0000 (18:09 +0800)]
rk fb: if not want the config effect,set reserved[3] bit[0] 1
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Thu, 26 Feb 2015 10:27:40 +0000 (18:27 +0800)]
rk fb: if uboot-logo-on set 1, open iommu when iommu en
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Wed, 18 Mar 2015 08:26:49 +0000 (16:26 +0800)]
rk fb: update pixclock init value and scale mode only support ONE_DUAL mode
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Tue, 23 Dec 2014 06:26:48 +0000 (14:26 +0800)]
rk fb: add win mirror pos config
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Fri, 20 Mar 2015 02:53:50 +0000 (10:53 +0800)]
rk fb: add support phy address config
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Tue, 17 Mar 2015 06:31:01 +0000 (14:31 +0800)]
rk fb: compatible with 32 bit system
Signed-off-by: hjc <hjc@rock-chips.com>
Xiao Feng [Thu, 12 Mar 2015 11:56:11 +0000 (19:56 +0800)]
dvfs: add gpu temperate control
Signed-off-by: Xiao Feng <xf@rock-chips.com>
zsq [Thu, 19 Mar 2015 08:22:23 +0000 (16:22 +0800)]
fix rga timeout mmu buf free bug
dalon.zhang [Thu, 19 Mar 2015 08:17:47 +0000 (16:17 +0800)]
camsys_drv: v0.0x1d.0
hwg [Thu, 19 Mar 2015 00:51:22 +0000 (08:51 +0800)]
wifi: remove make modules configs
dalon.zhang [Wed, 18 Mar 2015 13:22:06 +0000 (21:22 +0800)]
camsys_head: v0.0xb.0
xiaoyao [Wed, 18 Mar 2015 03:43:16 +0000 (11:43 +0800)]
rk_sdmmc: recalculate audib rx_wmark
AudiB contain a less limitation in rx_wmark.
Signed-off-by: xiaoyao <xiaoyao@rock-chips.com>
Signed-off-by: lintao <lintao@rock-chips.com>
lyz [Tue, 17 Mar 2015 10:10:24 +0000 (18:10 +0800)]
usb: dwc_otg: enable clk and exit suspend when usb_core_reset
Avoid this warning message "WARN::dwc_otg_core_reset:5543:
dwc_otg_core_reset() HANG! AHB Idle GRSTCTL=
4000020"
lintao [Tue, 17 Mar 2015 08:49:37 +0000 (16:49 +0800)]
mmc: use ilog2 for fifoth calculation
Signed-off-by: lintao <lintao@rock-chips.com>
lintao [Sat, 7 Mar 2015 07:14:10 +0000 (15:14 +0800)]
dtsi: sdmmc: add card_detect for udbg
Signed-off-by: lintao <lintao@rock-chips.com>
hwg [Tue, 17 Mar 2015 03:43:32 +0000 (11:43 +0800)]
wifi: use buildin instand of ko for compatibility
huang zhibao [Tue, 17 Mar 2015 01:29:06 +0000 (09:29 +0800)]
dts: add work and power led in rk3128-box.dts
huang zhibao [Tue, 17 Mar 2015 01:18:32 +0000 (09:18 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
huang zhibao [Mon, 16 Mar 2015 09:39:19 +0000 (17:39 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
lyz [Mon, 16 Mar 2015 09:11:48 +0000 (17:11 +0800)]
usb: dwc_otg: fix bug in device_init routine
1.wait epenable bit timeout decrease from 10s to 1s
2.fix bug, without 'j++' this loop never break if there is some
problem with ep state
lyz [Wed, 11 Mar 2015 09:33:17 +0000 (17:33 +0800)]
usb: ehci: fix suspend bug
lyz [Wed, 11 Mar 2015 09:44:14 +0000 (17:44 +0800)]
usb: dwc_otg: change method of checking urb dequeue status
According to commit
e9df41c5c, change dwc_otg driver to call
usb_hcd_link_urb_to_ep() and usb_hcd_unlink_urb_from_ep() routine
for checking urb dequeue status instead check for null pointer
by hcd driver to test address.
TEST:
1.rk3126 run host/device change script for 10000 times
许盛飞 [Mon, 16 Mar 2015 01:20:41 +0000 (09:20 +0800)]
rk818-battery: add calibration of charge and discharge
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
许盛飞 [Mon, 16 Mar 2015 01:19:02 +0000 (09:19 +0800)]
rk818-battery: enable parse battery params
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
许盛飞 [Mon, 16 Mar 2015 01:16:57 +0000 (09:16 +0800)]
rk818-battery: reconstruct the voltage discharge algorithm
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
hjc [Fri, 13 Mar 2015 11:37:26 +0000 (19:37 +0800)]
rk32xx lvds: add support lvds 10bit mode
Signed-off-by: hjc <hjc@rock-chips.com>
huang zhibao [Fri, 13 Mar 2015 06:58:46 +0000 (14:58 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
hwg [Fri, 13 Mar 2015 02:32:05 +0000 (10:32 +0800)]
after support different wifi bt chip auto compatible commit for android 5.0, compatible with android 4.4
lyz [Thu, 12 Mar 2015 14:15:33 +0000 (22:15 +0800)]
usb: fix compliation warning without CONFIG_RK_DEBUG_UART