Commit Graph

1287774 Commits

Author SHA1 Message Date
Tao Huang
6c0e0dcc12 Merge commit '06f6ae89f8f371f4a923cc0bd9d1d05c3ed769dd'
* commit '06f6ae89f8f371f4a923cc0bd9d1d05c3ed769dd':
  clk: rockchip: rv1126b: fix clk_ref_pipephy parent clk
  pwm: rockchip: use the completion to check whether biphasic result is valid
  pwm: rockchip: use the completion to check whether frequency result is valid
  arm64: dts: rockchip: add rk3588-vehicle-evb-v23-linux
  drm/bridge: analogix_dp: use &link_train.max_lane_count to determine the &link_train.lane_count
  media: rockchip: fec: add module parameter cache_linesize
  pwm: rockchip: fix the check of disabling process for continuous biphasic counter mode
  arm64: dts: rockchip: rk3576: add dmcdbg node
  arm64: dts: rockchip: rk3588: add dmcdbg node
  arm64: dts: rockchip: rk356x: add dmcdbg node
  arm64: configs: rockchip_linux_defconfig enable ROCKCHIP_DMC_DEBUG
  ARM: configs: rockchip_linux_defconfig enable ROCKCHIP_DMC_DEBUG
  soc: rockchip: dmc_debug: move driver and support more rockchip SOCs
  arm64: dts: rockchip: rv1126b: add pvtpll node for isp
  clk: rockchip: clk-pvtpll: add isp pvtpll clk for rv1126b
  ARM: configs: rv1126b-ipc.config: update camera sensor
  net: can: rockchip: rk3576: support auto retx cnt setting
  media: rockchip: vicap fixes array out of bounds issue
  arm64: dts: rockchip: rv1126b-evb3-v10: fix mclk and dphy error

Change-Id: I0d84a2d30e52d4667820a2cf3d326f966492fa57
2025-04-16 20:14:40 +08:00
Elaine Zhang
06f6ae89f8 clk: rockchip: rv1126b: fix clk_ref_pipephy parent clk
Change-Id: I9f127782afc4846485931733bb22f0384abce2a4
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2025-04-16 12:06:07 +00:00
Damon Ding
856d44d638 pwm: rockchip: use the completion to check whether biphasic result is valid
In some cases, the discontinuous biphasic result may not be valid
after sleeping for specified time due to the interrupt preemption.
Therefore, it may be better to use the completion and set the actual
wait time to the 3/2 of the specified delay time.

Change-Id: Ib7ee5f7ceb53c195178e25d745985577fa8a6c4c
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-16 10:15:05 +00:00
Damon Ding
4fcd88017a pwm: rockchip: use the completion to check whether frequency result is valid
In some cases, the frequency result may not be valid after sleeping
for specified time due to the interrupt preemption. Therefore, it may
be better to use the completion and set the actual wait time to the
3/2 of the specified delay time.

Change-Id: I5b9879ff9eaaf41ace5534040e0e47ec9bca7cc0
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-16 10:15:05 +00:00
Zitong Cai
a9be2283b5 arm64: dts: rockchip: add rk3588-vehicle-evb-v23-linux
Change-Id: Icf1352cd1f5cf8177e5fc86ac0b9cf312cd7ff94
Signed-off-by: Zitong Cai <zitong.cai@rock-chips.com>
2025-04-16 17:18:21 +08:00
Damon Ding
e1f6d87fc5 drm/bridge: analogix_dp: use &link_train.max_lane_count to determine the &link_train.lane_count
Fixes: a205209330 ("drm/bridge: analogix_dp: Add &link_train.max_link_rate and &link_train.max_lane_count")
Change-Id: I9938e43bd37ddfc93838849c35dd2e76c8d31f0c
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-16 08:00:37 +00:00
Xu Hongfei
3a1446746c media: rockchip: fec: add module parameter cache_linesize
mapping between value and mode:
0: 64B
1: 64B
2: 128B(default)
3: 128B

Signed-off-by: Xu Hongfei <xuhf@rock-chips.com>
Change-Id: Ic4bf8ab9486e1fabeedce2b5baeebb8bed6edba8
2025-04-16 07:59:45 +00:00
Damon Ding
14c4d46162 pwm: rockchip: fix the check of disabling process for continuous biphasic counter mode
If the &rockchip_pwm_biphasic_config.enable is set to false in
continuous biphasic counter mode, &rockchip_pwm_chip.biphasic_config
will be set to NULL after &rockchip_pwm_funcs.set_biphasic.

Without this patch, there may be the null pointer exception.

Fixes: 7a42db27aa ("pwm: rockchip: support for biphasic counter mode")
Change-Id: Ie6fb5e3b1c69ae055720716531ddebb64dbf30bf
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-16 07:58:15 +00:00
YouMin Chen
1c78e90e9e arm64: dts: rockchip: rk3576: add dmcdbg node
Change-Id: I585f65eb4499148254cd182dbc07f01c9415a8c1
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2025-04-16 07:49:58 +00:00
YouMin Chen
099aace73e arm64: dts: rockchip: rk3588: add dmcdbg node
Change-Id: I3c85a9be7ef20cadbb15156f2c936bf5d1cdf334
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2025-04-16 07:49:58 +00:00
YouMin Chen
03c1fbf979 arm64: dts: rockchip: rk356x: add dmcdbg node
Change-Id: I166e113176f054a07ec4b88f344f76ec3efd8aec
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2025-04-16 07:49:58 +00:00
YouMin Chen
08801283e8 arm64: configs: rockchip_linux_defconfig enable ROCKCHIP_DMC_DEBUG
Change-Id: I8136fe14ba1572300a21700ae4b8efff233ff7ac
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2025-04-16 07:45:48 +00:00
YouMin Chen
478e4ff291 ARM: configs: rockchip_linux_defconfig enable ROCKCHIP_DMC_DEBUG
Change-Id: I59e3c646f09de88e56ce13c65a343bb829f655ca
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2025-04-16 07:45:25 +00:00
YouMin Chen
c065ef4421 soc: rockchip: dmc_debug: move driver and support more rockchip SOCs
Change-Id: I310e53b7e8333a2fff7b69b284fe3e8a8dcd4861
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Signed-off-by: YouMin Chen <cym@rock-chips.com>
2025-04-16 15:26:00 +08:00
Liang Chen
625ce41d30 arm64: dts: rockchip: rv1126b: add pvtpll node for isp
Change-Id: I536338f58a62db9c45a43358c6f518d8209b6675
Signed-off-by: Liang Chen <cl@rock-chips.com>
2025-04-16 04:05:11 +00:00
Liang Chen
9a1bda7890 clk: rockchip: clk-pvtpll: add isp pvtpll clk for rv1126b
Change-Id: Ieecb8492e1bb1da918bb486b3097d5356e647a14
Signed-off-by: Liang Chen <cl@rock-chips.com>
2025-04-16 04:03:57 +00:00
Weiwen Chen
79fb79ef7a ARM: configs: rv1126b-ipc.config: update camera sensor
-CONFIG_VIDEO_SC3336=m
-CONFIG_VIDEO_SC530AI=m
+CONFIG_VIDEO_SC450AI=m
+CONFIG_VIDEO_SC850SL=m

Update with cmd:
    make ARCH=arm rv1126b_defconfig
    cp .config tmp.config
    make ARCH=arm rv1126b_defconfig rv1126b-ipc.config
    ./scripts/diffconfig -m tmp.config .config > rv1126b-ipc.config

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I049cbec04bcee70e9b929c946ba8c88ae8da3a8e
2025-04-16 03:15:42 +00:00
Elaine Zhang
6d253a7dab net: can: rockchip: rk3576: support auto retx cnt setting
Change-Id: Ibe195527e08ed68c1f1262fe4957ab84c4426232
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2025-04-16 02:07:46 +00:00
Zefa Chen
9e061599fe media: rockchip: vicap fixes array out of bounds issue
Change-Id: Iaa4d6562aae6c0b43598253458d52b224246a18b
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
2025-04-16 02:06:34 +00:00
Su Yuefu
bf9e78d287 arm64: dts: rockchip: rv1126b-evb3-v10: fix mclk and dphy error
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I2dfcc163eb84c5e8cc2b1e55820b9036ff81fbe4
2025-04-16 02:04:06 +00:00
Tao Huang
d491b8d870 Merge commit '1c80d2ad198679ca0289d5f37136b879d8426a7d'
* commit '1c80d2ad198679ca0289d5f37136b879d8426a7d': (23 commits)
  arm64: dts: rockchip: rv1126bp-evb: Add spi nand config in rv1126bp-evb-v14.dts
  arm64: dts: rockchip: rk3576-vehicle-evb: Fix the flashing screen issue
  arm64: dts: rockchip: rk3576-vehicle-evb-v20.dts: Fix the flashing screen issue
  ARM: configs: Enable CONFIG_DRM_IGNORE_IOTCL_PERMIT for rv1126b-display.config
  media: rockchip: isp: fix isp32 lite stats error
  media: rockchip: fec: set the header offset for FBCE output
  media: rockchip: fec: add frame timeout info to procfs
  media: i2c: ov16880: add read otp support
  net: can: rockchip: rk3576: Fix dma function
  PCI: rockchip: dw: Optimize power down process
  arm64: dts: rockchip: rk3588: move rkcif_mipi_lvds4/rkcif_mipi_lvds5 to rk3588s.dtsi
  drm/rockchip: vop2: disable/enable cluster sub wins when entering/exiting PSR mode
  scripts: Add support for dts xlate from rv1126 to rv1126b
  drm/rockchip: vop2: add support mcu panel psr mode
  media: rockchip: aiisp: add procfs
  media: rockchip: vpss: support FBC format for rockit
  drm/rockchip: vop2: Leave vblank enabled after entering the PSR mode
  drm/rockchip: vop: Leave vblank enabled after entering the PSR mode
  arm64: dts: rockchip: rk3588: Add LCD module NE160QAM-NX1 eDP display board
  arm64: dts: rockchip: rk3576: Add LCD module NE160QAM-NX1 eDP display board
  ...

Change-Id: Ic98384b2581d9e9f84460ee6ea8f348019490f62
2025-04-15 20:29:43 +08:00
GangGuo Wang
1c80d2ad19 arm64: dts: rockchip: rv1126bp-evb: Add spi nand config in rv1126bp-evb-v14.dts
Signed-off-by: GangGuo Wang <gavin.wang@rock-chips.com>
Change-Id: If631127210307f66dcd852c0e4db2bec66cf2ed3
2025-04-15 12:14:34 +00:00
Zitong Cai
0d044fa811 arm64: dts: rockchip: rk3576-vehicle-evb: Fix the flashing screen issue
After completing the initialization of serdes in uboot, enter the kernel
to perform initialization again

Change-Id: I689c30f55d9e259e5adaa95029f7523026cbed0a
Signed-off-by: Zitong Cai <zitong.cai@rock-chips.com>
2025-04-15 09:46:50 +00:00
Zitong Cai
360ebad14a arm64: dts: rockchip: rk3576-vehicle-evb-v20.dts: Fix the flashing screen issue
After completing the initialization of serdes in uboot, enter the kernel
to perform initialization again

Change-Id: Ia603bd2b8892f1647d0c0fa37f38e1422f78a6b3
Signed-off-by: Zitong Cai <zitong.cai@rock-chips.com>
2025-04-15 09:46:08 +00:00
Caesar Wang
f7e3e42816 ARM: configs: Enable CONFIG_DRM_IGNORE_IOTCL_PERMIT for rv1126b-display.config
Change-Id: I6f60a766963ab11bba3866550c12ae0a4dc4c5f7
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2025-04-15 09:38:37 +00:00
Cai YiWei
6b1fd4927d media: rockchip: isp: fix isp32 lite stats error
error info
WARNING: CPU: 3 PID: 422 at drivers/media/common/videobuf2/videobuf2-core.c:2035 __vb2_queue_cancel+0x1f8/0x260
Modules linked in: bcmdhd(O)
CPU: 3 PID: 422 Comm: binder:422_2 Tainted: G        W  O       6.1.118 #390
Hardware name: Rockchip RK3562 EVB2 DDR4 V10 Board (DT)
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __vb2_queue_cancel+0x1f8/0x260
lr : __vb2_queue_cancel+0x38/0x260
sp : ffffffc00c3dbb60
x29: ffffffc00c3dbb60 x28: 0000000000000013 x27: ffffffc00c3dbcd0
x26: ffffffc0097266d8 x25: ffffff804b310e40 x24: ffffff800ff09a00
x23: ffffff80054f8538 x22: ffffff80054ee228 x21: ffffff80054ee228
x20: ffffff800ff09a00 x19: ffffff80054eded0 x18: ffffffc00bce1070
x17: 6e696d6165727473 x16: ffffffffffffffff x15: 0000000000000004
x14: ffffffc009ffc980 x13: 0000000000003fff x12: 0000000000000003
x11: 0000000000000000 x10: 0000000000000001 x9 : 32e96f8e48c96c00
x8 : 0000000000000001 x7 : 205b5d3038393739 x6 : 372e33303738205b
x5 : ffffffc00c3dba30 x4 : 0000000000000000 x3 : 0000000000000000
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 __vb2_queue_cancel+0x1f8/0x260
 vb2_core_streamoff+0x28/0xac
 vb2_ioctl_streamoff+0x84/0xb8
 v4l_streamoff+0x24/0x30
 __video_do_ioctl+0x2d8/0x3f0
 video_usercopy+0x418/0x9ac
 video_ioctl2+0x18/0x24
 v4l2_ioctl+0x4c/0x5c
 __arm64_sys_ioctl+0x90/0xc8
 invoke_syscall+0x40/0x104
 el0_svc_common+0xbc/0x168
 do_el0_svc+0x1c/0x28
 el0_svc+0x1c/0x68
 el0t_64_sync_handler+0x68/0xb4
 el0t_64_sync+0x164/0x168

Change-Id: Ic508f9f077333f951f396dc5ca05563238a5797c
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-04-15 09:07:15 +00:00
Xu Hongfei
ba50a2503c media: rockchip: fec: set the header offset for FBCE output
Signed-off-by: Xu Hongfei <xuhf@rock-chips.com>
Change-Id: Ib768695f7c75a95ad5779b95349aa34af64268d1
2025-04-15 08:20:30 +00:00
Xu Hongfei
7d79c22357 media: rockchip: fec: add frame timeout info to procfs
Signed-off-by: Xu Hongfei <xuhf@rock-chips.com>
Change-Id: Iafd172580d8ad04ecfc36d6bf361350536975ccb
2025-04-15 08:20:30 +00:00
Wang Panzhenzhuan
2a6adfdae4 media: i2c: ov16880: add read otp support
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Ib62e11283c4a1a59609d3cbe2c2fab1ae7ad8b2a
2025-04-15 08:06:22 +00:00
Elaine Zhang
5075a133a0 net: can: rockchip: rk3576: Fix dma function
Add dma thr setting.
Fix dma msize.

Change-Id: Ib4f5f4530ea42102793b8d5b790c44e165545cbf
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2025-04-15 14:58:13 +08:00
Jon Lin
4934e2a65f PCI: rockchip: dw: Optimize power down process
PCI Express Card Electromechanical Specification Revision 3.0
2.2.3. Power Down:
  3.3V/12V    _________________________________
                                               \__________
  PERST#      ______________
                            \_____________________________
  REFCLK      _________________________
                                       \__________________
  LINK        ______
                    \_____________________________________

Change-Id: I9f630c85a8022c02232f5898f35556f3eab20cfb
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2025-04-15 03:37:32 +00:00
Zefa Chen
1cb5049373 arm64: dts: rockchip: rk3588: move rkcif_mipi_lvds4/rkcif_mipi_lvds5 to rk3588s.dtsi
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I3d66d09c3ba8b33f7cb10c2225cda169307c480f
2025-04-15 10:57:12 +08:00
Damon Ding
1751c23835 drm/rockchip: vop2: disable/enable cluster sub wins when entering/exiting PSR mode
If the cluster sub wins are enabled, there will be POST_BUF_EMPTY
errors after entering the PSR mode, because cluster main wins are
disabled while the sub wins still are active. The patch can help
avoid these unexpected POST_BUF_EMPTY errors.

Change-Id: I3555e0c08c7c4eacf0ace472e3154693c03c6aa9
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-14 11:31:44 +00:00
Sugar Zhang
b831f32988 scripts: Add support for dts xlate from rv1126 to rv1126b
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I428eb77eef58cdcd035a633ffb5a2d4b813c09c3
2025-04-14 19:27:04 +08:00
Damon Ding
8d3d26903e drm/rockchip: vop2: add support mcu panel psr mode
Psr mode can help reduce power consumption when using the mcu panel,
which supports to refresh the image on its own while it remains
unchanged.

Change-Id: Ib9bd1bb472c996277eb374cc9ba1433ce3930d55
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-14 08:57:02 +00:00
Hu Kejun
2e47abd94d media: rockchip: aiisp: add procfs
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: I602bc22b493ee51fda7c66656bec4ef38a5a6f2d
2025-04-14 08:56:24 +00:00
Wei Dun
bb324ace46 media: rockchip: vpss: support FBC format for rockit
Signed-off-by: Wei Dun <willam.wei@rock-chips.com>
Change-Id: I1a7f77cd77350071204051c0033cfb697da244fb
2025-04-14 16:53:21 +08:00
Damon Ding
41f6f64858 drm/rockchip: vop2: Leave vblank enabled after entering the PSR mode
According to the following commits:
commit 9d0e3cac35 ("drm/atomic: Allow vblank-enabled + self-refresh "disable"")
commit 2bdba9d4a3 ("drm/rockchip: vop: Leave vblank enabled in self-refresh")

It is better to leave vblank enabled after entering the PSR mode, in
order to ensure that the vblank APIs (like DRM_IOCTL_WAIT_VBLANK) can
work in PSR mode. User space is not aware when the display system is
already in PSR mode, so this appears to be an API violation.

Without this patch, there may be a warning according to the following
check in drivers/gpu/drm/drm_atomic_helper.c:

static void
disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state)
{
......
		ret = drm_crtc_vblank_get(crtc);
		/*
		 * Self-refresh is not a true "disable"; ensure vblank remains
		 * enabled.
		 */
		if (new_crtc_state->self_refresh_active)
			WARN_ONCE(ret != 0,
				  "driver disabled vblank in self-refresh\n");
		else
			WARN_ONCE(ret != -EINVAL,
				  "driver forgot to call drm_crtc_vblank_off()\n");
		if (ret == 0)
			drm_crtc_vblank_put(crtc);
......
}

Change-Id: I95ee15864c1dfa1045c41c7a9ed2985bb6107f2b
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-14 07:09:12 +00:00
Damon Ding
c190cb7219 drm/rockchip: vop: Leave vblank enabled after entering the PSR mode
According to the following commits:
commit 9d0e3cac35 ("drm/atomic: Allow vblank-enabled + self-refresh "disable"")
commit 2bdba9d4a3 ("drm/rockchip: vop: Leave vblank enabled in self-refresh")

It is better to leave vblank enabled after entering the PSR mode, in
order to ensure that the vblank APIs (like DRM_IOCTL_WAIT_VBLANK) can
work in PSR mode. User space is not aware when the display system is
already in PSR mode, so this appears to be an API violation.

Without this patch, there may be a warning according to the following
check in drivers/gpu/drm/drm_atomic_helper.c:

static void
disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state)
{
......
		ret = drm_crtc_vblank_get(crtc);
		/*
		 * Self-refresh is not a true "disable"; ensure vblank remains
		 * enabled.
		 */
		if (new_crtc_state->self_refresh_active)
			WARN_ONCE(ret != 0,
				  "driver disabled vblank in self-refresh\n");
		else
			WARN_ONCE(ret != -EINVAL,
				  "driver forgot to call drm_crtc_vblank_off()\n");
		if (ret == 0)
			drm_crtc_vblank_put(crtc);
......
}

Change-Id: Ide735636ab53fd6977de5034b8cfc4c8341220af
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-14 07:09:12 +00:00
Damon Ding
423cb65164 arm64: dts: rockchip: rk3588: Add LCD module NE160QAM-NX1 eDP display board
The module NE160QAM-NX1 support eDP v1.4b with the following
features:

- Support resolutions 3840x2400p60 and 3840x2400p120
- 4 lanes eDP interface with 8.1Gbps link rates
- DPCD v1.4
- PSR(Panel self Refresh)
- DSC(Display Stream Compression)

Change-Id: I41361dc5500cd35234bfdc8436a50e3117c6fba2
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-14 11:40:44 +08:00
Damon Ding
51842a03a9 arm64: dts: rockchip: rk3576: Add LCD module NE160QAM-NX1 eDP display board
The module NE160QAM-NX1 support eDP v1.4b with the following
features:

- Support resolutions 3840x2400p60 and 3840x2400p120
- 4 lanes eDP interface with 8.1Gbps link rates
- DPCD v1.4
- PSR(Panel self Refresh)
- DSC(Display Stream Compression)

Change-Id: Ibd0472e00cef827900ef78320ef08fc372e265d3
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-14 11:40:44 +08:00
Damon Ding
a205209330 drm/bridge: analogix_dp: Add &link_train.max_link_rate and &link_train.max_lane_count
The &link_train.link_rate and &link_train.lane_count are used as the
max_link_rate and max_lane_count to check the bandwidth limitation
, select output format and so on. However, they both also are used as
the actual link_rate and lane_count for the eDP controller and phy.

So we add &link_train.max_link_rate and &link_train.max_lane_count
in order to avoid the confusion in the use of above variables.

On the other hand, some unexpected errors will occur without this
patch in some cases.

When I test the PSR function of eDP panel module NE160QAM-NX1, the
link rate will be set to the 8.1G, which is the max supported link
rate of this module, after exiting the PSR state, but it should be
5.4G corresponding to 3840x2400p60 resolution.

analogix_dp_detect(): set the &link_train.link_rate to 8.1G
  -> analogix_dp_fast_link_train():
     use the &link_train.link_rate as the previous link config
    -> analogix_dp_set_link_bandwidth()
      -> phy_configure():
	 error: invalid link_rate config 8.1G

Change-Id: I1a4ae3c1eb308c9e0d25fb7736de52336ea7f880
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-04-14 11:40:44 +08:00
Liang Chen
44a8de7d98 clk: rockchip: clk-pvtpll: calibrate pvtpll init frequency of enc/aiisp for rv1126b
Change-Id: I1da682ade0ce83d8fdebb769368512f54edbb188
Signed-off-by: Liang Chen <cl@rock-chips.com>
2025-04-12 11:25:24 +08:00
Xu Hongfei
5b5bbdabd0 arm64: dts: rockchip: rv1126b: Add resets for fec
Signed-off-by: Xu Hongfei <xuhf@rock-chips.com>
Change-Id: I9f974e46f92cf9b792f31d0e82d1d282907b46c1
2025-04-11 11:50:54 +00:00
Tao Huang
b1570188cd Merge commit '1220a99380b8d65488bec37f46398785ba605203'
* commit '1220a99380b8d65488bec37f46398785ba605203': (45 commits)
  media: rockchip: isp: uv write on-off if black and white switch for isp35
  media: rockchip: isp: fix w3a with aiisp for isp35
  drm/bridge: synopsys: dw-hdmi-qp: Get uboot color format from avi regs in dsc mode
  drm/bridge: synopsys: dw-hdmi-qp: Clear edid property when hdmi plug out
  arm64: dts: rockchip: rv1126b: Add power domain for vop/mipi_dphy
  soc: rockchip: power-domain: Add protect for rv1126b pd npu and vdo
  arm64: dts: rockchip: rv1126b: add optee dts
  ARM: configs: rv1126b-evb: enable icm42670
  drm/rockchip: vop2: fix the logic error to control the sharp en
  drm/rockchip: vop2: add more log for debug
  drm/rockchip: vop2: correctly get old/new vcstate
  drm/rockchip: vop2: init vp->output_if for logo state
  ASoC: rockchip: pdm: set pin as pdm function when record
  arm64: dts: rockchip: rv1126b-evb2-v10: Adapt the PMU IO states for the sleep mode
  media: i2c: gc8613: add 3840x2160 30fps linear mode setting
  arm64: dts: rockchip: rv1126b: rkrng: add clock setting
  dt-bindings: clock: rv1126b: fix HCLK_RKRNG_S_NS ID
  media: rockchip: fec: update procfs info
  mfd: display-serdes: Remove the loading of serdes child devices that are not enabled by DTS
  media: rockchip: vpss: support online FBC format input
  ...

Change-Id: I0e7f5df8201dfd7e5d4cf6786a2577f3810cb708
2025-04-11 19:05:41 +08:00
Cai YiWei
1220a99380 media: rockchip: isp: uv write on-off if black and white switch for isp35
Change-Id: Ib72fcbbc0520f81912b2af5e48a3aab61264af1b
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-04-11 10:31:47 +00:00
Cai YiWei
c747fe61ab media: rockchip: isp: fix w3a with aiisp for isp35
Change-Id: I17fd6a32670a609bac13cc4ccb0df92eff364817
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2025-04-11 10:31:47 +00:00
Algea Cao
db27b299b7 drm/bridge: synopsys: dw-hdmi-qp: Get uboot color format from avi regs in dsc mode
RK3588/RK3576 hdmi color format setting and dsc mode setting are
the same mask in the same register. If dsc is enabled for hdmi in
uboot, what color is hdmi output in uboot that cannot be obtained
from this register in kernel.
Since hdmi in dsc mode always sends avi infoframe, color format
of hdmi output in uboot can be read from the avi register.

Change-Id: I68157455342302338370feb9176b46e2051b4f01
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2025-04-11 09:57:03 +00:00
Algea Cao
f1c83fae2e drm/bridge: synopsys: dw-hdmi-qp: Clear edid property when hdmi plug out
If edid property is not cleared when hdmi plug out, edid value
maybe keep previous sink's when the hdmi is connected to another
sink.

Change-Id: I8d06de17040573de4ef4706183bd7b46c4002ae4
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2025-04-11 09:57:03 +00:00
Chaoyi Chen
eb9d019755 arm64: dts: rockchip: rv1126b: Add power domain for vop/mipi_dphy
Change-Id: Ie5413704450ea82de9a9520356ffb5bedcccc7cc
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
2025-04-11 17:49:55 +08:00