Shunhua Lan
9bef8f31ad
arm64: configs: rockchip_defconfig: Enable RT5651 for rk3399 excavator evb
...
Signed-off-by: Shunhua Lan <lsh@rock-chips.com >
Change-Id: I09cdf40fdeac8dccc13c3a4b3ec4d3b58c2c35e3
2023-08-04 10:06:30 +08:00
Chen Shunqing
0cb0d5f1ec
media: rockchip: hdmirx: fix CTS HF2-86 test fail
...
If sample_flat field is set to 1, there can't be any sound.
Change-Id: I56ad87d1165fe7d1cc993f9522c4e6d50c253b80
Signed-off-by: Chen Shunqing <csq@rock-chips.com >
2023-08-03 16:48:13 +08:00
yuefu.su
b406f355a2
media: i2c: update sc230ai again map
...
Signed-off-by: yuefu.su <yuefu.su@rock-chips.com >
Change-Id: I6c5928d5bbb73a9d32a809f6750160a8730c0100
2023-08-03 16:46:04 +08:00
Lin Jinhan
203965847c
crypto: rockchip: utils: optimize alignment criteria
...
There is no length alignment requirement for the last scatterlist.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
Change-Id: I9625bce9379cef4c1a8507ba523f5f303d60c9e6
2023-08-03 11:56:23 +08:00
Lin Jinhan
43f141406e
crypto: rockchip: Fixed the timeout timer being triggered incorrectly
...
If the time required for a single data calculation exceeds 3 seconds,
timeout occurs.The timeout timer should be reset after the CRYPTO irq
interrupt is triggered.
Change-Id: I21516ba57bfc8eef3b22624e4ed95523d000cee2
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
2023-08-03 11:45:59 +08:00
Guochun Huang
c19bda6df3
phy/rockchip: samsung-hdptx: make deskew fifo works on shared pointer
...
the deskew fifo works on its own pointers may cause inter-lane skew
to exceed the vesa standard, this poses a risk of errors in dp sink
parsing MSA packet which inserted in data stream
Change-Id: Ia3bdfaed8696c8f7f21f39f0b55d18b1dce7761f
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2023-08-02 15:05:08 +08:00
Zhihuan He
ed5a9690cf
arm64: dts: rockchip: px30: delete dmc 528MHz and en 666MHz ODT
...
For a more stable system, delete the 528MHz frequency and open
the 666MHz frequency ODT.
Signed-off-by: Zhihuan He <huan.he@rock-chips.com >
Change-Id: I0354c6dde8f39a9b41878446475ee3acbe1be729
2023-08-01 10:21:40 +08:00
Ziyuan Xu
8ea19e3343
soc: rockchip: tb_service: fixes the register haven't been handle
...
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com >
Change-Id: I3af3e5fd3b4725448363a1d8419dc4b9854f6cc6
2023-07-31 20:19:39 +08:00
Zhang Yubing
23299c62a5
drm/rockchip: drv: fix the config csc data issue
...
Fixes: 6bd92608df ("drm/rockchip: drv: get acm and csc info when boot")
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
Change-Id: I0dd41b229fce0c85bd3df03f03b4b40da06ef53a
2023-07-31 18:14:37 +08:00
Liang Chen
60dc45eb33
soc: rockchip: cpuinfo: Add support for rk3528a
...
Change-Id: I62baecdb5a5d10329dbe7c36fdae9a6df15ccc57
Signed-off-by: Liang Chen <cl@rock-chips.com >
2023-07-31 18:12:53 +08:00
Algea Cao
6926979cb0
drm/rockchip: dw_hdmi: Fix crash caused by hotplug in uboot
...
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: Id22025a2b464e68ac3683587eb808975439096df
2023-07-31 14:53:20 +08:00
Zhang Yubing
bf9c5670ae
drm/rockchip: vop2: report vividhdr feature by property
...
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
Change-Id: I2d680b2066050ca2eeba0947936cc43a8855cbb1
2023-07-31 11:47:49 +08:00
XiaoDong Huang
6d2677915d
soc: rockchip: pm_config: support mcu-sleep-config
...
We configure "mcu sleep parameters" based on
shared memory and atags.
Refer to the following example to configure dts:
rockchip_suspend: rockchip-suspend {
...
rockchip-mcu-sleep-cfg {
...
mcu-cec-wakeup {
rockchip,tag = <RK_ATAG_MCU_SLP_CEC>;
rockchip,params =
<0x0 0x1 0x2 0x3>;
};
...
mcu-uart-wakeup {
rockchip,tag = <RK_ATAG_MCU_SLP_UART>;
rockchip,params =
<0x3 0x2 0x1 0x0>;
};
...
};
...
};
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com >
Change-Id: I9cb9107334c8ae91add2d4055cfb48cf46bc3e73
2023-07-28 15:52:32 +08:00
Tony Xie
db0e436dec
arm64: dts: rockchip: rk3308b-amp: support config amp os irqs
...
Signed-off-by: Tony Xie <tony.xie@rock-chips.com >
Change-Id: I03ebaca4483c0c4d7be3e42a06774ec87cb8475e
2023-07-28 15:20:46 +08:00
Tony Xie
56e05e2ff3
dt-bindings: soc: rockchip: add define for rockchip amp
...
Signed-off-by: Tony Xie <tony.xie@rock-chips.com >
Change-Id: Ie4225d2b17b9f6180a1bbfc489c485562d5d2fe4
2023-07-28 15:20:06 +08:00
Tony Xie
2e7658ef57
irqchip/gic: support config amp os irqs
...
Signed-off-by: Tony Xie <tony.xie@rock-chips.com >
Change-Id: Id7ff9d5cccfe5656462542fcfa68fef51cdd910e
2023-07-28 15:15:46 +08:00
Tony Xie
0bbcfb87aa
soc: rockchip: amp: support config amp os irqs
...
Signed-off-by: Tony Xie <tony.xie@rock-chips.com >
Change-Id: I628a5c4a863e4ed6d51a71ed9243d04993a04e43
2023-07-28 15:12:09 +08:00
Xu Xuehui
1ccd57c4b0
arm64: dts: rockchip: rk3588-vehicle-s66-v10 support wifi/bt
...
Change-Id: I40ee7f85aebc7400e745cda9c7f20b14aded9d09
Signed-off-by: Xu Xuehui <xxh@rock-chips.com >
2023-07-28 14:57:53 +08:00
Jianqun Xu
d5a0a47461
arm64: dts: rockchip: rk3588-vehicle-adsp-audio-s66 fix i2s-tdm
...
Fix 'rockchip,tx-lanes' to 'rockchip,tdm-tx-lanes'
and fix 'rockchip,rx-lanes' to 'rockchip,tdm-rx-lanes'
Fixes: aa029efb52 ("arm64: dts: rockchip: rk3588-vehicle: init s66 project dts files")
Change-Id: I2d3d0650b87aef0207fe15d81821de005b74aac1
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
2023-07-28 14:30:22 +08:00
Cai YiWei
f4a17bf817
media: rockchip: isp: fix 3dlut for multi sensor
...
Change-Id: Ib1384ea357a4ccd64174247bb394046a82765d82
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2023-07-28 14:29:39 +08:00
Finley Xiao
81a1028bb7
arm64: dts: rockchip: rk3528: Add trim configure for tsadc
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I9f3c5a3be522228e1cbc3c7c9075561ea4bc9bfc
2023-07-27 16:12:57 +08:00
Finley Xiao
4aa87e5793
thermal: rockchip: Add trim temperature for rk3528
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I2e8bbcf1afb932a630dfbc04047a2b43dd2ef820
2023-07-27 16:12:57 +08:00
Yu Qiaowei
3667f95c21
video: rockchip: rga3: avoid premature wake_up causing request to be freed
...
After other threads will trigger the wakeup, there may be a case where
the request is exited abnormally, so it is necessary to wake_up again
when the function exits.
Change-Id: Ia3e754cf3d4f9064ddc07a590f73f2f75c92d2c3
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
2023-07-26 18:39:59 +08:00
Frank Wang
1761a77fd1
phy: rockchip: usbdp: amend to improve USB compatibility
...
Amends ln0/ln2 RX DFE to improve the compatibility of USB3 link training.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com >
Change-Id: I568f9260bcfbb4625139222f06b68765f187dd04
2023-07-26 18:39:06 +08:00
HongLin Lan
724009a9d7
mtd: spi-nor: xmc: Support XM25QH256C
...
Change-Id: I0d1ee1b1615f9d29b472ef5bc8e2ed9aabd86602
Signed-off-by: HongLin Lan <helin.lan@rock-chips.com >
2023-07-26 10:26:16 +08:00
Luo Wei
84f68a63ed
arm64: dts: rockchip: rk3588-vehicle-display-v20: not assign clock for vop
...
Signed-off-by: Luo Wei <lw@rock-chips.com >
Change-Id: I8de3a01a57025592af38d62b3c25c77ba295b914
2023-07-25 17:58:49 +08:00
HongLin Lan
daa92b106c
media: i2c: add os02k10 driver
...
Change-Id: Ia55f5650eb5898092a9933e942bc8b93d0774415
Signed-off-by: HongLin Lan <helin.lan@rock-chips.com >
2023-07-25 17:58:10 +08:00
Damon Ding
7c9675f035
ARM: dts: rockchip: rv1106-evb: add mcu display v20 board
...
Rockchip RV1106G EVB1 V11 Board + RK EVB MCU 8BIT Display V20 Ext Board
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I77db1d6274435f82afe0f790a9a942e901c3fbe3
2023-07-25 10:43:47 +08:00
Qiqi Zhang
15cefa1208
arm64: dts: rockchip: add rk3528 demo6 dts
...
Change-Id: If52cf05e33f2faa3483c5c88c311f8c8a1745e0f
Signed-off-by: Qiqi Zhang <eddy.zhang@rock-chips.com >
2023-07-25 10:40:17 +08:00
Yu Qiaowei
0f8b67c07c
video: rockchip: rga3: fix memory mapping will be skipped when handle is 0
...
Change-Id: I6d77cc200d692e07037dc613f94870fa0489e997
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
2023-07-25 09:59:31 +08:00
Liang Chen
0c5cc59876
arm64: dts: rockchip: rk3568: Add opps for rk3568j/m
...
Change-Id: I2e394d1de0dc8d856177a7083b56dc3ac81c5816
Signed-off-by: Liang Chen <cl@rock-chips.com >
2023-07-25 09:57:16 +08:00
Liang Chen
fbd35aede4
cpufreq: rockchip: set supported hw version for opp
...
Change-Id: I0fcd74b14cfeee03ce5ba022f256087f843aaab9
Signed-off-by: Liang Chen <cl@rock-chips.com >
2023-07-25 09:57:16 +08:00
Shuangjie Lin
1a2943000d
driver: rknpu: Update rknpu driver, version: 0.9.1
...
* Fix rknpu job use after free
Signed-off-by: Shuangjie Lin <shuangjie.lin@rock-chips.com >
Change-Id: I916ad6c53438dfb951b6555c7c580d8abdd57c75
2023-07-25 09:39:07 +08:00
yuefu.su
09edc318b9
media: i2c: sc301iot: pm runtime put device until stream off for thunderboot
...
The camera device should keep *power on* until stream off, that make
sure the mclk is enable.
Signed-off-by: yuefu.su <yuefu.su@rock-chips.com >
Change-Id: I877d73cfa64e484e7c93e7b761d31ff23e353960
2023-07-24 15:44:18 +08:00
Chen Shunqing
ab1b8c1425
drm/rockchip: dw-dp: support hdcp key without aes encrypt
...
Change-Id: Ifc6ea0398914855e7c1d90ebf95b0766d70004d4
Signed-off-by: Chen Shunqing <csq@rock-chips.com >
2023-07-24 11:59:45 +08:00
Yandong Lin
99697177f4
video: rockchip: mpp: fix session cleanup issue
...
The session can only be released after all tasks are released.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I9a4e7940323be72cb0982338777af813888f957f
2023-07-24 11:57:54 +08:00
Fenrir Lin
c8ab145b3d
media: i2c: sc3338 support normal boot
...
Change-Id: I06468abc80bfa501d7ad251606700fae586bae52
Signed-off-by: Fenrir Lin <fenrir.lin@rock-chips.com >
2023-07-21 20:19:54 +08:00
Xu Xuehui
9f9d39a908
arm64: dts: rockchip: rk3588-vehicle-evb-v21: change pcie wifi power control
...
regulator should always on when system suspend, avoid wifi crash.
Change-Id: If78702e56b68f653b2d50a06d7fd31bc4ced2943
Signed-off-by: Xu Xuehui <xxh@rock-chips.com >
2023-07-21 18:46:41 +08:00
Lin Jianhua
249466a6bd
arm64: dts: rockchip: rk3308bs-evb-mipi-display-v11: reduce drive strength of lcdc d18~23 from 6ma to 2ma
...
The touchscreen i2c is abnormal due to current crosstalk of lcdc
d18~23,so reduced drive strength reduces crosstalk
Change-Id: Iaa7f6fc3854ecf2ab5e96d96c44464044a23b128
Signed-off-by: Lin Jianhua <linjh@rock-chips.com >
2023-07-21 18:44:58 +08:00
Fenrir Lin
16b1062239
ARM: dts: rockchip: rv1106g-evb2-v10: correct sc3338 gpio
...
Change-Id: I5e49d308ab5a2c0a7e9ae6de5e8b6821674c39df
Signed-off-by: Fenrir Lin <fenrir.lin@rock-chips.com >
2023-07-21 18:43:09 +08:00
Zhang Yubing
a34d847830
phy: rockchip-typec: use phy interface replace global functions
...
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
Change-Id: I193a9b78e397c56e1aecda5f2c0e5d338f902fd7
2023-07-21 18:42:27 +08:00
Zhang Yubing
d9da2bf65a
drm/rockchip: cdn-dp: use phy interface replace global functions
...
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
Change-Id: Ic66390d224f37bfdf9254c674d6b6a3ec41904c2
2023-07-21 18:42:27 +08:00
Wyon Bi
9eabfc8112
phy: rockchip-typec: Fix DP lane config
...
Split dynamic lane configuration from tcphy_dp_cfg_lane().
Change-Id: Ie4ce3138b30f3f9304daec9a9c582091548c0e60
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
2023-07-21 18:42:27 +08:00
Wyon Bi
6397c9ae57
drm/rockchip: cdn-dp: support dp training outside dp firmware
...
DP firmware uses fixed phy config values to do training, but some
boards need to adjust these values to fit for their unique hardware
design. So get phy config values from dts and use software link training
instead of relying on firmware, if software training fail, keep firmware
training as a fallback if sw training fails.
Change-Id: I075bff6aa153a5e18b6a5ddec2645131f1411913
Signed-off-by: Chris Zhong <zyw@rock-chips.com >
Signed-off-by: Lin Huang <hl@rock-chips.com >
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
2023-07-21 18:42:27 +08:00
Zhang Yubing
99b9c4c771
drm/rockchip: cdn-dp: Avoid drm_dp_link helpers in dp training
...
The drm_dp_link is removed. And link.num_lanes is instead by
max_lanes. Link.rate is instead by max_rate.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
Change-Id: I95cbaa541bdf28133ab86f46ce3ac9f0903d364d
2023-07-21 18:42:27 +08:00
Chris Zhong
0aefe26fd9
FROMLIST: drm/rockchip: add transfer function for cdn-dp
...
We may support training outside firmware, so we need support
dpcd read/write to get the message or do some setting with
display.
Change-Id: If89911e6205546df1a5ae8997ea214d5d2a60af6
Signed-off-by: Chris Zhong <zyw@rock-chips.com >
Signed-off-by: Lin Huang <hl@rock-chips.com >
Reviewed-by: Sean Paul <seanpaul@chromium.org >
Reviewed-by: Enric Balletbo <enric.balletbo@collabora.com >
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
(am from https://patchwork.kernel.org/patch/10420461/ )
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
2023-07-21 18:42:27 +08:00
Zhibin Huang
f3eda81058
phy/rockchip: inno-dsidphy: remove duplicate code from inno_dsidphy_mipi_mode_enable()
...
Remove one duplicated call inno_mipi_dphy_lane_enable().
Fixes: 45963f36a7 ("phy/rockchip: inno-dsidphy: add rk3568 dsi dphy support")
Change-Id: I64d9e51d7f7d2ff2cc426f9cd3f81ef1e38fa414
Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com >
2023-07-21 18:41:01 +08:00
Cai YiWei
ce8d18569c
media: rockchip: isp: fix drc and hdrmge err for multi sensor
...
Change-Id: Iec602581f6d7b99076544ebada6cb39eea69393e
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2023-07-21 15:18:51 +08:00
Yandong Lin
eecc48ce7b
video: rockchip: mpp: disable usr poll timeout
...
Use wait_event_interrupt to replace wait_event_timeout.
The task irq or task work timeout will wake up the session wait.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I47254ca0e66b210d91578b24d63578f9ea5308f9
2023-07-21 10:27:27 +08:00
Cai YiWei
57de878a74
media: rockchip: isp: version to v2.2.2
...
Change-Id: I3c446f6e0e9a8a8ad3cd269a629524128387ad43
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2023-07-20 20:04:10 +08:00