hwg
1fb8cff52e
esp8089 wifi: solve warning in 64bit, new method
2015-05-28 14:35:42 +08:00
CMY
47b2346ab1
rk: iommu: support iommu region guard
...
Add an guard area after each iommu region, it is used to detect cross-border access
Signed-off-by: CMY <cmy@rock-chips.com >
Signed-off-by: XXM <xxm@rock-chips.com >
2015-05-28 11:54:57 +08:00
hjc
3a354c544c
rk fb: act_height should be 2 pix align for interlace output
...
Signed-off-by: hjc <hjc@rock-chips.com >
2015-05-28 10:13:44 +08:00
Huang, Tao
a8f65c2c61
rm64: rockchip: rockchip_defconfig disable EARLY_PRINTK
...
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2015-05-27 16:51:40 +08:00
Huang, Tao
f75022e471
arm64: rockchip: check tf version later
...
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2015-05-27 16:49:32 +08:00
Herman Chen
663f6441d7
vcodec: add soft reset after reading dec registers
...
Sometimes decoder got a timeout error and can not recover from error status.
We need to add soft reset after reading dec registers.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2015-05-27 10:53:37 +08:00
Herman Chen
41dad664eb
vcodec: fix enable race condition when power on/off
...
When multi-instances power on at same time the condition enabled maybe
set mutli-times. Use atomic function to replace orginal
read/compare/change operation to avoid multi-instances.
Also add power on/off count to debugfs for checking
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2015-05-27 10:52:05 +08:00
xxx
8967167af2
add func: check tf ver
2015-05-27 09:04:58 +08:00
hjc
5a5e21e9b1
rk3368 lcdc: update hdmi overscan config path
...
Signed-off-by: hjc <hjc@rock-chips.com >
2015-05-26 17:12:04 +08:00
hjc
4f8e3e9837
rk fb: fix in interlace mode switch between ntsc and pal lead to pagefault
...
Signed-off-by: hjc <hjc@rock-chips.com >
2015-05-26 17:12:04 +08:00
hjc
90a0e96562
rk3368 lcdc: add wait frame start for uboot logo switch kernel logo and enable iommu
...
Signed-off-by: hjc <hjc@rock-chips.com >
2015-05-26 17:12:04 +08:00
hjc
35b4a244eb
rk fb: fix uboot logo switch to kernel logo splash screen
...
Signed-off-by: hjc <hjc@rock-chips.com >
2015-05-26 17:12:04 +08:00
Xiao Feng
12b31e041a
dvfs: rockchip: add cpu thermal management test nodes
...
Signed-off-by: Xiao Feng <xf@rock-chips.com >
2015-05-26 16:27:04 +08:00
Zheng Yang
ed4fba9d34
Makefile: revert to 899286fb6a
2015-05-26 16:17:05 +08:00
Zheng Yang
5f9c0c92dc
display-sys: fix compile warning
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-26 16:14:09 +08:00
Zheng Yang
899286fb6a
display-sys: function mode_string check input parameter.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-26 14:57:22 +08:00
xxx
3f5c5381d9
modify smc call func id to Standard sip id for efuse and pm-rk3368
2015-05-26 14:53:55 +08:00
hjc
97b97440a4
rk3368 lcdc: fix iommu crash when resume
...
Signed-off-by: hjc <hjc@rock-chips.com >
2015-05-25 16:52:38 +08:00
Huang, Tao
03e19aa6a8
arm64: rockchip: rk3368: refactor efuse code
...
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2015-05-25 15:53:03 +08:00
Huang, Tao
88fe0132cc
arm64: rockchip: rk3368: dts: add rockchip,rk3368-efuse-256
...
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2015-05-25 15:53:03 +08:00
Shengqin.Zhang
bfecf47813
fix rga mmu buf cause system crash when use ion mmu buf
...
Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com >
2015-05-25 15:30:20 +08:00
Simon
9b27f65bf6
rk3368: iommu: fix region free position when iovmm_activate failed
...
Signed-off-by: Simon <xxm@rock-chips.com >
2015-05-25 11:54:39 +08:00
Shawn Lin
66944054a5
Revert "mmc: rk_sdmmc: manually zero desc after allocated on ARM64 platform."
...
This reverts commit e68d16d336 .
2015-05-25 10:50:47 +08:00
Zhangfei Gao
3c8fa1c0b7
mmc: dw_mmc: init desc in dw_mci_idmac_init
...
Set 0 to des1 in 32bit case.
Otherwise the random value of des1 will be used in
dw_mci_translate_sglist: IDMAC_SET_BUFFER1_SIZE(desc, length)
Signed-off-by: Fei Wang <w.f@huawei.com >
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org >
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2015-05-25 10:50:03 +08:00
Shawn Lin
828028c3fa
dts: arm64: rk3368: fix wrong property for esd
...
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
cc: Sam Guo <sam.guo@rock-chips.com >
cc: Xiao Yao <xiaoyao@rock-chips.com >
2015-05-25 10:11:57 +08:00
ShenZhengyi
efa7b70012
CVBS: Add gm7122 driver.
...
If you use it, should add board information to dts file, such as i2c address, sleep pin.
like that:
gm7122_tve@44 {
compatible = "gm7122_tve";
reg = <0x44>;
rockchip,source = <0>; //0: LCDC0; 1: LCDC1
rockchip,prop = <PRMRY>;//<EXTEND>
gpio-reset = <&gpio0 GPIO_A1 GPIO_ACTIVE_HIGH>;
gpio-sleep = <&gpio0 GPIO_C6 GPIO_ACTIVE_HIGH>;
status = "okay";
};
Signed-off-by: ShenZhengyi <szy@rock-chips.com >
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-23 16:17:32 +08:00
Zheng Yang
1f03967adf
HDMI: No need to set audio when hdmi is not connected.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-23 11:08:49 +08:00
Peng Du
a3a744d4df
arm64: kernel: add system revision support
...
Bug 1248538
Change-Id: I272a264ba2904dfc7a2c6d74ab4fbfdd301b8985
Signed-off-by: Peng Du <pdu@nvidia.com >
Reviewed-on: http://git-master/r/260756
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com >
2015-05-22 22:27:05 +08:00
Zheng Yang
ab64cd261a
HDMI: register display type according lcdc property.
...
If property of lcdc connected by HDMI is EXTERN,
we register HDMI as a aux display device.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-22 18:38:01 +08:00
Zheng Yang
bbccb1ea08
display-sys: delete unused code.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-22 18:37:36 +08:00
Shawn Lin
fd75a4d1d5
mmc: rk_sdmmc: fix compile warning
...
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2015-05-22 18:17:48 +08:00
Shawn Lin
6e719a67ff
mmc: core: add wrapper for timeout value
...
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
cc: Xiao yao <xiaoyao@rock-chips.com >
2015-05-22 17:41:04 +08:00
Shawn Lin
e159933221
mmc: rk_sdmmc: do more timeout recovery operation
...
We stop slaver and rebank our setting for better
compatibility.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Reviewed-by: Roger Hu <roger.hu@rock-chips.com >
Tested-by: Allen Lee <allen.lee@rock-chips.com >
cc: Xiao yao <xiaoyao@rock-chips.com >
2015-05-22 16:19:59 +08:00
Shawn Lin
a71c0cc8fb
mmc: core: skyrocket timeout for cmd erase_group_xxx
...
It shocked me that a buggy emmc need quite a long period
of time for setting its erase_group_xxx. Increase timeout
value does not harm to normal case which just under constrain.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Tested-by: Yongzhong Yang <yongzhong.yang@rock-chips.com >
cc: Xiao yao <xiaoyao@rock-chips.com >
2015-05-22 16:19:59 +08:00
Shawn Lin
7fe20f9744
mmc: rk_sdmmc: disable controller int before enter deepsleep
...
Generally when machine enter deepsleep, with no cirrcumstance,
host can interact with slavery devices. So disbale our int generater
ourself. By occasionly, we find reset controller will trigger an
unexpected SEB int. It exists a race condition for reset and IO timing
before switched to gpio and confuse state machine.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Tested-and-Reviewed-by: Xiao yao <xiaoyao@rock-chips.com >
2015-05-22 16:19:59 +08:00
lintao
4bb5de4aae
mmc: rk_sdmmc: add platform hook for special pm ops during deepsleep
...
We register a platform hook and restore all of our regs if platform does
need to cutoff controller's power-supply during deepsleep in period of time.
Make sure your have added "controller-power-down" property AND comment out
"keep-power-in-suspend" in related dts file.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Signed-off-by: Xiaoyao <xiaoyao@rock-chips.com >
Reviewed-by: Chenjh <chenjh@rock-chips.com >
Tested-by: Chenjh <chenjh@rock-chips.com >
2015-05-22 16:19:59 +08:00
Xiao Feng
db270573b2
dtsi: ddr_freq: add vop bandwidth freq table
...
Signed-off-by: Xiao Feng <xf@rock-chips.com >
2015-05-22 16:14:33 +08:00
Zheng Yang
3814ad7ea6
fb: add sysfs node lcdcid.
...
Now we have many fb devices, each vop layer is mapped to a fb device.
If there is 2 vop, we can not distinguish the vop between these fb devices.
Add sysfs node lcdcid to get the lcdc id mapped by fb device.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-22 15:30:07 +08:00
hwg
f2c6301f10
rfkill-wlan: skip can't find rockchip,grf property error in none 3368 platform
2015-05-22 09:52:18 +08:00
zhangqing
d9cbf1941d
rk3368: pmic: rk818:adjust dcdc voltage step
...
Signed-off-by: zhangqing <zhangqing@rock-chips.com >
2015-05-21 11:56:16 -07:00
Sugar Zhang
bdc58cc10e
ASoC: es8316: use startup/shutdown to manager power consumption.
...
use startup/shutdown to reduce power consumption, every time codec
standby, we shutdown codec. so, there is no need extra operation in
suspend.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-05-21 18:40:44 +08:00
Huang, Tao
cdff984abf
arm: rockchip: vcodec_service: allow no rockchip,grf in dts
...
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2015-05-21 18:33:08 +08:00
Huang, Tao
a3933acd35
clk: rockchip: allow no rockchip,grf in dts on arm
...
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2015-05-21 18:33:07 +08:00
Sugar Zhang
a9ff4234b2
ASoC: dmaengine: use dma_request_slave_channel to request dma chan.
...
if i2s module probe before dma module, dma chan resources are not ready.
use dma_request_slave_channel to reinitialize dma chan if not ready.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-05-21 16:18:02 +08:00
Zheng Yang
71e8a27d62
HDMI: support show edid status.
...
Use /sys/class/display/HDMI/debug node to
show sink EDID status and raw status.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-21 13:45:22 +08:00
Zheng Yang
57fc92cd71
display-sys: debug node support to show debug information.
...
Add a callback function getdebug() to show debug information.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-21 13:40:15 +08:00
Zheng Yang
48c8c2e11a
HDMI: just list common format when edid is not valid.
...
If EDID is not valid, list following common format:
1920x1080p-60
1920x1080p-50
1280x720p-60
1280x720p-50
720px576p-50
720px480p-60
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-05-21 10:26:34 +08:00
hwg
5dfeb37094
esp8089 wifi: solve warning in 64bit
2015-05-21 09:02:38 +08:00
Huang, Tao
76e35f385c
video: rockchip: rga2: fix compilation error on arm
...
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2015-05-20 22:10:23 +08:00
Huang, Tao
375d53a8f0
video: rockchip: fix compilation error on arm
...
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2015-05-20 22:09:59 +08:00