Commit Graph

1285622 Commits

Author SHA1 Message Date
Lin Jinhan
8abb17057b include: rk-camera-module: add cmd RKMODULE_SET_CHANNEL_STREAM
Change-Id: I9cebdde65a9da915c30fc08b292fd38ade17a1e4
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
2025-08-08 09:12:06 +00:00
Lin Jinhan
eccbd3d6aa include: rk-camera-module: add cmd RKMODULE_SET_CHANNEL_POWER
Change-Id: Ib0e8d9f03544e82bb1ed9f35950556e4021e0abd
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
2025-08-08 09:12:06 +00:00
Cai YiWei
1f04733d07 media: rockchip: isp: fix 3a error for multi sensor only vpss output
Change-Id: I35a7b8a1838497055c8c9f700173fe8ca25a1e92
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-08-08 11:04:19 +08:00
LongChang Ma
ef6778784a arm64: dts: rockchip: add rv1126b-evb1-v11-dual-cam dts
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com>
Change-Id: I0f95812c3f913be292807b6ed27f2afa86a3feda
2025-08-07 12:04:57 +00:00
Chujin Zhou
dfe935e67b ARM: configs: add rv1126b-rk628 configuration
Signed-off-by: Chujin Zhou <chujin.zhou@rock-chips.com>
Change-Id: If6e0e2119ffaeec38b2536cd63b058039e627cb6
2025-08-07 06:15:39 +00:00
Jianwei Fan
79eeda1e56 media: i2c: rk628: fix debugfs NULL parameter
Fixes: 84b8365717 ("media: i2c: rk628: fix debugfs "rk628" parent directory")

Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: Ie6e0fd8439c4dcbd9e432f3ec0a47e72bce989ab
2025-08-07 03:44:47 +00:00
Cai Wenzhong
6780c6bb81 media: i2c: maxim: fix resume condition judgment error
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Iece7263a205229f6e880549c69b3a7500738eed2
2025-08-06 10:09:45 +00:00
Ye Zhang
fc780966ae dt-bindings: pinctrl: rockchip: Add rockchips,group-info
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com>
Change-Id: I930c59e5c7f08853ce0438afb2971e075d9428d6
2025-08-06 09:50:57 +00:00
Ye Zhang
cdfc4753bf pinctrl: rockchip: support pin group check before config pin
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com>
Change-Id: I414c03f8809a8c8d182ceff81ef1530bf9e15a87
2025-08-06 09:50:57 +00:00
Ye Zhang
41309e9a75 include: dt-bindings: Add RK_GROUP_TO_BIT def for Rockchip pinctrl
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com>
Change-Id: Ia86d570e1d7a1bd706ac81b2427b3614b39a9fd2
2025-08-06 09:50:57 +00:00
Guochun Huang
c15f593970 drm/rockchip: dsi2: add support more bus format
1. add support RGB101010 bus format
2. add support DSC bpc 10bit
3. add support DSC bpp 10bit

Type: Fix
Redmine ID: N/A
Associated modifications: N/A
Test: N/A

Change-Id: If575cba6e9ffe07d75a1c4d215e4033164ca3ef0
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2025-08-06 09:48:49 +00:00
Chujin Zhou
9b72dd5881 ARM: dts: rockchip: add rv1126b-evb1-v11-fastboot-emmc-projector.dts
Signed-off-by: Chujin Zhou <chujin.zhou@rock-chips.com>
Change-Id: Icb3131b40559110621af97df363292d99bca7d52
2025-08-06 09:37:47 +00:00
Ye Zhang
52eead1a5e soc: rockchip: opp_select: Optimize leakage reading
Eliminates unnecessary get/put operations for the "leakage" cell.

Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com>
Change-Id: I3b1f1047725570e9bcb7d05aa015638ccc26c27b
2025-08-06 02:12:55 +00:00
Cai YiWei
f376a80ae9 media: rockchip: isp: version v3.1.0
Change-Id: I59b1c6ce390e377724b68488bef4066b23b45fad
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-08-06 01:23:30 +00:00
Cai YiWei
2d9deb5480 media: rockchip: isp: clear aiisp l2 stop status
Change-Id: I29dbdd8e4790bd58e3c87472a6faf25d58f8986e
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-08-06 01:23:30 +00:00
Sandy Huang
cbf6a0d4e2 drm/rockchip: drv: fix encoder possible_clones check failed
possible_clones is used to indicate which other encoders can share
a CRTC with the current encoder. The default logic is that an encoder
can exclusively occupy one CRTC. However, in scenarios such as writeback
or connector mirroring, we can support multiple encoders sharing one
CRTC, hence this logic is introduced.

If less this commit, the writeback or connector mirror will commit
failed at the drm_atomic_check_valid_clones(), which is introduced by
the following commit:

commit ffb55ddf26 ("drm: Add valid clones check")

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I6b962a3eee80b6fbe80d0dbea1d765b219d70719
2025-08-06 01:19:44 +00:00
Ye Zhang
065dad5d61 dt-bindings: opp: rockchip: Fix rockchip,pvtm-sample-time
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com>
Change-Id: Id937733fc3159372766afcb0a36d1695da9a3632
2025-08-06 01:11:55 +00:00
Jon Lin
3413776424 PCI: rockchip: dw_ep: Support building as a module
Supports compiling into ko, but for scenarios where the pre-loader
completes PCIe Endpoint initialization, if the ko format is used
to load the link, the link will be reset and the RC side needs to
remove/rescan the device again.

Change-Id: I455f44e3eb522b3c1953bddc4819e5245d65b67f
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-05 09:25:54 +00:00
Jon Lin
f10e6e9719 PCI: rockchip: dw_ep: Add debugfs support
Add dump fifo and RASDES Error event count;
Enable all event by default;

Usage:
1. enter /d/fxxx0000.pcie
2. cmd
  cat dumpfifo
  cat err_event
  echo disable > err_event // disable all err event
  echo enable > err_event // enable all err event
  echo clear > err_event // clear all counter

Change-Id: Ifb70f2859f50972bd1106884b48c0fcaec6fd1aa
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-05 09:25:54 +00:00
Jon Lin
854970d62f PCI: rockchip: dw_ep: Optimize structure variables sorting
Change-Id: I82b0aed9a5f86ce7efcb984910b075f35e6cefc3
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-05 09:25:54 +00:00
Jon Lin
0527e636c4 PCI: rockchip: dw_ep: Optimize register macro definition sorting
1.Sort by register offset;
2.Sort by register/register bitfiled.

Change-Id: I6fd6c394c23778230f36944212e824c6b88fe4f0
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-05 09:25:54 +00:00
Jon Lin
6d6a8fc3df misc: rockchip: pcie-rkep: Using BAR2 as device memory
1.Usually BAR2 can be used to map endpoint registers;
2.Using the noncache attribute can effectively avoid problems
caused by improper use by users.

Change-Id: I99a11c00d59079c080f6bd53291d970c60311430
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-05 09:25:54 +00:00
Cai Wenzhong
6542cc7762 media: i2c: maxim: driver version v3.10.00
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Ib88178d5fd02484342a3b848db32d457c3fa3034
2025-08-05 14:43:36 +08:00
Yuefu Su
56b2414e42 ARM: configs: rv1126b-tb: Support SD card mounting
Signed-off-by: Yuefu Su <yuefu.su@rock-chips.com>
Change-Id: I93397a95c54bc795d2cb3cde4f834d35fa15ae4f
2025-08-05 06:33:01 +00:00
Tom Song
59904137bc misc: vehicle: modify netlink nlmsg size
Change-Id: Ie40ffd08a78e45437a33749ac38fc8590a506d29
Signed-off-by: Tom Song <tom.song@rock-chips.com>
2025-08-05 02:48:07 +00:00
Chujin Zhou
27e40a2c2f arm64: dts: rockchip: Add rv1126b-evb1-v11-fastboot-emmc-projector.dts
Signed-off-by: Chujin Zhou <chujin.zhou@rock-chips.com>
Change-Id: I9ba99403423f2cab9efab388ad73201cb21cb294
2025-08-05 01:53:59 +00:00
LongChang Ma
99c20ba4ad arm64: dts: rockchip: rv1126b-evb-ext-rk628-hdmi2csi: add rk628 hdmiin 2 mipi csi2 dtsi
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com>
Change-Id: I4ef9990d6c69bb45d386166e9b0eee777776eeea
2025-08-04 12:31:05 +00:00
LongChang Ma
232162e61e arm64: dts: rockchip: add dual sc200ai sensor for rv1126b evb dual cam
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com>
Change-Id: I2075cb7a4ed4d2ff2c84924b4daa51e469a1bf2d
2025-08-04 14:53:37 +08:00
LongChang Ma
f5b1f7787a arm64: dts: rockchip: add dual sc635hai sensor for rv1126b evb dual cam
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com>
Change-Id: Id5d16e2ac39d6dd0c4cde96b7c5fc0b06e0eb978
2025-08-04 14:50:10 +08:00
Cai YiWei
22f3f7646f media: rockchp: vpss: drop frame for fast
Change-Id: Id5c18bf12099967649414818e1d3fd8119a8943f
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-08-04 02:07:04 +00:00
Cai YiWei
ec6497d2fc media: rockchip: isp: fix fast with vpss for isp35
Change-Id: Ic430e1274e8fb41f922baf1b58f6ac5d36da3dea
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-08-04 02:07:04 +00:00
Zefa Chen
ea87d9c92c media: i2c: ox03c10 fixes lenc bit_width error
Change-Id: I008ebf8a3a8a3da919d56866c3bef1ef495e0a61
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
2025-08-04 01:37:56 +00:00
Shengfei Xu
65ecb0038c arm64: dts: rockchip: rk817/rk809: Changing the implementation of pin functions
Change-Id: I95e9538a323547ecc1448ab27033a79b269b9dec
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2025-08-04 01:26:41 +00:00
Shengfei Xu
dd61e4243f mfd: rk809/rk817: Modify the switching method of the PMIC sleep function
The switching method of the pmic_sleep function has been changed
from relying on the pinctrl framework to directly manipulating
registers.

Change-Id: I730846063387c3d378304d3ee1553fb990cb1604
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2025-08-04 01:26:15 +00:00
Jon Lin
5d36ec40bf drivers: rkflash: Check unaligned sfc_request
Change-Id: I1ad5c0c34a071178e3ef52f33e5ae5b905061e2b
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-08-01 04:20:28 +00:00
Cai YiWei
08dcc444a4 media: rockchip: isp: fix b3dldc for isp35
Change-Id: I277bc48f132487811c28c27e6f443a4db33df9f2
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-08-01 11:05:28 +08:00
Hu Kejun
59f68a3106 media: rockchip: aiisp: add ioctl to clear unused iq params
Change-Id: I919881211c453d9885e76ccdf66c40dae5b96744
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2025-08-01 11:04:41 +08:00
Cai YiWei
541244ac65 media: rockchip: isp: support aibnr l2 for isp35
Change-Id: I9352221e4eacef9e00e06c1eaa36e8cad71aa7a6
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-08-01 11:04:32 +08:00
Hu Kejun
2eb86b9562 media: rockchip: aiisp: optimize aibnr out memory
Change-Id: I82f3bcdb4909ee429d5630249647e29b1d215b1d
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2025-08-01 11:04:20 +08:00
Cai YiWei
345baf095f media: rockchip: isp: optimize memory for isp35 aiisp
Change-Id: Iec6b616281cfecc9cb49276fddd4161b8d993758
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-08-01 11:03:57 +08:00
Cai YiWei
9cb38a48be media: rockchip: isp: aiisp switch for isp35 multi sensor
Change-Id: I0bcea36bb9d281c9cd79c43f5325a5d115134f58
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-08-01 11:03:49 +08:00
Cai YiWei
3d712791cd media: rockchip: isp: add iommu fault handler
Change-Id: Ic0cf002567e00dbdf2170cfcb3f6ac9bc6924d31
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-07-31 11:08:40 +00:00
Andy Yan
2c7f131ecb drm/rockchip: vop2: Fix error handling for get dclk_src
Fixes: f2b2283cd0 ("drm/rockchip: vop2: Support set dclk parent")
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: If0bee52a63e45584c2f65f53411ff4667bc70f6d
2025-07-31 19:00:18 +08:00
Shengfei Xu
3e3408b05a arm64: dts: rockchip: rk3576-rk806: Changing the implementation of pin functions
The functional switching of pins is implemented by drivers directly
manipulating registers‌.

Change-Id: Idfed4063feac123cb94b12680fe2c744c7dd692e
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2025-07-31 10:37:04 +00:00
Shengfei Xu
87bf9e13ce arm64: dts: rockchip: rk3588-rk806: Changing the implementation of pin functions
The functional switching of pins is implemented by drivers directly
manipulating registers‌.

Change-Id: Ib703c24c9fdc17e0217c9b9243f0c190261d7739
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2025-07-31 10:36:48 +00:00
Shengfei Xu
905a8088c7 regulator: rk806: Modify the implementation of RK806 shutdown
Configure the shutdown function and level by directly setting PWRCTRL1
register‌, bypassing the pinctrl subsystem. Implement PMIC reset by
toggling the RESET pin‌ of PMIC through CPU GPIO control.

Change-Id: I370fd20638ef0fa08bcb67a3304509dc058b99d6
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2025-07-31 10:35:44 +00:00
Xing Zheng
f9b09b3737 ARM: configs: rv1126b-aoa.config: Add config and enable ROCKCHIP_AOA_MIDDLEWARE with module
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I6b61313865fd7785ac28a7a6030755f1e245b897
2025-07-31 11:27:35 +08:00
Xing Zheng
3c09428e50 arm64: dts: rockchip: rv1126b-evb: enable AOA features
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I082a440003acf701cd5b797028e073f5c87a4fe9
2025-07-31 11:27:35 +08:00
Xing Zheng
baa721578b arm64: dts: rockchip: rv1126b-aoa: Add aoa_middleware node and enable related modules for AOA feature
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: Iedf6208dc65461caf60b5598490fd6d1427ad378
2025-07-31 11:27:35 +08:00
Xing Zheng
ba3cbacee7 arm64: dts: rockchip: rv1126b: Add aoa/dma-lp/aoa_mmap/aoa_sram for AOA feature
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: Ie5dfb9b8add09ffa4bb9a79a455c969c51811b4a
2025-07-31 11:27:35 +08:00