Commit Graph

402108 Commits

Author SHA1 Message Date
Jaegeuk Kim
44cd996db3 f2fs: change get_new_data_page to pass a locked node page
This patch is for passing a locked node page to get_dnode_of_data.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 64aa7ed98d)
2014-11-26 18:42:03 +08:00
ljf
2f7cb42735 rk3036,rk312x. merge the hevc and vpu workqueue according to audi vpu_combo feature 2014-11-26 17:52:19 +08:00
dkl
8291ffea4b clk: rk3126b: add support and fix clk_pll_set_rate_3036_apll 2014-11-26 17:08:45 +08:00
Mark Yao
f98465a8da rk-fb: display kernel logo if define CONFIG_LOGO
if define CONFIG_LOGO macro, display kernel logo,
else display logo from uboot.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2014-11-25 14:27:43 +08:00
hjc
8fb2012aaa rk312x lcdc: fix fb_par->state error. 2014-11-25 11:44:25 +08:00
许盛飞
eb28b49bcc test-power: add testpower dts-config
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2014-11-24 12:00:21 +08:00
lyz
2bb9a8534a usb: dwc_otg: fix problems of commit 058d627
1.
schedule_delayed_work(&pcd->check_id_work,msecs_to_jiffies(HZ))
should be schedule_delayed_work(&pcd->check_id_work,HZ)

2.fix coding-style to pass checkpatch.pl

3.set otg controler working on foece host/device mode to avoid
mode_missmatch_interrupts
2014-11-21 19:18:34 +08:00
zyk
e61707d66a rk3126 adc battery: change charge time 2014-11-21 14:56:45 +08:00
Huang, Tao
08b84034cc ARM: rockchip: rk3126b: add initial support 2014-11-21 14:01:21 +08:00
zyk
e5c10971fa rk312x adc battery: save capacity increment from uboot 2014-11-21 11:52:34 +08:00
zyk
1865ddaf3c rk3126-86v dts: add adc battery status for uboot 2014-11-21 11:45:34 +08:00
zyk
501c4c7d9a rk312x adc,author xhc:save old capacity on android 2014-11-21 09:38:47 +08:00
lyz
058d627c10 usb: dwc-otg: using delayed-work to detect id change event instead of id_change intrrupt 2014-11-20 20:23:56 +08:00
hhb
161b114d42 DMA pl330: pl330_get_desc try more to get desc 2014-11-19 15:26:15 +08:00
gwl
8ba4c03c54 Wifi: fix rtl usb wifi resume issue. 2014-11-19 10:57:19 +08:00
smj
3414c7adcd rk3128 : codec : fix the pop sound when codec power on at first 2014-11-18 19:46:06 +08:00
张晴
bc52f1110f rk3288:pmic:ricoh619:slove fuel gauge error when sleep wakeup for a long time 2014-11-18 16:10:52 +08:00
Zheng Yang
c4a062eff7 rk3036 lcdc:
If same layer is closed twice, atv_layer_cnt may be
        set to zero, so vop go to standy. Now win0、win1、hwc
        is mapped to atv_layer_cnt bit[0-2]. When open/close
        layer, set coresponding atv_layer_cnt bit to one/zero.
2014-11-18 11:07:02 +08:00
chenyifu
c529f8681b rk mipi: fixed the bug of getting mipi cmds in mipi screen dts file.
The driver supports 32 parameters of each mipi cmds
         when initialization the mipi screen.
         But the users may send a cmds longer the 32 parameters sometimes,
         and it will result in that the array out of range.
2014-11-18 10:56:14 +08:00
chenyifu
ce207ae224 rk mipi: fixed the bug of send generic short packet in rk32_mipi_dsi.c
DTYPE_GEN_SWRITE_2P:
	 	Generic Short WRITE Packet with 2 parameters(one command
		and one parameter). But the users may send the packet more
		than 2 parameters.

	DTYPE_GEN_SWRITE_1P:
		Generic Short WRITE Packet with 1 parameters(one command
		without parameter).
	DTYPE_GEN_SWRITE_0P:
		Generic Short WRITE Packet with 0 parameters(nop packet
		without command and parameter).
2014-11-18 10:11:03 +08:00
chenyifu
470eda6f9a rk mipi: fixed the bug of set_bits in rk32_mipi_dsi.c. 2014-11-18 09:08:03 +08:00
lyz
8c9ec46177 usb-uart: fix complie error 2014-11-17 17:01:45 +08:00
郭毅
89b6245b0b Revert "hwmon: rockchip_tsadc: dynamically control pclk"
This reverts commit da8f8281e9.
2014-11-17 15:53:08 +08:00
Zheng Yang
9e443f2f34 rk3036/3128 hdmi:
Take following sequence to avoid picture flash when swiching resolution:
	1. Send AV_MUTE GCP packet.
	2. Power off hdmi phy.
	3. Sleep 2 second to wait TV process no TMDS signal.
	4. Configure video and audio registers.
	5. Power on HDMI phy.
	6. Send CLEAR_MUTE GCP packet.
2014-11-17 14:30:09 +08:00
lintao
92469f0f90 mmc: capture dpm notify and avoid conflict scan flow
Signed-off-by: lintao <lintao@rock-chips.com>
2014-11-17 11:36:45 +08:00
dkl
81ba1a5515 rockchip: clk: add rk3188_plus type pll enable/disable
Add rk3188_plus type pll enable/disable ops. Disable unused plls
when display is off in rk3288.
2014-11-17 10:43:20 +08:00
Mark Yao
374968b424 rk_fb: wait extend lcdc vsync before release fence
before release fence, we should make sure extend lcdc config take
effect. if not, maybe GPU would access the buffer which hdmi using,
and cause tearing.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2014-11-17 09:41:54 +08:00
li yun zhi
5bb9bfc097 rk312x: usb-uart: disable usb-uart when cpu suspend 2014-11-14 11:02:14 +08:00
lyz
bc1de1203e usb: ehci-rockchip: fix bugs:
1. Remove ehci_port_power() in ehci-rockchip, since commit
c73cee7 the ehci_port_power() function no longer needed,
ehci hub driver taking care of power supply.
2. Fix 64-bit address pointer warnning.
3. Register rk-rhci driver by ehci_init_driver() for reducing
useless code.
4. Fix kernrl crash caused by null pointer dereference ,
When 'echo 0 > ehci_power' usb_remove_hcd() run twice. Set rk
ehci->host_enabled 0 to stop connect_detect thread.
2014-11-14 11:02:14 +08:00
lyz
18b8b4564e usb: implement power control by 'buspower' attribute
This node is used for usb controller test application to enum usb
devices plugin and disconnect.
2014-11-14 11:02:14 +08:00
hjc
5b0845df8f rk312x lcdc: fix compile warning.
Signed-off-by: xzj<xzj@rock-chips.com>
2014-11-14 09:51:07 +08:00
hjc
28343c3edd rk312x lcdc: if bcsh is disable and rgb output, close yuv2rgb and rgb2yuv.
Signed-off-by: xzj<xzj@rock-chips.com>
2014-11-13 18:22:59 +08:00
gwl
628f780dd9 BT: fix the issue of bt cannot wake up host. 2014-11-13 14:57:18 +08:00
张晴
037217d6f2 rk32:pmic:ricoh619:not currect 99% to 100% when no charger;slove soc to 0% when resume;modify usb type detect 2014-11-12 17:42:44 +08:00
cl
6140ec6529 efuse: clear compile warning
Signed-off-by: cl <cl@rock-chips.com>
2014-11-11 18:11:50 +08:00
cl
cb383f703f efuse: add rk312x_efuse_readregs()
Signed-off-by: cl <cl@rock-chips.com>
2014-11-11 18:02:04 +08:00
hhb
8e9913738f pl330: change NR_DEFAULT_DESC from 16 to 32 2014-11-11 17:31:47 +08:00
zyc
52761cd335 camsys_drv: v0.0x19.0 2014-11-11 15:05:24 +08:00
Zheng Yang
c833549837 fb: box: if win data format is yuv420/yuv420_A, set win state is 1. 2014-11-11 14:21:28 +08:00
zwl
0562e72158 rk fb:
fix rk3036 get fb addr error when resume

Signed-off-by: xzj<xzj@rock-chips.com>
Signed-off-by: zwl<zwl@rock-chips.com>
2014-11-11 09:33:02 +08:00
zyc
5c2e792bff camsys_drv: v0.0x18.0 camsys_head: v0.0xa.0 2014-11-10 11:45:56 +08:00
许盛飞
680e2073b7 pwm: add min-duty = 0
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2014-11-10 09:26:03 +08:00
Zheng Yang
218be25fc5 hdmi & fb:
For box, we need to set hdmi switch state when insert/remove,
        regardless of whether the device supports audio. So add function
        rk_fb_get_display_policy() to get display policy.
2014-11-07 18:01:48 +08:00
ljf
69be91ea0c RK3036/RK312x,
Reactivate hevc/vpu iommu when vpu/hevc start to work, can not work at
the same time.

Signed-off-by: ljf <ljf@rock-chips.com>
2014-11-07 17:40:08 +08:00
ljf
7d9d350eac add protect mutex when activate iommu device. coresponse to iommu
modify.

Signed-off-by: ljf <ljf@rock-chips.com>
2014-11-07 15:15:50 +08:00
Simon
aeac5488bd rockchip: iommu: update stall operation
1. Skip stall operation when invalid iommu tlb cache
   because it does not need enter stall mode

2. Add stall operation when detach device
2014-11-07 14:10:07 +08:00
Zheng Yang
2017275146 rk312x lcdc:
Because rk312x lcdc is not support premul alpha when at
	YUV overlay mode, we disable premul alpha under YUV overlay.
2014-11-06 17:44:34 +08:00
Simon
0ca9ef6dd5 rockchip: iommu: move iommu_reset function to attach_device
If master power domain is disabled,at this time to r/w the
iommu register,it would failed.Master call the attach_deivce
means it must power on itself,so iommu_reset in attach_device
can guarantee the safety

Depend on this, we can remove the vpu/hevc GRF relative code
2014-11-06 16:49:47 +08:00
wdc
2efcc1342f rk3036: fix system halt when suspend 2014-11-06 15:49:19 +08:00
wdc
2c57875cce sar-adc: extra channel is channel-6 via datasheet 2014-11-06 15:49:19 +08:00