Commit Graph

405947 Commits

Author SHA1 Message Date
chenzhen
71d4fbd8cc rk3288_mali_t760_driver_r6p0-02rel0_12_x@0 2015-08-05 17:55:59 +08:00
Xiao Feng
607b4fdb2c dvfs: rockchip: arm pvtm add RK3368_PROCESS_V0
Signed-off-by: Xiao Feng <xf@rock-chips.com>
2015-08-05 15:53:03 +08:00
Xiao Feng
d004fdb461 arm64: rockchip: rk3368: tb-dts: add arm pvtm support
Signed-off-by: Xiao Feng <xf@rock-chips.com>
2015-08-05 15:52:12 +08:00
David Wu
cbd8dcfb90 rk3368: tsadc: set saradc_clk cycle to mcu
Signed-off-by: David Wu <wdc@rock-chips.com>
2015-08-04 18:46:20 +08:00
David Wu
e1ca460462 rk3368: scpi: add interface set cycle for tsadc
Signed-off-by: David Wu <wdc@rock-chips.com>
2015-08-04 18:46:20 +08:00
Zheng Yang
af460bd8b0 hdmi:rk3288/rk3368: Reset tmdsclk after configure frame composer regiseter.
It is required to perform a reset tmdsclk action on one of the frame composer
registers changed. Or transport video and audio sample may mistake.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-08-04 18:07:54 +08:00
Xiao Feng
b10cb514cc arm64: rockchip: rk3368: dts: modify the regulator-name of rk818_ldo2
Signed-off-by: Xiao Feng <xf@rock-chips.com>
2015-08-03 17:50:59 +08:00
chenzhen
9dbd05314c rk312x, mali_400_driver : modify build_log, upgrade rk_ko_ver to 4. 2015-08-03 13:52:19 +08:00
chenzhen
57d64268ab rk312x, mali_400_driver : fix bug that gpu_clk could not jump to he highest level. 2015-08-03 13:52:11 +08:00
huang zhibao
083dcbe0f5 dts: set wifi type and enable pwm1 in rk3288-p977_8846.dts
Signed-off-by: huang zhibao <hzb@rock-chips.com>
2015-07-31 17:55:56 +08:00
Zheng Yang
fcad39d771 hdmi:rk3036/rk3128: support 3D type Frame packing.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-30 16:53:26 +08:00
Zheng Yang
97b1b43aa1 hdmi: reconfigure audio when enable/disable 3D Frame packing mode.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-30 10:56:21 +08:00
Zheng Yang
96b23c94c6 hdmi:rk3288/rk3368: support 3D type Frame packing.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-30 10:43:04 +08:00
dalon.zhang
7c72e159ab camsys_drv: v0.0x21.0 2015-07-29 15:49:34 +08:00
Jianhong Chen
3f8d8450e1 dts: rk3368-p9: battery add and enable power_dc2otg
enable: otg device get power from dc adapter

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: xushengfei <xsf@rock-chips.com>
2015-07-27 17:27:20 +08:00
Jianhong Chen
5f976d7e3f power: rk81x-battery: support otg device get power from dc
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: xushengfei <xsf@rock-chips.com>
2015-07-27 17:27:20 +08:00
Jianhong Chen
5ca10b99df power: rk81x-battery: fix power on sec base error
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: xushengfei <xsf@rock-chips.com>
2015-07-27 17:27:20 +08:00
Xiao Feng
8529d554c3 dvfs: rockchip: print error when clk is disable
Signed-off-by: Xiao Feng <xf@rock-chips.com>
2015-07-27 14:55:11 +08:00
Sugar Zhang
26ea8b87f0 ASoC: rockchip: i2s: add pcm transfer mode support.
usage: add i2s dts property "rockchip,xfer-mode"

rockchip,xfer-mode = <0>: i2s transfer mode.
rockchip,xfer-mode = <1>: pcm transfer mode.

if not define, use i2s transfer mode default.
pcm transfer mode is usually used for bt/modem voice.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2015-07-24 18:04:31 +08:00
Zheng Yang
b245ea6eb5 hdmi:rk3288:enable supporting 10bit output.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-24 16:31:28 +08:00
Zheng Yang
f5118000d9 hdmi:use 30bit lcdc interface when output 10bit mode.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-24 16:30:44 +08:00
hjc
0850cb04bd rk fb: add YUV420 10bit output mode for next soc
Signed-off-by: hjc <hjc@rock-chips.com>
2015-07-24 15:27:28 +08:00
Zheng Yang
71a461a764 hdmi: hdmi_submit_work function support synchronous operation.
If hdmi_submit_work work in synchronous mode, the malloced delayed_work
is free by caller, not by hdmi_work_queue, to prevent delayed_work is
free before flush_delayed_work fucntion is executed.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-24 11:05:37 +08:00
Zheng Yang
cdb8423130 dts:arm:rk3288-box: ddr frequency set to 533 when playing 4K video.
If we playing 4K60Hz video, and there are more than two ui layer which
is continuously refreshing, bandwith will be not enougth under ddr 456MHz.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-23 17:04:57 +08:00
Zheng Yang
80424e04b3 hdmi:rk3288/rk3368: enable PHY SVSRET mode while in power-down mode.
While in power-down mode, the HDMI Tx PHY can be additionally set in
a lower mode of consumption by enabling the SVSRET mode, achieved by
asserting the SVSRET_MODEZ signal low.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-23 09:21:03 +08:00
Zheng Yang
b93429044a hdmi:rk3288/rk3368: set controller register in uboot logo mode.
EDID data readed in uboot and kernel may be different, and hdmi
output color mode is different in uboot and kernel: uboot output
RGB when EDID is wrong and kernel output YCbCr with right EDID.
But avi infomation and controller register is not set in kernel,
so the picture is wrong. Now fix this bug.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-23 09:05:37 +08:00
zhangqing
c16809fe47 rk3288: clk: support clk_ddr round rate.
support clk_ddr round and set rate.
slove the develop-3.10-next merge missing some function.

Signed-off-by: zhangqing <zhangqing@rock-chips.com>
2015-07-21 09:33:11 -07:00
Shengqin.Zhang
7b57aa1ef9 fix rga_ioctl return error
Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com>
2015-07-21 14:44:46 +08:00
Zheng Yang
54ee81fa6d hdmi: use dps->lock replace of hdmi->lock.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-20 14:52:13 +08:00
linwei
27a0c1c3be EDP:RK3288: add debugfs node for psr function.
enter the drectory:debugfs/edp.
    command as follows:
    echo 0 > psr : disable psr
    echo 1 > psr : config and enable psr
    echo 2 > psr : sink get in  psr inactive
    echo 3 > psr : sink get in  psr state2
    echo 4 > psr : sink get in  psr state3
    echo 5 > psr : open phy 4 lanes
    echo 6 > psr : close phy 4 lanes
Signed-off-by: linwei <buluo.lin@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-20 11:35:49 +08:00
Mark Yao
0aa5740609 rk_fb: rk3288: fix win2 disable iommu crash. 2015-07-17 16:03:21 +08:00
dalon.zhang
809bc041c8 uvc: support the query of iommu_enabled 2015-07-17 15:46:35 +08:00
hwg
ff8dfccbb0 bcmdhd wifi: support ap6356 nvram auto recognize 2015-07-16 20:32:53 +08:00
Zheng Yang
6a9f5a9abe eDP:rk3288:ignore grf probe error when probe.
rockhip,grf node is not exist on rk3288,  we
need to ignore grf probe error.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-16 17:45:14 +08:00
linwei
858c057af9 eDP:RK3288 check format for rk32_dp.c rk32_dp.h
Signed-off-by: linwei <buluo.lin@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-07-16 12:41:44 +08:00
zhangqing
4a8a2ed2a7 rk3288: clk: slove make warning for clk-ops.c
Signed-off-by: zhangqing <zhangqing@rock-chips.com>
2015-07-16 04:49:42 -07:00
zhangqing
e6240182f3 rk3288: clk: support clk_vop set 594M.
Signed-off-by: zhangqing <zhangqing@rock-chips.com>
2015-07-16 04:11:36 -07:00
zhangqing
4e31fe5041 rk3288: clk: support aclk_vio 594M.
Signed-off-by: zhangqing <zhangqing@rock-chips.com>
2015-07-15 11:05:22 -07:00
zhangqing
ea6b0ae3dd rk: pmic: rk818: add interface to set ldo sleep state.
add interface to set ldo sleep state,
which hope can dynamically modify the ldo sleep state.

Signed-off-by: chenjianhong <chenjianhong@rock-chips.com>
2015-07-15 10:35:55 -07:00
Alpha Lin
2a9e6a67a2 VPU: pmu idle request before cru operation.
pmu idle request before cru operation to ensure the hardware
don't be reset during runing. without this hardware maybe hang
up for bus access failure.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
2015-07-15 14:49:51 +08:00
Alpha Lin
13b95ebabe RK3288 VPU: add cru reset resource.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
2015-07-14 17:59:06 +08:00
zhangqing
6e30d4ffb7 rk3x:pmic: rk818:enable hdmi5v in sleep mode and improve buck efficiency
enable hdmi5v in sleep mode for low power.
improve buck efficiency for low power.

Signed-off-by: chenjianhong <chenjianhong@rock-chips.com>
2015-07-14 08:19:40 -07:00
xubilv
248ccf1164 MIPI: fix the first wake-up not display bug.
Signed-off-by: xubilv <xbl@rock-chips.com>
2015-07-14 13:55:42 +08:00
Jianhong Chen
9e30271c2c power: rk81x battery: use get_monotonic_boottime to get system run time
local_clock will lose the suspend time, so we use get_monotonic_boottime instead

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-07-14 13:51:49 +08:00
Jianhong Chen
40cec762a6 power: rk81x-battery: modify low power check threshold voltage
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-07-14 13:51:49 +08:00
Jianhong Chen
d189c1ff7c power: rk81x-battery: add calc seconds availability check
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-07-14 13:51:49 +08:00
Jianhong Chen
7f83176b5a power: rk81x-battery: add debug message dump limit
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-07-14 13:51:49 +08:00
Jianhong Chen
7614e3b9ba power: rk81x-battery: optimize zero discharge algorithm
avoid display_soc to be initialed in some case which makes dsoc
drop too quick

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-07-14 13:51:48 +08:00
Jianhong Chen
7f46fa8319 power: rk81x-battery: get charger type by usb notifier instead of polling
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2015-07-14 13:51:48 +08:00
Sugar Zhang
17e911149a dts: rk3368-p9_818: disable vcc_codec when system sleep.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2015-07-14 10:24:42 +08:00