Commit Graph

402442 Commits

Author SHA1 Message Date
许盛飞
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
Mark Yao
959b2148ae 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>
2015-03-26 14:18:17 +08:00
xubilv
21641b5251 mipi: correct coding style error of rk32_mipi_dsi.c
Signed-off-by: xubilv <xbl@rock-chips.com>
2015-03-25 19:05:55 +08:00
Zheng Yang
04aca3a563 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>
2015-03-25 18:46:56 +08:00
xxh
428053ce3e update 8723bu wifi driver
1.Improve_P2P_compatibility for Android L
2.Fix_HiddenAP_handle
3.P2P ScanSparse For Miracas
2015-03-25 12:19:16 +08:00
hjc
b29d71fa51 rk fb: add lut for CABC
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-24 19:57:36 +08:00
hjc
7d2b052260 rk fb: only use iommu need to check config
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-24 19:56:41 +08:00
Huibin Hong
024b237534 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>
2015-03-23 17:11:09 +08:00
dalon.zhang
cac6b3f82c camsys_drv: v0.0x1e.0 2015-03-23 16:43:14 +08:00
hjc
120bb407b7 rk fb: box product not need to load screen when switch screen par enable is zero
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 15:23:30 +08:00
hjc
d3379270d3 rk fb: fix open hdmi open backlight again in no dual mode
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 15:22:32 +08:00
hjc
ccd1badc85 rk3368 lcdc: support win mirror and update NO_DUAL mode
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 15:22:32 +08:00
hjc
ead4b8ec5d rk fb: compatible when 32bit system call used on 64bit kernel
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 15:22:31 +08:00
hjc
ff4cb4ac6f rk3368 lcdc: add CABC mode config
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 15:22:31 +08:00
hwg
4d55c2e83c revert drivers/hid/uhid.c of commit 522c0bb37a
solve uhid Bad address error in 64bit cpu
2015-03-23 14:53:04 +08:00
hjc
cd757901c5 rk fb: if not want the config effect,set reserved[3] bit[0] 1
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 11:01:22 +08:00
hjc
ad5ae97486 rk fb: if uboot-logo-on set 1, open iommu when iommu en
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 11:01:22 +08:00
hjc
b8552676c1 rk fb: update pixclock init value and scale mode only support ONE_DUAL mode
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 11:01:22 +08:00
hjc
8c0c29486c rk fb: add win mirror pos config
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 11:01:21 +08:00
hjc
6300541097 rk fb: add support phy address config
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 11:01:21 +08:00
hjc
b1bfc26886 rk fb: compatible with 32 bit system
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-23 11:01:21 +08:00