Cai YiWei
2ae52f15a0
media: rockchip: isp: fix array overflow
...
Fixes: 5358e9d0b6 ("media: rockchip: isp: 64 align y size for fbcgain format")
Change-Id: Ic73e28ade0800562eeca1863277dc414c85e49d6
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2021-01-26 17:57:46 +08:00
Allon Huang
474c2aa03d
drivers: media: platform: rockchip: cif: restruct cif reset monitor
...
Signed-off-by: Allon Huang <allon.huang@rock-chips.com >
Change-Id: Iec0b8499f4a3da086421bc7ab28566bb27ca6aa8
Signed-off-by: Vicent Chi <vicent.chi@rock-chips.com >
2021-01-26 14:19:14 +08:00
Shawn Lin
d7c0bd4acd
phy: phy-rockchip-snps-pcie3: Remove unused reset signal
...
We have move p30x1 and p30x2 reset signal to corresponding
controller drivers. So we need to remove them in PHY driver
in order not to add misleading debug message.
Change-Id: I5f180bf51a449ce2db6c49f937d3898a61d7c4d9
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2021-01-26 14:09:04 +08:00
Zorro Liu
9de289947d
arm64: dts: rockchip: rk3566-eink: add int pin for tps65185
...
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
Change-Id: I923d0441d9155d477e742b54e4f66a0060be77ef
2021-01-26 09:19:57 +08:00
Zorro Liu
d53a8a4015
drm/rockchip: ebc_dev: tps68185: add int to do power err
...
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
Change-Id: I09ec350480a9d61549b3cc72aeb69281255d299e
2021-01-26 09:19:17 +08:00
William Wu
b41682e5e7
usb: dwc3: core: do gadget exit when drd init fails during probe
...
If it fails to do dwc3_drd_init() during probe, call the
dwc3_gadget_exit() to release the gadget resource when
the flag dwc->en_runtime is enabled.
Signed-off-by: William Wu <william.wu@rock-chips.com >
Change-Id: I12903841db4d83a7811b7e05d0a950932b4d3085
2021-01-26 09:17:43 +08:00
Sandy Huang
53491bd312
drm/rockchip: vop2: alpha_cal_mode use ALPHA_NO_SATURATION is better
...
set Ad0" = Ad0_" to instead of Ad0" = Ad0_" + (Ad0_" >> 7), than VOP
some alpha result is same with GPU output.
Change-Id: If05f561c16b4eb6e46671f4a130fae0fe50191c2
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2021-01-25 20:25:25 +08:00
Andy Yan
49eae01a53
drm/rockchip: vop2: Set wb_axi_yrgb/uv id
...
Set wb_axi_yrgb_id to 0xd
set wb_axi_uv_id to 0xe
Change-Id: Ie8188c2c307d2167ea237b4a176b03cfdab73792
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
2021-01-25 19:25:07 +08:00
Sandy Huang
38db9d9604
drm/rockchip: vop2: update for alpha config
...
Change-Id: Idf269d18464108bbe5e340bd8b34183e8e4716f9
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2021-01-25 17:34:15 +08:00
Huang zhibao
acfeb3f707
ARM: dts: rv1126: uvc: fix cpll to 491520000
...
Signed-off-by: Huang zhibao <hzb@rock-chips.com >
Change-Id: Ibd6df2bbcb24ea5ba72c40a8146d8a6d1c3e32a7
2021-01-25 15:50:03 +08:00
Shunqing Chen
0eae5a230c
arm64: dts: rockchip: rk3566-rk817-eink-w103: add low power sleep support
...
Signed-off-by: Shunqing Chen <csq@rock-chips.com >
Change-Id: Ie3ca658f3e7a774515b67c6affafede86f10ff89
2021-01-25 15:22:11 +08:00
Shunqing Chen
9c3442728c
arm64: dts: rockchip: rk3566-rk817-eink-w6: add low power sleep support
...
Signed-off-by: Shunqing Chen <csq@rock-chips.com >
Change-Id: If93766f70889e59453f0c6c11c0f28769032912c
2021-01-25 15:22:05 +08:00
Shunqing Chen
ff9607fe94
power: rk817-battery: Add low power support in suspend
...
Some platforms (such as Eink) during suspend the current
is very low (low than 2Ma), if long time to sleep, it will
cause the dsoc to drain faster.
Signed-off-by: Shunqing Chen <csq@rock-chips.com >
Change-Id: I25330a3a79f9684487bea0f523d97d61b8098e8a
2021-01-25 15:21:45 +08:00
Yandong Lin
29f57122a3
video: rockchip: mpp: Fix irq state err.
...
Set handled state, only when a valid irq
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I0db013066c795dc2d5ae896e84dc23c42026aabf
2021-01-25 15:18:50 +08:00
Shawn Lin
a9bdf904a0
PCI: rockchip: Disable ltssm after waiting for L2 handshake
...
We should not disable it before L2, otherwise all L2 transaction
event would be lost for RC side, leading to unstable L2 link stage.
Change-Id: Ia87f8749d4a0acc9aeb1215682209c853672a84d
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2021-01-25 11:27:46 +08:00
Yu Qiaowei
2d6a3e38e1
video/rockchip: rga2: Modify the judgment of first req.
...
Fixed the error that color fill would cause "req argument is inval".
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I94ebfc2061f16916813a0d85630f8a9862728b0e
2021-01-25 10:57:41 +08:00
Yu Qiaowei
93e6da0968
video/rockchip: rga2: Fix a crash cause by rga timeout.
...
Because update_patten_buff_mode is not currently used,
it is removed.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I48c97e75d27d475eee528ed6c838c67fdaa430f8
2021-01-25 10:57:31 +08:00
Jon Lin
08e8386122
soc: rockchip: mtd_vendor_storage: Save the initialization result to flash
...
Change-Id: I7ae9dc6dd328680257922559e981cc9adf74b7ee
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2021-01-22 20:43:36 +08:00
Weixin Zhou
ab15d7f901
power: rk817-battery: move resume work to workqueue
...
Reduced resume elapsed time
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: I074d86934537bc05f7d18f9eb62278d9a9053cdf
2021-01-22 20:13:01 +08:00
Shawn Lin
c296f63fe3
PCI: rockchip: dw: Fix unblance pm call for fake probe
...
We move all the probe stuff to kthread so that it won't block
the system to go on probing other drivers. But that introduced
it bug that PM calls would not be removed by driver core. We
trace back the platform driver to add PM callbacks if we really
detect active devices.
Fixes: 79ac46bdea ("PCI: rockchip: dw: Add kthread to probe PCIe devices")
Change-Id: I93a331fe6c17d97b71010780fba4afbc2dbf6216
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2021-01-22 20:13:01 +08:00
Wang Panzhenzhuan
413608a70d
arm64: dts: rockchip: rk3566-evb3: enabled dvp camera
...
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: If10982b21a59f8d73f61196c0e3323738fe6b1f5
2021-01-22 20:13:01 +08:00
Ziyuan Xu
c0a95fe38f
net: rfkill-wlan: fixes WARN if WIFI,poweren_gpio is not assigned
...
Change-Id: I85cf17f0b7efd95eb515a2708497dd17f15337b2
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com >
2021-01-22 20:13:01 +08:00
Cai YiWei
1afd77fecc
media: rockchip: ispp: remove debug log
...
Change-Id: I44512687d6edd2c1b8242d5c770f26a785007e66
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2021-01-22 20:13:01 +08:00
Sandy Huang
d716237f7f
drm/rockchip: vop2: Add delay number for cluster win1
...
Change-Id: If70cb8fc03e5551cd8fc142e4400a2d2bbb3628a
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2021-01-22 20:13:01 +08:00
Zhichao Yu
26e77bc0b1
media: i2c: imx307: support 60fps linear mode
...
Signed-off-by: Zhichao Yu <zhichao.yu@rock-chips.com >
Change-Id: I011f058014e4e59a6d80fc9c44101e5e6172c903
2021-01-22 20:13:01 +08:00
Elaine Zhang
bfb60af6aa
soc: rockchip: power-domain: remove the flag GENPD_FLAG_PM_CLK
...
make CLK and PD independent on/off.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
Change-Id: I77de7602f10a6cca5e9cea342b064e7f3aae4e29
2021-01-22 20:13:01 +08:00
Cai YiWei
2d1456c1a6
media: rockchip: isp: fix mpfbc buf update if readback off
...
Change-Id: I57b48d6055759a426808fbd085cd913265742739
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2021-01-22 20:13:01 +08:00
Weixin Zhou
a14b50f30f
arm64: dts: rockchip: rk3566-rk817-eink-w6: adjust sleep ctrl config
...
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: I29fe1200258c33ed54ee9512e9264b4eeaa73977
2021-01-22 20:13:01 +08:00
Ding Wei
ae86413dbf
video: rockchip: mpp: Fixes issue for px30 probe
...
When get dte_addr for iommu, it must enable reference clock.
Change-Id: Iaec423345463e001b2a7099067ab1e4a2d971f7f
Signed-off-by: Ding Wei <leo.ding@rock-chips.com >
2021-01-22 20:13:01 +08:00
Allon Huang
6bc30b2c2b
drivers: media: i2c: nvp6188: add get stream sequence interface
...
Signed-off-by: Allon Huang <allon.huang@rock-chips.com >
Change-Id: I8e9ac70a6ad565e75a4f6f3e3b9168eec20de363
Signed-off-by: Vicent Chi <vicent.chi@rock-chips.com >
2021-01-22 20:13:01 +08:00
Zorro Liu
31538abc7d
drm/rockchip: ebc_dev: release version v1.01
...
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
Change-Id: Iea75e131c55bae23c71c1a59a94c48b61416dd5e
2021-01-22 20:13:01 +08:00
Weixin Zhou
49b336287f
dirvers: input: touchscreen: add focaltech ft5436
...
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: I51437c0b5c81698d2b7e451d2843a55d23c3eb28
2021-01-22 20:13:01 +08:00
Hu Kejun
2a1585104a
media: i2c: vcm: support config max current
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I02503eadd93ab6c9c462630721353e85b830d9bd
2021-01-22 20:13:01 +08:00
Finley Xiao
fedfb317fc
ARM: dts: rv1126: Add pvtm config for npu opp table
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Iebaa949f317f09edee67d0dabab78724c2b1f819
2021-01-22 20:13:00 +08:00
Finley Xiao
f5d20854d6
ARM: dts: rv1126: Add pvtm config for cpu opp table
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I31467cafef45c5cb15c78764848dc34f03285d7c
2021-01-22 20:13:00 +08:00
Finley Xiao
dd6849a160
ARM: dts: rv1126: Add opp table for low performance chips
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I37b18e718e1f5060663e9e627af4e56f3bd6e3ad
2021-01-22 20:13:00 +08:00
Finley Xiao
88c9aaf7ec
soc: rockchip: opp_select: Add support to select voltage accroding to bin
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I6244d0c6865efbfb82164b3512e6f66adec45302
2021-01-22 20:13:00 +08:00
Finley Xiao
b82f26220d
video: rockchip: mpp: rkvenc: Implement get_soc_info() for rv1126 SoCs
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I3f35e0d44be68a84c5f16cf72181ea3f0ee11e1c
2021-01-22 20:13:00 +08:00
Weixin Zhou
7c8854a80a
arm64: dts: rockchip: rk3566-rk817-eink-w6: add new touch ft5436
...
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: Ib7a93a5c3ce136684ad55646dcf039c1274ea171
2021-01-22 20:13:00 +08:00
Zorro Liu
b04a125c80
Revert "arm64: configs: rockchip_defconfig: add rockchip ebc dev driver"
...
This reverts commit 18a4299e0b .
move to rk356x_eink.config on android which one will overlay kernel configs
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
Change-Id: If43d748cdef541915a218214c274375a2d8e34bd
2021-01-22 20:13:00 +08:00
Hu Kejun
2664922167
media: i2c: vcm: set default position to vcm in resume function
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I8852b5fcc754afc3228b6e300fa8f672d9f45703
2021-01-22 20:13:00 +08:00
Hu Kejun
99c49523fc
media: i2c: vm149c: support set/get vcm config ioctl
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Id40695e61e4e5daf6664084867f4980f848bdef5
2021-01-22 20:13:00 +08:00
Hu Kejun
a21a5c1944
media: i2c: fp5510: support set/get vcm config ioctl
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I19fc9732149ce17eb8613e710579ee7d5120c51f
2021-01-22 20:13:00 +08:00
Hu Kejun
6731223dc2
media: i2c: dw9714: synchronize with gt9760s
...
1. support set dlc/t_src/mclk by dts;
2. add ioctl to set vcm config;
3. update lsc move time;
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I3fe7132fca65d82786927cd36ddbb57f341c22b3
2021-01-22 20:13:00 +08:00
Finley Xiao
168b90d38d
Revert "ANDROID: GKI: PM/devfreq: Do not switch governors from sysfs when device is suspended"
...
This reverts commit 4f9183cc24 .
Conflicts:
include/linux/devfreq.h
Change-Id: I8bf76eb9113d1a1b564b396cd66a15bc4fd8e672
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2021-01-22 20:13:00 +08:00
Ding Wei
0a07b5aaba
video: rockchip: mpp: vepu1: add codec_info for debug
...
Change-Id: I665cd4848becdbacc8c1393d82c3faa71898ceb4
Signed-off-by: Ding Wei <leo.ding@rock-chips.com >
2021-01-22 20:13:00 +08:00
Huang zhibao
adb52df5b1
arm64: dts: rockchip: rk3568-nvr: cpu-opp delete node opp-1992000000
...
Signed-off-by: Huang zhibao <hzb@rock-chips.com >
Change-Id: If259267e8e5d02fb48270f7c6b99052ace4dd2fe
2021-01-22 20:13:00 +08:00
Finley Xiao
64f51c86a8
cpufreq: rockchip: Implement get_soc_info() for rv1126 SoCs
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Ie56cf08706db7ffcf1d5821e7f43b61a7677e253
2021-01-22 20:13:00 +08:00
Jon Lin
7426087ac0
drivers: rkflash: Adjust spinor mtd dev dma limit to 8KB
...
Change-Id: Iabff9f57806f7e2fdd3ce411182eb46459178d45
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2021-01-22 20:13:00 +08:00
Sugar Zhang
f12659ebfa
clk: rockchip: rv1126: Better jitter performance for audio rate
...
PLL 491520000 for audio samplerate:
8000
16000
24000
32000
48000
64000
96000
128000
192000
ppm ranges [-1000 : +976] for clk compensation
PLL 496742400 for audio samplerate:
11025
22050
44100
88200
176400
ppm ranges [-1000 : +1000] for clk compensation
e.g. UAC with 48000 SR + UVC:
&cru {
assigned-clocks =
<&pmucru CLK_RTC32K>, <&pmucru PLL_GPLL>,
<&pmucru PCLK_PDPMU>, <&cru PLL_CPLL>,
<&cru PLL_HPLL>, <&cru ARMCLK>,
<&cru ACLK_PDBUS>, <&cru HCLK_PDBUS>,
<&cru PCLK_PDBUS>, <&cru ACLK_PDPHP>,
<&cru HCLK_PDPHP>, <&cru HCLK_PDAUDIO>,
<&cru HCLK_PDCORE_NIU>;
assigned-clock-rates =
<32768>, <1188000000>,
<100000000>, <491520000>,
<1400000000>, <600000000>,
<500000000>, <200000000>,
<100000000>, <300000000>,
<200000000>, <150000000>,
<200000000>;
};
Change-Id: I96dcaf9d40fdea58a4c3a823d91720203e0a75ad
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2021-01-22 20:13:00 +08:00