Elaine Zhang
ae54075776
clk: rockchip: rv1126b: add sclk_ddr
...
Change-Id: I64db75cb45a5e2704c99dd9003a3ec7e49a3c5aa
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
2025-03-31 06:08:23 +00:00
Lin Jinhan
7869f2591c
crypto: rockchip: rkce: fix asym NULL point reference
...
do_one_request cannot call crypto_finalize_akcipher_request,
otherwise it will result in a null pointer reference.
The asym algorithm needs to be changed to synchronous mode.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
Change-Id: I6615f113691a334b148da0364b7a1e3764d27739
2025-03-31 02:38:36 +00:00
Finley Xiao
2f09ca3e7b
arm64: dts: rockchip: rv1126b: Add clocks pd vdo
...
The top cru source clock of aclk rkvdec should enable when power on/off pd.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Ib6eea60ca59ad8a5fb79713781476f710bb51d9c
2025-03-31 01:12:09 +00:00
LiuDiMing Lin
8bf7cca1e6
arm64: dts: rockchip: rv1126b-evb-cam-csi0: add gc8613
...
Signed-off-by: LiuDiMing Lin <fenrir.lin@rock-chips.com >
Change-Id: Ic55b1bd9095bdf6bbc09f1a864e07be7085ac715
2025-03-31 01:11:42 +00:00
LiuDiMing Lin
22e1b4366e
ARM: configs: rv1126b-evb: Enable CONFIG_VIDEO_GC8613
...
Signed-off-by: LiuDiMing Lin <fenrir.lin@rock-chips.com >
Change-Id: Iaafc5f3a59d64202821318970ca7edecb4543f6c
2025-03-31 01:11:42 +00:00
Mingwei Yan
21e5b397be
media: rockchip: vpss: 1126b online scale add new chn ckg_dis
...
Signed-off-by: Mingwei Yan <mingwei.yan@rock-chips.com >
Change-Id: Icd876648d5b4211261c0260c1f240dd587e5d31e
2025-03-31 01:10:53 +00:00
Mingwei Yan
e64774227f
media: rockchip: vpss: fix online rockit no ch4_ch5
...
Signed-off-by: Mingwei Yan <mingwei.yan@rock-chips.com >
Change-Id: If057721051c58f7231c4f7aa43bb94d134becb54
2025-03-31 01:10:53 +00:00
Xuhui Lin
fcdfefe06c
arm64: dts: rockchip: rv1126b: Set spi0 and spi1 num-cs 2
...
Change-Id: I35525359c460ac40371d3cfe8ab4cce04222f9d9
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com >
2025-03-30 14:31:16 +08:00
Weiwen Chen
a5d6237c4c
arm64: dts: rockchip: rv1126b-evb: enable fspi0
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: I4a5e00cefad1141756ab82947b12b3a8c41a83d8
2025-03-29 09:05:22 +00:00
Hu Kejun
3c30c4e709
arm64: dts: rockchip: rv1126b: fix aiisp power domain status is error
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I2c4a923415309fadc46beab8b06aa973120beee2
2025-03-29 14:23:34 +08:00
Elaine Zhang
829933f380
clk: rockchip: rv1126b: add CLK_IS_CRITICAL for hclk_vi_root/pclk_vi_root/pclk_pmu_hp_timer
...
Change-Id: If33a49d91cd19af3696a1081f04e9412d2fdfb2c
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
2025-03-28 11:08:03 +00:00
LongChang Ma
556873febd
media: i2c: add gc8613 sensor driver
...
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com >
Change-Id: I4c28742fc59b148389b381e81b5c1cc9f5612461
2025-03-28 10:52:41 +00:00
Xuhui Lin
f48bd3826c
arm64: dts: rockchip: rv1126b: Change to OS_REG8 for reboot
...
ATF will use npor reset, so we need a os_reg that can't be reset.
Change-Id: Ie13953a915524b203808909c090eb4d5d88381fc
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com >
2025-03-28 10:52:05 +00:00
Yu Qiaowei
1c0e6c58e5
video: rockchip: rga3: fix match core error in rotate mode
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I8de477afdafcb127f3bf4dc53d2710c97e6d055f
2025-03-28 10:51:41 +00:00
David Wu
ec366993d0
net: phy: rockchip-fephy: Change 100M amplitude
...
According to the hardware test, the current 100M amplitude is too high,
and it is recommended to modify it to 0xc.
Change-Id: I6a50109d6ff171d4a3f1605b43bc6ca0ef21a750
Signed-off-by: David Wu <david.wu@rock-chips.com >
2025-03-28 10:51:06 +00:00
David Wu
91f17b34fa
arm64: dts: rockchip: rv1126b-evb: Use 50M clkin for macphy
...
Change-Id: I61e335da6ce875292a4d7ec1044f512e1540c8de
Signed-off-by: David Wu <david.wu@rock-chips.com >
2025-03-28 10:50:41 +00:00
David Wu
4ecf78653a
ethernet: stmmac: dwmac-rk: Use 50M clkin sel for macphy
...
It's better to use a 50M clock for fephy, and the disable enable switch
ensures better timing.
Change-Id: I965648ce08a6e2c7c6137b18e9390cc589f48afe
Signed-off-by: David Wu <david.wu@rock-chips.com >
2025-03-28 10:50:41 +00:00
Su Yuefu
e485322e16
media: i2c: sc450ai: Increase vblank of 2688x1520@30fps configuration
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: I88c0965ec9b1465dd147d559e29ee4f54d478fae
2025-03-28 17:22:25 +08:00
Zefa Chen
eac1461351
media: i2c: techpoint fixes error process of register fail
...
Change-Id: Ieb45667bdc846f387db55f161b1345ccb32a6701
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-03-28 16:57:04 +08:00
Shengfei Xu
f9a490e64d
regulator: rk806: Implement differentiated suspend modes based on the versions
...
Change-Id: I1cca19f0e2def02bb5e10855923d711d132afc43
Signed-off-by: Shengfei Xu <xsf@rock-chips.com >
2025-03-28 08:07:55 +00:00
Zitong Cai
83c34cbe28
arm64: configs: rk3576_vehicle: Disable CONFIG_MFD_MAX96745 and CONFIG_MFD_MAX96755F
...
Change-Id: I1e6b4c6a02c25d6b6ac722fd468c735047a6ec65
Signed-off-by: Zitong Cai <zitong.cai@rock-chips.com >
2025-03-28 08:04:31 +00:00
ZhengRong Ruan
bd6fc4aaeb
arm64: dts: rockchip: rv1126bp-evb: include rv1126bp-evb-v14-cam.dtsi instead
...
Signed-off-by: ZhengRong Ruan <ryan.ruan@rock-chips.com >
Change-Id: I98682ad2d61bc1084f9b26ffffe7885e8ec4efb7
2025-03-28 08:01:49 +00:00
Chaoyi Chen
4607212c34
drm/rockchip: vop: Fix dsp_layer_sel mask for RV1126
...
Fixes: fa6c7f1111 ("drm/rockchip: vop: sync with linux-4.19 for rk3399 vop")
Change-Id: I72a6aa71b3eccf761a0fa1884ab20751a10c3912
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com >
2025-03-28 08:00:48 +00:00
Chaoyi Chen
d4ce616382
drm/rockchip: vop: Add display layer sel support for RV1126B
...
The layer sel configuration is exclusive for RV1126B, only one of
them can be set to 0b01 for either layer2_sel or layer1_sel when two
layers are displayed on the same time.
1. For RV1126B:
dsp_layer2_sel, that is top layer:
- 2'b00 WIN0 is top layer
- 2'b01 WIN2 is top layer
dsp_layer1_sel, that is bottom layer:
- 2'b00 WIN0 is bottom layer
- 2'b01 WIN2 is bottom layer
For {dsp_layer2_sel, dsp_layer1_sel}:
- 4'b0001 : WIN0 on the top, WIN2 on the bottom
- 4'b0100 : WIN2 on the top, WIN0 on the bottom
2. For other version:
- 2'b00 select WIN0
- 2'b10 select WIN2
Change-Id: I4ab4928868a599e9b398e83aca88074c6e5eaabb
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com >
2025-03-28 08:00:48 +00:00
Xuhui Lin
307307e83f
arm64: dts: rockchip: rv1126b-evb1: set regulator-boot-on for vcc_sd
...
1. Rockchip U-Boot will use kernel dtb by default.
2. The legacy U-Boot GPIO driver need regulator-boot-on in dtb to set
correct SDMMC0_PWREN value.
3. regulator-boot-on will not affect SDMMC0 function in kernel.
Change-Id: I7160a2c1f29e35e2fcf29389dca60f507dea8cb4
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com >
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com >
2025-03-28 07:14:16 +00:00
Lin Jinhan
8242807f89
soc: rockchip: decompress_user fix scatter list check rules
...
sg_phys(sgl) == SZ_4G must be regarded as an illegal value
because the address space exceeds 32 bits.
Change-Id: I50dca3970654ea8ce4d60ea20ced7d5dcc843724
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
2025-03-28 06:11:47 +00:00
Hongjin Li
d0bc6a20e3
video: rockchip: mpp: rv1126b: Remove reduce_freq func for jpegdec.
...
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com >
Change-Id: Icdb37971e07fb931c234697aca7696322f4c206a
2025-03-28 06:06:20 +00:00
Zefa Chen
ed3daa8352
arm64: dts: rockchip: rv1126b-evb-cam-csi0: add imx327 lvds
...
Change-Id: I04de15defb64cd135c22ab28f9428a7b9e78ad35
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-03-28 03:33:10 +00:00
Zefa Chen
0e1e415515
phy: rockchip: mipi csi2 dphy fixes error reg of rv1126b lvds path0
...
Change-Id: Idcb76e1baeedd53ac3cba0d9f9dd917d292b7954
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-03-28 03:33:02 +00:00
Zefa Chen
17595d3848
media: rockchip: vicap fixes error of lvds for rv1126b
...
and compatitle with mipi and lvds links
Change-Id: I8bf79bdce46dc1979d7e17dabbcd87eae726e82d
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-03-28 03:32:54 +00:00
Caesar Wang
908356ad01
arm64: configs: enable uvc camera for rv1126b_defconfig
...
Change-Id: I6ba3c6482d3f1b501f93ca76b79073e7144b8ca5
Signed-off-by: Caesar Wang <wxt@rock-chips.com >
2025-03-28 10:54:45 +08:00
Caesar Wang
3555e6e9ee
arm64: configs: enable mpp configs for rv1126b
...
Change-Id: Ia0283c98297cfad00f1bc6f476cac44f0d16c2ea
Signed-off-by: Caesar Wang <wxt@rock-chips.com >
2025-03-28 10:54:45 +08:00
Ziyuan Xu
c458c9f8a8
net: ethernet: stmmac: ensure balanced gpiod_put when reset_gpio is non-existent
...
[ 2.911481] ------------[ cut here ]------------
[ 2.911491] WARNING: CPU: 2 PID: 1 at drivers/gpio/gpiolib-devres.c:327 devm_gpiod_put+0x38/0x44
[ 2.911523] Modules linked in:
[ 2.911538] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 6.1.118 #4
[ 2.911555] Hardware name: Rockchip RV1126B EVB2 V10 Board (DT)
[ 2.911566] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 2.911583] pc : devm_gpiod_put+0x38/0x44
[ 2.911601] lr : devm_gpiod_put+0x2c/0x44
[ 2.911617] sp : ffffffc00a7cb8e0
[ 2.911626] x29: ffffffc00a7cb8e0 x28: 0000000000000000 x27: ffffffc009b300c8
[ 2.911653] x26: 0000000000000020 x25: ffffff80036ee4a0 x24: ffffff807fb95230
[ 2.911679] x23: ffffff80036ee4a0 x22: 0000000000000000 x21: 0000000000000200
[ 2.911704] x20: 0000000000000000 x19: ffffff8003700880 x18: 0000000000000030
[ 2.911730] x17: 00000000adb2a87f x16: 000000004c06ebf7 x15: ffffffffffffffff
[ 2.911757] x14: 0000000000000000 x13: 0a303d6f6970675f x12: 7465736572205d35
[ 2.911782] x11: fffffffffffc3f18 x10: 00000000001104c0 x9 : ffffffc0089860b4
[ 2.911808] x8 : 0101010101010101 x7 : 79616c65642d7465 x6 : 1d0f1d16acf2e5f3
[ 2.911833] x5 : ffffff8003215eb8 x4 : 0000000000000000 x3 : ffffffc0089859a0
[ 2.911858] x2 : ffffffc00a7cb8f8 x1 : ffffff8003215eb8 x0 : 00000000fffffffe
[ 2.911884] Call trace:
[ 2.911893] devm_gpiod_put+0x38/0x44
[ 2.911911] stmmac_mdio_reset+0x11c/0x160
[ 2.911930] __mdiobus_register+0x14c/0x380
[ 2.911948] __of_mdiobus_register+0xbc/0x3c0
[ 2.911969] stmmac_mdio_register+0x140/0x334
[ 2.911986] stmmac_dvr_probe+0xf3c/0x1124
[ 2.912000] rk_gmac_probe+0x59c/0x930
[ 2.912017] platform_probe+0x6c/0xd4
[ 2.912039] really_probe+0xc4/0x3e0
[ 2.912058] __driver_probe_device+0x80/0x160
[ 2.912077] driver_probe_device+0x40/0x110
[ 2.912096] __driver_attach+0xec/0x1f0
[ 2.912115] bus_for_each_dev+0x74/0xd0
[ 2.912132] driver_attach+0x28/0x30
[ 2.912150] bus_add_driver+0x178/0x234
[ 2.912168] driver_register+0x7c/0x130
[ 2.912188] __platform_driver_register+0x2c/0x34
[ 2.912210] rk_gmac_dwmac_driver_init+0x20/0x28
[ 2.912227] do_one_initcall+0x48/0x250
[ 2.912245] kernel_init_freeable+0x298/0x300
[ 2.912266] kernel_init+0x28/0x12c
[ 2.912288] ret_from_fork+0x10/0x20
Fixes: 72834b57d9 ("ethernet: stmmac: Release reset gpio desc for mdio reset")
Change-Id: I5d0f171abf5f66d2fe5eaa6e8089e870d6d4f308
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com >
Signed-off-by: David Wu <david.wu@rock-chips.com >
2025-03-28 02:44:37 +00:00
Su Yuefu
f13e482d26
arm64: dts: rockchip: rv1126b-evb3-v10: Add spi nor flash support
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: Iac977e53c11b689c4727e055a00e49d7bb3659ec
2025-03-28 02:35:37 +00:00
Su Yuefu
8d2f28d05e
arm64: dts: rockchip: rv1126b-evb3-v10: fix pwm pinctrl error
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: I8a48ff00a42ae44d92dec0e534d0c3b36ad5e995
2025-03-28 02:35:17 +00:00
Yandong Lin
8296f8e177
arm64: dts: rockchip: rv1126b: Modify clk_core to 550M for rkvenc
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I08a1f2f753dadab7c17ea93b4420f919b7135eff
2025-03-28 09:59:46 +08:00
Sugar Zhang
4d7554b1f4
ARM: dts: rockchip: Add RV1126B EVB Board
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: I40a076eb0a9325220348dfcb27fb8d3de6a7d3ab
2025-03-27 20:43:39 +08:00
LongChang Ma
9bdb4baee3
arm64: dts: rockchip: rv1126bp-evb: add support evb v14 camera dtsi
...
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com >
Change-Id: Ie51c1578b02bb9e27fff71c2a9b27cebb36a8777
2025-03-27 20:43:39 +08:00
Su Yuefu
8527069fb6
arm64: dts: rockchip: rv1126b-evb: Enable AIISP
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: I2680126c3c7f37f3dbfbad7e729f478c427f8729
2025-03-27 20:43:39 +08:00
Hongming Zou
d480d090ec
arm64: dts: rockchip: rv1126bp-evb-v14: add gt1x node
...
Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com >
Change-Id: I9530a840c4325c63edccdf2491c0353355659e51
2025-03-27 20:43:39 +08:00
Hongming Zou
27c4d5aa70
arm64: dts: rockchip: rv1126bp-evb-v14: add dsi
...
support ilitek ili9881d panel
support dsi display timing 720x1280@60 with 4 lanes, data rate 480 Mhz
Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com >
Change-Id: I1052cbe424bcda51f0a0c5d7c04541e6895c1efe
2025-03-27 20:43:39 +08:00
Hongming Zou
e4578df2ca
arm64: dts: rockchip: add RV1126BP EVB Board
...
Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com >
Change-Id: Idee8b8c27e9b57016b51ffdba38577e9c20473f2
2025-03-27 20:43:39 +08:00
Zefa Chen
60fac92af4
arm64: dts: rockchip: rv1126b evb1 support dvp cam
...
Change-Id: Ic584955131c0c83aec0b3e34b7e52bb14fc2ce17
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-03-27 20:43:39 +08:00
Zefa Chen
4176db1920
arm64: dts: rockchip: rv1126b evb2 support hdmi to bt1120
...
Change-Id: I7b1bab96c550f72068c641c5545413c9d642a3f1
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-03-27 20:43:38 +08:00
Caesar Wang
172cd7e771
arm64: dts: rockchip: enable uart2 for rv1126b evb1
...
Fixes the below error:
TAG:hciattach:Can't open serial port, 2, No such file or directory
TAG:hciattach:Can't initialize device 2, No such file or directory
Change-Id: Id719798266bd6fd991542168f12b8a7ff879217f
Signed-off-by: Caesar Wang <wxt@rock-chips.com >
2025-03-27 20:43:38 +08:00
Ruby Chen
bbdcd9cc75
arm64: dts: rockchip: rv1126b-evb: modify vpss nodes setting
...
Signed-off-by: Ruby Chen <ctf@rock-chips.com >
Change-Id: I7c41f160a17ec6aad0a4836972de0c150891c9ac
2025-03-27 20:43:38 +08:00
Zefa Chen
a01f52bfe0
arm64: dts: rockchip: rv1126b-evb-cam-csi0: add ahd cam with tp2815
...
Change-Id: Icadbdc54f086ad08dd14e32aeb84b3e001915b95
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-03-27 20:43:38 +08:00
ZhengRong Ruan
1b269f2405
arm64: dts: rockchip: rv1126bp-evb-v14: enable saradc
...
Signed-off-by: ZhengRong Ruan <ryan.ruan@rock-chips.com >
Change-Id: I0edaa4dfcd20680ba2c51d72e521b8588e9296a0
2025-03-27 20:43:38 +08:00
ZhengRong Ruan
9c7e62a8f8
arm64: dts: rockchip: rv1126b-evb: add adc keys support
...
Signed-off-by: ZhengRong Ruan <ryan.ruan@rock-chips.com >
Change-Id: I8042febc544fa61f2f2df63eff14dfc6f4fd7ffe
2025-03-27 20:43:38 +08:00
Xu Hongfei
068dd9a9b1
arm64: dts: rockchip: rv1126b-evb1: enable fec
...
Signed-off-by: Xu Hongfei <xuhf@rock-chips.com >
Change-Id: Ie606d9eebce61c8d42d32eb2f6e9236c58106635
2025-03-27 20:43:38 +08:00