Commit Graph

1285764 Commits

Author SHA1 Message Date
ZhengRong Ruan
df347526e6 arm64: dts: rockchip: add rv1126b-evb2-v12-fastboot-spi-nand.dts
Signed-off-by: ZhengRong Ruan <ryan.ruan@rock-chips.com>
Change-Id: I6434268022e5e65234d25cfdc0daf31776786a00
2025-08-29 01:23:50 +00:00
Yao Xiao
30e769eb27 net: mac80211: Added p2p0 for ap mode in softmac
Change-Id: I364d7bc0a51907c9518f83e5a49697b00ee9cc11
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
2025-08-29 01:22:47 +00:00
Simon Xue
c0d2580727 iommu/rockchip: add support pagefault fake mode
Fake mode accesses memory using the DTE address as the final physical
address on page fault, ignoring reads and discard writes. This resolves
VOP mmu hang issues caused by page faults.

Change-Id: I6b37b79a425c0341e53e0c8a786767a4b7da304e
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2025-08-28 08:47:57 +00:00
Wang Panzhenzhuan
7552dcf31c media: rockchip: cif: subdev-itf add update sensor info in s_power
cif subdev-itf need to update sensor info in s_power, fix
mipi switch case info error issue.

Change-Id: I1ce93c31e4b3c1631dac4c86e30c65b6d4503624
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
2025-08-28 08:30:21 +00:00
Wang Panzhenzhuan
ea8ce0984a media: i2c: ov08d10: fix wrong no ioctl return value
Wrong noioctl return value cause rkisp get cfg failed,
so fix it.

Change-Id: I70e310c35a565369ea760a06f45465f78a0c321b
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
2025-08-28 08:30:21 +00:00
Jon Lin
1df44e9668 misc: rockchip: pcie-rkep: Repair accidental deletion of ioctl PCIE_EP_RESET_CTRL
Fixes: 8633bf3947 ("misc: rockchip: pcie-rkep: Support continuous buffer")
Change-Id: I29bcf73f5af3d1e1a45fbb16da0b09cda9ff3f46
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-28 07:11:28 +00:00
Shawn Lin
28c7bb690f arm64: rockchip_linux_defconfig: Enable CONFIG_NVME_HWMON
Change-Id: Iabcbe619c415ae9bc4ab98982ab368f3b03c1008
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2025-08-28 11:23:18 +08:00
XiaoDong Huang
1825fc5818 rpmsg: rockchip_test: fix compile error
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: Ic9a26216e2d6494b3ce0856483ab0358250bf837
2025-08-28 01:20:38 +00:00
Jkand Huang
fbd92843d2 arm64: dts: rockchip: rv1126b-evb2-v10.dtsi: adjust voltage ranges for vdd_cpu and vdd_npu
Signed-off-by: Jkand Huang <jkand.huang@rock-chips.com>
Change-Id: Iddef11758f63ea31643898436376c2ff040d9f4d
2025-08-28 01:18:58 +00:00
Jkand Huang
7914308c23 arm64: dts: rockchip: rv1126b-pinctrl: set all dsm pins to pcfg_pull_down
Signed-off-by: Jkand Huang <jkand.huang@rock-chips.com>
Change-Id: I8251cddc014d8a6358047ea4d747a62960d8c900
2025-08-28 01:18:16 +00:00
Jkand Huang
5f5f85cab7 arm64: dts: rockchip: rv1126b-evb2-v10.dtsi: dsm use rn and rp pins
Signed-off-by: Jkand Huang <jkand.huang@rock-chips.com>
Change-Id: I63573f4cd158410d60cd522a3fbf4622f08cf3c3
2025-08-28 01:18:16 +00:00
Jon Lin
8633bf3947 misc: rockchip: pcie-rkep: Support continuous buffer
1.Add continuous buffer support:
    alloc continuous buffer by ioctl PCIE_EP_CONTINUOUS_BUFFER_ALLOC
    free continuous buffer by ioctl PCIE_EP_CONTINUOUS_BUFFER_FREE
    mmap continuous buffer virtual addr by ioctl PCIE_EP_SET_MMAP_RESOURCE_CONTINUOUS_BUFFER
2.Change to record mmap resource index under each task file.

Change-Id: Ib820086dd67b3f0bd2f820232491860b8e170ae3
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-27 10:29:04 +00:00
ZhengRong Ruan
8421327494 ARM: dts: rockchip: add rv1126b-evb2-v12-fastboot-emmc.dts
Signed-off-by: ZhengRong Ruan <ryan.ruan@rock-chips.com>
Change-Id: Ifecff7ac56ab6cf1038b588562fa9ca4549e2433
2025-08-27 09:15:52 +00:00
ZhengRong Ruan
65f350ecdf arm64: dts: rockchip: add rv1126b-evb2-v12-fastboot-emmc.dts
Signed-off-by: ZhengRong Ruan <ryan.ruan@rock-chips.com>
Change-Id: Ia34fe16b5e39d6f554978f97e1e2efde166ae20b
2025-08-27 09:15:20 +00:00
Zitong Cai
27382779b8 arm64: dts: rockchip: rk3588-vehicle-evb: Adaptation of the PMIC pin usage for the rk3588 vehicle EVB V23 board
Change-Id: I2845224e6059d30ca0c878345cfc5b9741045543
Signed-off-by: Zitong Cai <zitong.cai@rock-chips.com>
2025-08-27 17:13:24 +08:00
Zhang Yubing
5d6ddd1c67 drm/rockchip: dw-dp: compare the real bus format before for mode change
Change-Id: I73a655ae2f3fa0f49992d55161733a8047ad55cd
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2025-08-27 09:09:23 +00:00
Weiwen Chen
7dd4b52637 ARM: dts: rockchip: add rv1126bp-evb1-v12-fastboot-emmc.dts
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: If2add034e85e385008be02cc42f0b5214f70c32e
2025-08-27 14:32:13 +08:00
Weiwen Chen
30582bb0e5 arm64: dts: rockchip: Add rv1126bp-evb1-v12-fastboot-emmc.dts
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I2727cf1bff00d9e39d57fe1c2d95094f40431f30
2025-08-27 14:32:12 +08:00
Weiwen Chen
76207a56c4 ARM: configs: rv1126b-fastboot: SND enable SIMPLE_CARD and SOC_RK817
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I284daf97290f116f98b26c573ea8454d8efb318f
2025-08-27 14:32:12 +08:00
Simon Xue
b115421b4c media: videobuf2-cma-sg: Fix missing put rk-dma-heap-cma heap ref
Change-Id: Id3faa21f1fa0c6bf8357c7403df7b18119de1d22
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2025-08-27 09:58:37 +08:00
Simon Xue
9abccf14b4 dma-buf: rk_heaps: export rk_dma_heap_put
Change-Id: If5e55cc6528a86c8dfaea4ec6c7afb99e4df6087
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2025-08-27 09:41:38 +08:00
Zhang Yubing
ae9109eca6 drm/rockchip: dw-dp: protect panel status when show logo
Change-Id: I506170da755fb25d43296e28378299392de177e3
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2025-08-26 10:44:53 +00:00
Jon Lin
c42d5b7f6c mtd: spi-nor: puya: support PY25Q64LB
Change-Id: I88341697eb2e30d05fd9a09af11b9dec47b97b69
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-26 10:08:09 +00:00
Ziyuan Xu
468b76b222 soc: rockchip: thunderboot_mmc: Send CMD12 after transmission completion
There're two ways to support read multiple blocks transmission:
- Current design: SET_BLOCK_COUNT(CMD23) + READ_MULTIPLE_BLOCK(CMD18)
- READ_MULTIPLE_BLOCK(CMD18) + STOP_TRANSMISSION(CMD12)

CMD23 only support 2^16 blocks, we should change to plan B for the
larger size transmission.

Change-Id: Id8f3d11dbff65b8bac4b74ef2024862b6722fc26
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2025-08-26 09:51:08 +00:00
Liang Chen
3be4ad7282 arm64: dts: rockchip: rv1126b-evb: set venc-supply for evb1/evb4
Change-Id: I4aa7003bc8b0ba5f1c5f073f02561db95d497e43
Signed-off-by: Liang Chen <cl@rock-chips.com>
2025-08-26 09:46:30 +00:00
Jon Lin
488a2bed4a PCI: rockchip: dw_ep: Support building as a module when dma_test disabled
Change-Id: I43ef9a2b069f3b49c529170855e88b90984efbf5
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-26 09:41:54 +00:00
Jon Lin
e57fa106fe PCI: rockchip: dw: Add unregister_gpio_hotplug_slot
1.Call register/unregister in pair;
2.Only enable gpio_php when driver built in.

Change-Id: Ib7326a76333a5916842a8e3f15b7fa329b4dde77
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-26 09:41:54 +00:00
Jon Lin
a2dced0829 PCI: rockchip: dw: Add PCIE_DW_ROCKCHIP_RC_DMATEST macro limit for dma test unregister
Change-Id: Id9ba68883db0045f4709f8bd59d52914e66babfe
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-26 09:41:54 +00:00
Ziyuan Xu
63fa128c7f arm64: configs: Add rv1126b-fastboot.config
Change-Id: I53133fad68f969157d30870255ec56dfb814c69a
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2025-08-26 02:24:36 +00:00
Sugar Zhang
985029d2ea ASoC: rockchip: multi-dais: Use the frame burst
Always use the frame burst even if there is only one mapping.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I3774be5286d618dd61ed11e443ee657ea22cd8d8
2025-08-25 19:43:45 +08:00
Algea Cao
8395094403 drm/bridge: synopsys: dw-hdmi: Fix hdmi color can't be switched when entering kernel
In scenarios where U-boot can read EDID but the kernel cannot,
HDMI color of U-boot and the kernel may differ. The current color
switching process causes this scenario where HDMI enters the
kernel but fails to switch to the correct color. Optimize process
of switching colors to solve this problem.

Change-Id: I36c7d7e68e438bd33f9d2804d4a5a34edda9ba4a
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2025-08-25 10:52:16 +00:00
Algea Cao
949befa2e7 drm/bridge: synopsys: dw-hdmi-qp: Independently configure color and infoframe
When the HDMI status changes, there is no need to call
dw_hdmi_qp_setup() function every time. The configuration can be
carried out independently for specific changed parts. This can
reduce delays and avoid mutual interference.

Change-Id: I5999961893d517cba04c58ca0c96fe201d413ee0
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2025-08-25 10:52:16 +00:00
Yandong Lin
c79104d972 video: rockchip: mpp: Fix load info not clear issue
The default is to clear mpp load info during suspend, but suspend config may be turned off, resulting in load info not being cleared.

Change-Id: Ic930d3f691dc2f1694acfdc7ac1cbe4f022b4e62
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
2025-08-25 10:45:27 +00:00
Yandong Lin
6b47e41786 video: rockchip: mpp: rkvenc2: Fix the timeout threshold config issue
Change-Id: If08868806b167fa7d6b2dfd75b6ad0f44fde70a7
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
2025-08-25 10:45:17 +00:00
Ziyuan Xu
ea06a72307 arm64: dts: rockchip: Fixes mmc_ecsd address for rv1126b-fastboot-emmc
Fixes: dbdfcd9a91 ("arm64: dts: rockchip: Add rv1126b fastboot for emmc/spi nand/spi nor")
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I2797f7c9552c5ce4306858f59078f544fffa037b
2025-08-25 03:36:02 +00:00
Ziyuan Xu
5a0dd5d2ca ARM: dts: rockchip: Fixes mmc_ecsd address for rv1126b-thunder-boot-emmc
Fixes: 327f216065 ("ARM: dts: rockchip: Add rv1126b-evb2-v10-tb-400w-spi-nor support")
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: Id10e07c350f146e5c75f4657e3fa2b491e8c417c
2025-08-25 03:36:02 +00:00
Yifeng Zhao
9d7731c347 soc: rockchip: thunderboot_mmc: disable DMA upon transfer completion
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I8f61eae3acdef85157452a29124e95e7fc4cf1fb
2025-08-25 03:31:04 +00:00
Xu Xuehui
52a34e877e PCI/ASPM: Disable ASPM L0s/L1 on CYW989459 Wireless Module
Signed-off-by: Xu Xuehui <xxh@rock-chips.com>
Change-Id: Ib4b93edaa9161e4ebd46243561014bdbb87c43ca
2025-08-25 11:10:39 +08:00
Xu Xuehui
1ef5a401b9 Revert "PCI: disable L0s for CYW989459 Wireless Module"
This reverts commit fa17e4b1d3.

Signed-off-by: Xu Xuehui <xxh@rock-chips.com>
Change-Id: I5b7ee55610cfc0861e637f6234229f95b23bc44a
2025-08-25 11:10:31 +08:00
XiaoDong Huang
702cba79f0 dt-bindings: suspend: rv1126b: add RKPM_SLP_32K_IO macro
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I1c6b01d8023db0c82aaac0fcf6c23b054b676d4a
2025-08-22 16:39:58 +08:00
Wei Dun
308d917697 media: rockchip: vpss: add FBC format alignment check for width/height
Change-Id: Ia35e17fd0c825b694f609c2a8f3636d261465c7c
Signed-off-by: Wei Dun <willam.wei@rock-chips.com>
2025-08-22 06:06:43 +00:00
Weiwen Chen
8fa42a17cf arm64: config: rv1126b: Enable CONFIG_VIDEO_ROCKCHIP_AIISP
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I1c0cfae2b3044f733163fe0a538559a5857d2fd6
2025-08-22 11:24:53 +08:00
Yu Qiaowei
c820efabce video: rockchip: rga3: mpi_commit: support modify width/height in rotate 90/270
Change-Id: I20372e8b4b12ebc10ad3b9d89d9ef67c04edbdd5
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
2025-08-22 03:10:34 +00:00
Weiwen Chen
3b55829f9f arm64: config: rv1126b: Enable CONFIG_SQUASHFS
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I9571f0acb3ef6dcfc7740c22f6a7fa15e0ed6eba
2025-08-21 19:32:00 +08:00
Algea Cao
a958fa1893 drm/bridge: synopsys: dw-hdmi-qp: Make sure video data path is enable when start transmit video
When conducting FRL training, the video data transmitted from
VOP to HDMI must be disabled. Until the training is successful
or fails, then it will be reopened. When the FRL training fails,
the video transmission from the video to HDMI is not re-enabled.
This will result in the inability to display normally even when
switching to tmds mode after training fails.
Therefore, regardless of the specific scenario, when switching
to the tmds mode, the data transmission from VOP to HDMI must be
enabled.

Change-Id: I1c853c8197fdf7aaef32c80c5cdb73db13d9ec4c
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2025-08-21 11:16:10 +00:00
Algea Cao
0b7cf07695 drm/rockchip: Fix error in rgb2rgb matrix calculation
The variable 'T' in the calculation formula
'output = T * M1 * N_y2r * M0 * N_r2y' has been omitted.

Change-Id: I347eca9786729de0ce35c35f483b55a7cb62bd7e
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2025-08-21 11:15:56 +00:00
Jianwei Fan
979dc17bdd media: i2c: ov13b10: fix read otp error
Change-Id: I6ef10ccf49535fd5975fbf577d76ab88e6c21a60
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2025-08-21 11:15:33 +00:00
Weiwen Chen
cf53e1cb9e arm64: config: rv1126b: Enable CONFIG_ELF_CORE
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I9fe918caa258ab3852bb3ecd9836f1974dafa657
2025-08-21 08:36:34 +00:00
Damon Ding
8399e8fa0f drm/bridge: analogix_dp: Reuse &link_train.training_lane[] to set DPCD DP_TRAINING_LANEx_SET
In analogix_dp_link_start(), &link_train.training_lane[] is used to
set phy PE/VS configurations, and buf[] is initialized with the same
values to set DPCD DP_TRAINING_LANEx_SET.

It makes sense to reuse &link_train.training_lane[] to set DPCD
DP_TRAINING_LANEx_SET, which can remove the redundant assignments
and make codes more consice.

Change-Id: I38869c22f8cc93b18b3b27bc41a0975700b328d1
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-08-21 06:16:18 +00:00
Wei Dun
ce8decd06f media: rockchp: vpss: fix unite mode scaling and improve trigger logic
Change-Id: I4b725c09c3ddaeaba68399cbf90c38eba3c9e235
Signed-off-by: Wei Dun <willam.wei@rock-chips.com>
2025-08-21 06:12:50 +00:00