Weiwen Chen
84dd084b65
arm64: dts: rockchip: Add rv1126-evb2-tb-400w board support
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: I9f7dbfc5e746df75f348f3934afe055eb689a6ab
2025-06-11 06:07:17 +00:00
Cai YiWei
6e5d7591f2
media: rockchip: isp: fix enh for isp35
...
Change-Id: If77975a818d03af2a468e22a1fe8dc61710d37ad
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2025-06-11 10:22:17 +08:00
Cai YiWei
6b34f8dc13
media: rockchip: isp: boottime for isp35
...
Change-Id: Idc2edacee2f8bb745e010efb8d849a659cfaaecb
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2025-06-11 10:22:14 +08:00
Jianqun Xu
3b93344b48
arm64: dts: rockchip: rk3576-iotest: fix property from 'gpio' to 'gpios'
...
The property 'gpios = ' is a fixed rule.
Change-Id: Ie7954834cb60216b8580d3d59147f8e3747e7bd6
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
2025-06-11 01:44:16 +00:00
Jon Lin
2920b6bde8
ubi: Change to fill ec_hdr and vid_hdr redundant space with ff data on rockchip
...
These hdr data is place in first two pages in the front of flash block,
most of the data is filled with 0 which may result in 0/1 data unbalance
and finally accelerate the data bit flip process. So using ff redundant
data pattern for data balancing is more stable for nand devices.
Change-Id: I77a9116a4575b94bc6e4da5334db4eaf3d8bcb83
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2025-06-10 20:11:10 +08:00
Finley Xiao
db89a88fcc
arm64: dts: rockchip: rv1126b: Use cpu-thermal for npu opp table
...
Fixes: 7a4d6cb92d ("arm64: dts: rockchip: rv1126b: Remove npu thermal")
Change-Id: I7c2c31a6be1d9b13ff59eb227a034b851976112e
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2025-06-10 10:30:52 +00:00
Ziyuan Xu
f18d276227
mmc: core: Skip the first CMD1 when CONFIG_ROCKCHIP_THUNDER_BOOT_MMC=y
...
Assume the capacity greater than 2GB, and skip the first CMD1
transmission to speed up eMMC initialization.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com >
Change-Id: Ic8553873c6d610390db3f031a0a30cdf5df306b6
2025-06-10 09:58:50 +00:00
Jiahang Zheng
db2b5394f0
arm64: configs: Add rockchip_amp.config
...
Change-Id: I6f4ebad2b83fc6eb69f08d9ade15dce88849e706
Signed-off-by: Jiahang Zheng <jiahang.zheng@rock-chips.com >
2025-06-09 10:58:21 +00:00
Jiahang Zheng
dcb117ae9b
arm64: dts: rockchip: Add RV1126B amp dtsi
...
Change-Id: I48c3fdbae620196abeef769f0b217be4ade0a6dc
Signed-off-by: Jiahang Zheng <jiahang.zheng@rock-chips.com >
2025-06-09 10:58:21 +00:00
David Wu
de6ded9f6a
i2c: rk3x: Fix DMA clean for Controllers without DMA
...
If supports DMA, make sure clean DMA states for current transfer,
but if not, don't clean it.
Fixes: 37f373979d ("i2c: rk3x: Add dma feature")
Change-Id: Iad8f999c074cb8710f14c7c0ed782b5df690d6ab
Signed-off-by: David Wu <david.wu@rock-chips.com >
2025-06-09 10:49:05 +00:00
Elaine Zhang
dc6b7b1715
arm64: dts: rockchip: rv1126b: add clk_cpll_div10 assigned clk rate
...
Change-Id: I2fdedc4ebd266082ac09514c5749f509f5a9cb2b
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
2025-06-09 10:48:50 +00:00
Elaine Zhang
d804f23988
clk: rockchip: rv1126b: fix clk_cpll_div10 parent clk
...
v0:
gpll ----|
|--DIV--clk_cpll_div10
cpll ----|
v1:
gpll ----------|
|--DIV--clk_cpll_div10
clk_asip_pll --|
Change-Id: I6cf2e4127c1272169abcea1a3ef380fd0be44606
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
2025-06-09 10:48:23 +00:00
Sugar Zhang
ab3bd32f21
soc: rockchip: cpuinfo: Add support for rv1126b
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: I9b8b73e78ff5e3ee36fd1fb6c415a04b6acf311b
2025-06-09 16:58:11 +08:00
Shunqian Zheng
2772aabf84
arm64: config: rv1126b: Enable CONFIG_RTC_DRV_ROCKCHIP
...
fix suspend resume
Change-Id: Ib90ae42a45690e3ae43698814ba0ea2283bd67f2
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com >
2025-06-09 07:09:56 +00:00
Chaoyi Chen
ceea326d94
drm/rockchip: drv: Only set clk loader protect when route node exist
...
rockchip_clocks_loader_protect() always call in arch_initcall_sync().
However, rockchip_clocks_loader_unprotect() is not called when the
DRM driver is not loaded, which assumes that these clocks will always
be enabled.
This may cause the clock to be turned on accidentally. In the case of
ebc, for example, when the ebc driver is enabled and the DRM driver
is not loaded, rockchip_clocks_loader_protect() will enable ebc clk.
In addition, rockchip_clocks_loader_unprotect() will not be called,
meaning that the ebc clock will always be on. However, the ebc driver
will also control the ebc clk, but it will not be able to actually
turn off the clk. The dmc driver will check the status of the clk in
the CRU while working, and it will always find that the clk is on.
This will cause a wrong judgment on the working status of the ebc.
This patch adds constraints to rockchip_clocks_loader_protect() to
protect clocks only when route nodes are available, which means that
the logo is already enabled during the u-boot stage, so it makes
sense to perform clock loader protect.
Change-Id: Ib9efbade547181e86516d19637995569a751fade
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com >
2025-06-09 06:33:55 +00:00
Caesar Wang
5b24af833e
arm64: configs: add rv1126b.config
...
Enable Rockchip RKNPU procfs interface and DMA heap support.
This commit enables two key configurations for Rockchip RKNPU support
on RV1126B platform.
Change-Id: I792b4e9223984d0d2e28639281585f615a015d50
Signed-off-by: Caesar Wang <wxt@rock-chips.com >
2025-06-09 06:26:00 +00:00
Liang Chen
309927bbcb
arm64: dts: rockchip: rv1126b: add opp-supported-hw for npu
...
Change-Id: I3ae282d0b2059ae9e8b3f81c3402d05e2300ad23
Signed-off-by: Liang Chen <cl@rock-chips.com >
2025-06-09 06:23:59 +00:00
Liang Chen
86ea348e9b
driver: rknpu: rv1126b: add support for get_soc_info/set_soc_info
...
Change-Id: I3c4a0f6561f80231009f4947094a8c2823c61656
Signed-off-by: Liang Chen <cl@rock-chips.com >
2025-06-09 06:23:54 +00:00
Liang Chen
0566ececb0
arm64: dts: rockchip: add RK3566PRO evaluation board devicetree
...
Signed-off-by: Liang Chen <cl@rock-chips.com >
Change-Id: Ie60d07d86193c195ba31798f24776a8573e8a797
2025-06-09 06:23:00 +00:00
Liang Chen
512465e0c0
arm64: dts: rockchip: add core dtsi for RK3566RPO Soc
...
Signed-off-by: Liang Chen <cl@rock-chips.com >
Change-Id: I81430bfcce410ddf9205e1b37482b7b869e4f556
2025-06-09 06:23:00 +00:00
Liang Chen
a3995931b6
arm64: dts: rockchip: rk3568: add specification_serial_number for cpuinfo
...
Signed-off-by: Liang Chen <cl@rock-chips.com >
Change-Id: If1c1a23631734c95185591aa3ada1d1879bc0e66
2025-06-09 06:23:00 +00:00
Liang Chen
a2422fd88f
soc: rockchip: cpuinfo: Add support for rk3566pro
...
Signed-off-by: Liang Chen <cl@rock-chips.com >
Change-Id: I0369c883a3025aad3764b695c8a10dd32b34c83f
2025-06-09 06:23:00 +00:00
Jkand Huang
cd9358989d
ARM: configs: rockchip: update rv1126b-wakeup.config
...
1. enable CONFIG_VIDEO_CAM_SLEEP_WAKEUP
2. enable CONFIG_SND_SOC_RK_DSM
3. enable CONFIG_SND_SOC_ROCKCHIP_MULTICODECS
Signed-off-by: Jkand Huang <jkand.huang@rock-chips.com >
Change-Id: I162f9727cd8800ed6e82cc4f3da4115dc225c0af
2025-06-07 10:09:33 +08:00
XiaoDong Huang
1337cd6a19
arm64: dts: rockchip: rv1126b-evb1-v10: rockchip_suspend: sleep-debug-en = 1
...
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com >
Change-Id: I57d48102e35a9b693c19c13121625cd7777183ae
2025-06-06 18:32:29 +08:00
XiaoDong Huang
4153da4ba0
arm64: dts: rockchip: rv1126b: rockchip_suspend: sleep-debug-en = 0
...
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com >
Change-Id: Ifa0c6165272c10771bb25db588354802ead26308
2025-06-06 18:32:18 +08:00
Ziyuan Xu
9d3d119972
arm64: dts: rockchip: Add rv1126b-thunder-boot for SPI Nor/eMMC
...
rv1126b thunderboot reserved memory layout:
H
_______________________
| |
| ramdisk_c |
|_______________________|
| |
| ramdisk_r |
0x48c40000 |_______________________|
| |
| mcu_log |
0x48c3c000 |_______________________|
| |
| mcu |
0x48c00000 |_______________________|
| |
| [TEEOS+TA+SHM] |
0x48400000 |_______________________|
| |
| mmc_escd |
0x48000000 |_______________________|
| |
| mmc_idmac |
0x47fffe00 |_______________________|
| |
| isp[0..1]_tb_rmem |
|_______________________|
| |
| meta |
0x41240000 |_______________________|
| |
| fdt |
0x41200000 |_______________________|
| |
| kernel_r |
0x40208000 |_______________________|
| |
| bl31 |
L |_______________________|
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com >
Change-Id: I69f4dcbf94d6a646794e993ad7dac0e94028ed47
2025-06-06 09:06:11 +00:00
Leo Sun
7cd68dc911
media: rockchip: sc850sl: Support for 40 frame rates
...
Change-Id: Idbaef7b7b9a1286b08733dc20e3200ae9266265f
Signed-off-by: Leo Sun <leo.sun@rock-chips.com >
2025-06-06 07:51:04 +00:00
Jkand Huang
04054a0ea7
arm64: dts: rockchip: rv1126b-evb2-v10: sc485sl enable hw_standby
...
Signed-off-by: Jkand Huang <jkand.huang@rock-chips.com >
Change-Id: Ie12fe2c2abacafcd54ead55a0b543fa028e08fa2
2025-06-06 07:49:47 +00:00
Cai YiWei
58b5fd106b
media: rockchip: isp: fix sequence error correction
...
Change-Id: I35ea43335f3475a8ddb2dafb25201a7523d9457e
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2025-06-06 09:55:04 +08:00
Algea Cao
1de9a23c54
drm/rockchip: vop2: Fix the abnormal brightness when post-csc is enabled
...
If all planes are in rgb format and are in yuv overlay, r2y
conversion is all carried out in bt601. In this scenario, the
input colorspace of post-csc needs to be selected as bt601.
Fixes: 2e4cd35f06 ("drm/rockchip: vop2: update color-encoding selection policy for post-csc")
Change-Id: I2311fe8b0edb3ad44fe98231e723e895df1a3d69
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
2025-06-05 07:39:13 +00:00
Wei Dun
9adbfafceb
media: rockchip: vpss: reset sw_vi2enc_sel on dvbm deinit
...
Signed-off-by: Wei Dun <willam.wei@rock-chips.com >
Change-Id: Ia74755db4cba45f74d2108240f8054856ed29d38
2025-06-05 07:18:49 +00:00
Algea Cao
21ccc2dfe7
arm64: dts: rockchip: rk3588-evb: Use the hdmi phy pll dynamic allocation mode
...
If the vp dclk clock source corresponding to hdmi is not the
corresponding hdmi phy pll, that resulting in abnormal display
of some resolutions. Furthermore, the use of hdmi phy pll can
support more non-standard resolutions.
Change-Id: I7a39ab2d73e912c596d8e1720d251e89c30b1f3b
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
2025-06-03 10:20:30 +00:00
Wei Dun
46bdb508e2
media: rockchip: vpss: fix ch5 output issue
...
Signed-off-by: Wei Dun <willam.wei@rock-chips.com >
Change-Id: Iacd285be0f36d9360eaba776e21b4efe6bc633c9
2025-06-03 10:12:25 +00:00
Wei Dun
907fb7fa62
media: rockchip: vpss: reduce rockit buf vmap
...
Signed-off-by: Wei Dun <willam.wei@rock-chips.com >
Change-Id: I271c2a056fccb6b16f08bfa1f56a1c668cc3b87d
2025-06-03 10:12:21 +00:00
Johnson Ding
994be34daf
video: rockchip: mpp: rkvdec2: Fix reg reading
...
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com >
Change-Id: I9dbc24bc1f577f72535dbd42c6d05ca24b0d2e63
2025-06-03 09:52:36 +00:00
Jon Lin
3791b78401
misc: rockchip: pcie-rkep: Fix mutex lock not released in pcie_rkep_release
...
Change-Id: I4be295e6efb7509fc5b0d1610f2f6b2c480bbf5d
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2025-06-03 09:09:04 +08:00
Jon Lin
f803534f3e
phy: rockchip-snps-pcie3: RK3588 phy lock determines compatibility with all bifurcation situations
...
Change-Id: I34d720cab1a949bb1f518674d85bcb0d81d40062
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2025-06-02 22:50:37 +08:00
Yu Qiaowei
8597ef189a
video: rockchip: rga3: adapt to kernel-6.12
...
Change-Id: I2770caf4f4363cce36cae4f8cfbb0be9d322e82b
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
2025-06-02 06:55:54 +00:00
Alex Zhao
3515a9f56b
net: r8168: update r8168 driver to v8.055.00
...
Signed-off-by: Alex Zhao <zzc@rock-chips.com >
Change-Id: I70c1788eb070ff4eab9aba51a2e52f95f4ab9d01
2025-06-02 06:25:32 +00:00
Zefa Chen
438259ec8c
media: rockchip: vicap fixes error use_count for switch device mode
...
Fixes: 4f7e1db593 ("media: rockchip: vicap support use switch device to switch sensor connect to one dphy")
Change-Id: Ieeca97ae618c50e8710c506c24391740092d61b3
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-05-30 11:36:41 +00:00
Zefa Chen
467befa859
media: rockchip: vicap fixes error start stream of aov for rv1126b
...
Change-Id: Ib1406393488ec3c9ca39d942d2e69ed6c06299b7
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-05-30 11:35:13 +00:00
Zefa Chen
026cc864c0
arm64: dts: rockchip: rk3562: remove unnecessary references to rkcif_mmu
...
Change-Id: I29f149b9c22d7eef4144c0b7f10717233416ce99
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
2025-05-30 11:34:44 +00:00
Yu Zheng
70d8930ab5
arm64: dts: rockchip: rv1126b-evb-cam-csi0: add imx586 support
...
Signed-off-by: Yu Zheng <yu.zheng@rock-chips.com >
Change-Id: I7853c95b97ed70bea5c284fa4994c2d01f6d1d3f
2025-05-30 11:33:58 +00:00
Yu Zheng
8ffb28b34f
ARM: configs: rv1126b-evb: enable imx586
...
Signed-off-by: Yu Zheng <yu.zheng@rock-chips.com >
Change-Id: I8ddfbf33ca2867209796fcc2154d4ddd770faf43
2025-05-30 08:52:20 +00:00
Jake Wu
63c77a77de
arm64: dts: rockchip: rk3588-evb7-v11: support usbhost3.0
...
Change-Id: I7ac5f41798e5333e1473560c0a0355dfb09091cd
Signed-off-by: Jake Wu <jake.wu@rock-chips.com >
2025-05-30 08:49:56 +00:00
Yu Zheng
75da3224ff
iio: imu: inv_icm42670: fix dead lock when resume
...
Signed-off-by: Yu Zheng <yu.zheng@rock-chips.com >
Change-Id: I1aae323d4ee49abcff374d80e3611da2f5c7c023
2025-05-30 08:49:26 +00:00
Liang Chen
27e9662f0c
video: rockchip: mpp: rkvenc2: add governor and device for devfreq
...
Change-Id: Ie92f2a0795359201a77fac4a3446a7c8e1b8e897
Signed-off-by: Liang Chen <cl@rock-chips.com >
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2025-05-30 08:38:45 +00:00
Finley Xiao
c9478f44f8
thermal: rockchip: Remove npu thermal for rv1126b
...
Change-Id: Id90719ccc5d67efb173869febacc86962621e159
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2025-05-30 08:29:19 +00:00
Finley Xiao
7a4d6cb92d
arm64: dts: rockchip: rv1126b: Remove npu thermal
...
Change-Id: Ie1e29b9abc8d483df644b82a4f267b72acaa5216
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2025-05-30 01:23:19 +00:00
Yandong Lin
bb98340ac5
video: rockchip: mpp_osal: Add func to get dma iommu mapping
...
Change-Id: I9c728c8b8048c16cdf85aa421a1192b11f53500c
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
2025-05-29 08:40:59 +00:00