Commit Graph

402462 Commits

Author SHA1 Message Date
hjc
4d9cf9bf23 rk3368 lcdc: add support overscan
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:37:41 +08:00
Zheng Yang
e0026f346f 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>
2015-05-09 15:09:20 +08:00
hjc
a1cad7c41e rk fb: add consider vop full mutile area for vsync register check
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:12 +08:00
hjc
8bd11d215d rk fb: delay 200ms when extern display switch screen can fix mmu pagefault 2015-05-09 15:09:12 +08:00
hjc
e0623084bd rk fb: kfree envp[1], if we not do real switch screen
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:11 +08:00
hjc
04ee6ea250 rk fb: fix iommu page fault when in video test
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:11 +08:00
hjc
c47ee929eb rk fb: extend output mutex lock in win config
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:10 +08:00
hjc
af926b30e8 rk3368 lcdc: fix some hidden trouble maybe lead to abnormal when shutdown
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:10 +08:00
hjc
f75ea94550 rk fb: if lcdc is suspend ignore set par and display
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:09 +08:00
hjc
88ba5de0b5 rk fb: add fb disp policy for excessive stage
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:09 +08:00
hjc
e7c5005de8 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>
2015-05-09 15:09:08 +08:00
hjc
d0c8843219 rk fb: add switch enable status when send uevent
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:08 +08:00
hjc
629d39fd04 rk fb: update message info when page fault
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:07 +08:00
hjc
e6b41fe709 rk fb: send uevent when change video mode
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:07 +08:00
hjc
514c54f85c rk fb: do something when user set invalid config
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:06 +08:00
hjc
92ad83ba00 rk fb: set retire fence fd to -1 when ignore this frame
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:06 +08:00
hjc
842e4d1fdc rk fb: when unplug hdmi,post fb to display
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:05 +08:00
hjc
5456670f05 rk fb: ignore frame when in hdmi switch or set error config
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:05 +08:00
hjc
11d2362b0e rk fb: hdmi 24hz frame time need 41ms
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:09:04 +08:00
hjc
acf4e1b1b7 rk fb: from rk3368 fb only need to reserved 1 framebuffer
Signed-off-by: hjc <hjc@rock-chips.com>
2015-05-09 15:07:27 +08:00
许盛飞
87b37bc9b4 pwm: enable pwm-frequrency less than 1K
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-05-07 17:15:58 +08:00
Zheng Yang
3848053c4a 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>
2015-05-06 17:15:24 +08:00
Zheng Yang
6f5f0b8243 HDMI: rk3368/rk3288: If HDCP is enabled in uboot, do not set again.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-05-05 18:25:21 +08:00
Zheng Yang
faeeda46b1 display-sys: fix code style
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-05-05 18:08:27 +08:00
Zheng Yang
b3f163f9b1 display-sys: list supported 3d format of all resolution.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-05-05 17:56:57 +08:00
Zheng Yang
33dd452d61 HDMI: 3288/3368: hdcp check firmware pointer.
If firmware is NULL, HDCP is disabled.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-05-04 16:26:33 +08:00
zhangqing
e3eff0c124 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>
2015-05-04 10:10:31 +08:00
zhangqing
f3a6eaaee4 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>
2015-05-04 09:34:14 +08:00
xxh
5ab3b97642 8723BU BT driver V2.21 2015-04-22 11:39:46 +08:00
xxh
991b070e0b update default config for esp8089 wifi. 2015-04-22 08:52:02 +08:00
xiaoyao
fcbf1111ba 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>
2015-04-21 17:19:17 +08:00
hwg
21586b9c7a wifi: support random mac address and save to file, solve compile warning 2015-04-20 16:17:57 +08:00
hwg
030a0a5a30 wifi: support random mac address and save to file 2015-04-20 16:09:08 +08:00
hwg
7509b38221 wifi driver: rtl8723bs, rtl8723bs-vq0, rtl8723bu, rtl8812au, modify custom mac addr error problem 2015-04-20 16:07:18 +08:00
hwg
5f9d0b7f7b bcmdhd wifi driver: support custom mac address 2015-04-15 09:35:46 +08:00
hwg
d1a4db2bec bcmdhd wifi driver: use kthread to run dhd_module_init, save time in initcall 2015-04-13 08:37:50 +08:00
Zheng Yang
e9e801f3d2 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>
2015-04-11 17:14:07 +08:00
lyz
9ca3a6b153 rk3036: usb: add support of wakeup by GRF linestate change 2015-04-10 11:44:49 +08:00
Zheng Yang
796d448f7a 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>
2015-04-09 18:01:51 +08:00
Zheng Yang
7c795bd97e 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>
2015-04-02 16:56:40 +08:00
Zheng Yang
7f2f16780d HDMI: fix edid mode list error: set head->prev to edid->modelist.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-04-02 16:49:50 +08:00
hwg
e3a332d3c2 modify wifi: load driver when kernel bootup:
can increase speed of wifi open/close
 can solve memory alloc fail when open wifi
2015-04-01 21:22:47 +08:00
Mark Yao
ac98211da0 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>
2015-04-01 14:12:14 +08:00
Mark Yao
ce69d89d2f 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>
2015-04-01 12:34:42 +08:00
hwg
6034e8ea48 rtl8723bs rtl8723bu wifi: disable debug log 2015-03-31 17:45:55 +08:00
hjc
0b5cfe2498 Revert "rk fb: add consider vop full mutile area for vsync register check"
This reverts commit e9f19a9255.
2015-03-30 18:18:44 +08:00
hjc
e9f19a9255 rk fb: add consider vop full mutile area for vsync register check
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-30 18:02:23 +08:00
Zheng Yang
3ded215725 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>
2015-03-26 16:18:38 +08:00
Zheng Yang
5e4a1c608e HDMI: add dts node "rockchip,defaultmode" to define HDMI default output mode.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-03-26 14:40:32 +08:00
Mark Yao
06674ea0a2 hjc already fix this problem, so
Revert "rk_fb: fix kernel logo display"

This reverts commit 959b2148ae.
fixed by:
  commit ad5ae97486
  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
2015-03-26 14:29:40 +08:00