Commit Graph

1268563 Commits

Author SHA1 Message Date
XiaoDong Huang
de26d52694 dt-bindings: suspend: rk3576: fix IO*_RET* macro
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: Ifb35d2e296168311c19db7e57c81aeee6582829b
2024-03-07 19:16:30 +08:00
Chen Shunqing
879ac52e30 arm64: dts: rockchip: disable android charge for rk3576 tablet
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
Change-Id: I1bb9b09281ef738c6eb6181b3605e21dfa8ea038
2024-03-07 19:11:11 +08:00
Yanjun Liao
dab823b23f video: rockchip: mpp: rkvenc2: clean irq_status after read split len
In vepu_510 the sli_done interrupt is triggered by slice_fifo not empty
status.Therefore when the sli_done_sta interrupt is cleared without
reading all the slice_len data in slice_fifo an extra interrupt will
be triggered. So it is better to clear the interrupt after reading all
slice_len to avoid false irq reporting. On the other hand, vepu_580 is
triggered only after writing a slice, without checking iif fifo is
non-empty, so there is no need to clear the interrupt again after reading the slice

Change-Id: If20a097b0e9fb41df9984c0ed316d717ba783ac4
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2024-03-07 19:10:18 +08:00
Yu Qiaowei
400d274169 video: rockchip: rga3: fix the memory arrangement of ARGB5551/4444
1. Fixed swap config of ARGB/ABGR 5551/4444.
2. RGA2 removes unsupported RGBA/BGRA 5551/4444 input.

Update driver version to 1.3.2

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I3d2300f07282a256e2950e3400e9a52e9702164d
2024-03-07 19:09:27 +08:00
Yu Qiaowei
af4fb1ab5d video: rockchip: rga3: support RGBA5551 alpha config
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I15f3beb8ba5cb085a54c8533af51d0157021fca0
2024-03-07 19:09:27 +08:00
Yu Qiaowei
9538efdbea video: rockchip: rga3: add bi-linear(scale-down) limits
If scaling is done vertically using bilinear interpolation, the input
resolution is forced to switch to average interpolation when it is
greater than 4096.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I66d2ecb76386d3f6378a241f7157af89f1e1542d
2024-03-07 19:09:27 +08:00
Yu Qiaowei
82f25254b8 video: rockchip: rga3: fix average(scale-down) factor calculation error
The initial speculation error may be related to inputs larger than 4K
and scaled down by more than 8 times. The current confirmation is that
the error is introduced due to division loss. To avoid this issue, it is
recommended to add rounding to the calculations.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ib2c4cd2e2fa9f002f65116c7491df60bb43c5e87
2024-03-07 19:09:27 +08:00
Ye Zhang
9ae8ebee20 arm64: dts: rockchip: rk3576: Add cooling devices
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com>
Change-Id: I29c83ec15ea917c48508226a133c5ae8fe4d780d
2024-03-07 18:59:15 +08:00
Zhang Yubing
3cce3a0a39 drm/rockchip: dw-dp: show logo in sst mode
Implementing dp mst mode in uboot need much time and is difficult,
So The dp show uboot logo stll in sst mode though the branch or
sink support MST when attach to RK3576 DP Port. If some methods
foud that easy to show logo in MST mode, MST mode will be support
when show logo.

In order to show kernel logo only in SST mode. The DP controller
driver should force the DPTX controller work in SST mode whether the
sink is mst-capable or not until finish show logo.

Change-Id: I8feef5b3feb6f98d249b470cbe4b3363ba218733
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-03-07 18:57:36 +08:00
Zhang Yubing
50e170f40d drm/rockchip: drv: get the sub dev for DP MST
Change-Id: Ife1df128b455d0f95bc91238231678700e1df2e9
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-03-07 18:57:36 +08:00
Zhang Yubing
7379ebcdf6 drm/rockchip: drv: put device node after used
Change-Id: Iab4a4cd2879303b0eaa056ec1040abb627886f0b
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-03-07 18:57:36 +08:00
Algea Cao
e34d4bd738 drm/rockchip: vop2: Fix crash caused by rk3588 accessing sharp register
[    7.197123][   T81] Unable to handle kernel NULL pointer dereference
at virtual address 0000000000000000
[    7.204067][   T81] Mem abort info:
[    7.204376][   T81]   ESR = 0x0000000096000045
[    7.204854][   T81]   EC = 0x25: DABT (current EL), IL = 32 bits
[    7.205391][   T81]   SET = 0, FnV = 0
[    7.205746][   T81]   EA = 0, S1PTW = 0
[    7.206123][   T81]   FSC = 0x05: level 1 translation fault
[    7.206628][   T81] Data abort info:
[    7.206969][   T81]   ISV = 0, ISS = 0x00000045
[    7.207387][   T81]   CM = 0, WnR = 1
[    7.207742][   T81] [0000000000000000] user address but active_mm is
swapper
[    7.208407][   T81] Internal error: Oops: 0000000096000045 [#1]
PREEMPT SMP
[    7.209028][   T81] Modules linked in:
[    7.209368][   T81] CPU: 1 PID: 81 Comm: kworker/u16:2 Not tainted
6.1.57 #18
[    7.209998][   T81] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board
(DT)
[    7.210604][   T81] Workqueue: events_unbound
deferred_probe_work_func
[    7.211197][   T81] pstate: 40400009 (nZcv daif +PAN -UAO -TCO -DIT
-SSBS BTYPE=--)
[    7.211872][   T81] pc : vop2_crtc_atomic_flush+0x2748/0x3c24
[    7.212384][   T81] lr : vop2_crtc_atomic_flush+0x2d88/0x3c24
[    7.212891][   T81] sp : ffffffc00acc3630
[    7.213245][   T81] x29: ffffffc00acc36a0 x28: ffffff81029b5528 x27:
ffffff81029b0040
[    7.213943][   T81] x26: ffffff8101288f00 x25: 0000000000000003 x24:
ffffff81029b0040
[    7.214640][   T81] x23: ffffff81029b4060 x22: ffffffc0095b8d00 x21:
ffffff81029b0040
[    7.215337][   T81] x20: ffffff810141e400 x19: ffffff81029b39a0 x18:
ffffffc00ac9d0c8
[    7.216034][   T81] x17: 0000000000000032 x16: 000000000000000c x15:
0000000000000080
[    7.216731][   T81] x14: 0000000000000000 x13: 0000000000000150 x12:
0000000029aaaaab
[    7.217427][   T81] x11: 0000000000000000 x10: 0000000000000000 x9 :
0000000000000001
[    7.218123][   T81] x8 : 0000000000000000 x7 : 000000000000028e x6 :
000000000000010e
[    7.218819][   T81] x5 : 000000000000028e x4 : ffffffc009a7aad4 x3 :
ffffff8101288300
[    7.219515][   T81] x2 : 0000000000000000 x1 : ffffff81015e8000 x0 :
0000000000000000
[    7.220213][   T81] Call trace:
[    7.220504][   T81]  vop2_crtc_atomic_flush+0x2748/0x3c24
[    7.220991][   T81]  drm_atomic_helper_commit_planes+0x180/0x1e0
[    7.221525][   T81]
rockchip_drm_atomic_helper_commit_tail_rpm+0x1b4/0x26c
[    7.222147][   T81]  commit_tail+0xa4/0x154
[    7.222526][   T81]  drm_atomic_helper_commit+0x1c4/0x1e4
[    7.223013][   T81]  drm_atomic_commit+0xa4/0xd0
[    7.223427][   T81]  rockchip_drm_show_logo+0x19e0/0x1d08
[    7.223914][   T81]  rockchip_drm_bind+0x1e8/0x298
[    7.224347][   T81]  try_to_bring_up_aggregate_device+0x168/0x1b4
[    7.224892][   T81]  __component_add+0xd0/0x17c
[    7.225302][   T81]  component_add+0x14/0x20
[    7.225690][   T81]  dw_dp_probe+0x6b0/0x700
[    7.226082][   T81]  platform_probe+0xa8/0xd0
[    7.226474][   T81]  really_probe+0x174/0x350
[    7.226862][   T81]  __driver_probe_device+0xa0/0x128
[    7.227315][   T81]  driver_probe_device+0x44/0x210
[    7.227747][   T81]  __device_attach_driver+0x12c/0x154
[    7.228211][   T81]  bus_for_each_drv+0x84/0xd0
[    7.228623][   T81]  __device_attach+0xf0/0x170
[    7.229033][   T81]  device_initial_probe+0x14/0x20
[    7.229465][   T81]  bus_probe_device+0x34/0x98
[    7.229876][   T81]  deferred_probe_work_func+0x7c/0xd8
[    7.230340][   T81]  process_one_work+0x1a8/0x3b8
[    7.230765][   T81]  worker_thread+0x300/0x430
[    7.231164][   T81]  kthread+0xec/0x1b8
[    7.231512][   T81]  ret_from_fork+0x10/0x20

Fixes: 9a8d044b07 ("drm/rockchip: vop2: Optimize sharp processe")
Change-Id: I55d3384066ca8e19302f874bf428c94158d6f867
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-03-07 16:01:04 +08:00
Johnson Ding
53048fad2a video: rockchip: mpp: Add JPEG VPU720 driver
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
Change-Id: Iba5904720c06db36474a68130959a2d0ef884c58
2024-03-07 09:26:43 +08:00
Johnson Ding
27d5a379b6 arm64: configs: rockchip_linux_defconfig: add JPEG Enc for rk3576
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
Change-Id: I77e3031b200d8e58b04bde2aaed557c119bfb872
2024-03-07 09:24:49 +08:00
Damon Ding
304cff0f62 pwm: rockchip: add pwm demos for test
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I6a9061c255748f32e10511346ec7095c883580db
2024-03-06 18:21:09 +08:00
Tao Huang
5bbb11788c Revert "arm64: dts: rockchip: enable clk/domains always for rk3576-linux.dtsi"
This reverts commit 7627a9033f.

Change-Id: Ia03d59f338c64388e708f9df0790ad467b9a6542
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-03-06 18:16:01 +08:00
Damon Ding
1504b8ffcf pwm: rockchip: add dclk scale config for wave generator mode
Change-Id: I0e578ad0b8da88b694d30b96c652483ff2e0f6b5
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-03-06 16:55:02 +08:00
Algea Cao
d4bbfe8793 drm/rockchip: vop2: Support rk3576 vivid hdr
`hdr_extend->hdr_type` add vivid hdr platform flag in bit[15:8]
to differentiate between different platforms in the future.
At present, only support rk3528/rk3576 vivid hdr, there is no
need to deliberately distinguish.

Change-Id: Id6e5dbc648358254e84397edc86a5e0c8cf97d8e
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-03-06 14:32:54 +08:00
Algea Cao
3c6f0f4fb0 drm/rockchip: vop2: Fix rk3576 flash when dynamic adjust acm cfg
If rk3576 acm update parameters, there is no need
to disable acm in the first frame.

Change-Id: Ibcb43fc6ddecb250c3454c66fea2646a16969586
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-03-06 14:32:54 +08:00
Algea Cao
9a8d044b07 drm/rockchip: vop2: Optimize sharp processe
1.Support sharp work in rgb bus-format:

Sharp must work in yuv overlay. If bus-format
is rgb, post csc must perform r2y conversion.

2.Keep sw_sharp_enable always on:

sw_sharp_enable is sharp's master switch. When
enable/disable sw_sharp_enable will be a brief
black screen in some TVs.
Therefore, it is necessary to keep sw_sharp_enable
always on and enable/disable sharp function by
switching sharp submodule.

Change-Id: Ia1d21b02d30f82e59ab3d82b8b914ee439cba52a
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-03-06 14:32:54 +08:00
Algea Cao
c08d820f80 drm/rockchip: vop2: Support post csc color range convert
Choose post csc mode directly by the color format and
color range of csc input/output.

Change-Id: Ib809e5898fd8a0178758e50ae9b8dfc4b8b63335
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-03-06 14:32:54 +08:00
Liang Chen
ff1d0a841c arm64: dts: rockchip: rk3576-rk806: remove regulator-always-on for vdd_gpu
Disable vdd_gpu when gpu is suspended to save power.

Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: I3c983fd9ab153e37bbde6adf609a368b1c0b6b4b
2024-03-06 14:26:20 +08:00
Damon Ding
6092eb96b6 drm/rockchip: vop2: add possible_vp_mask to calculate the exact possible_crtcs
Before the patch, the possible_crtcs in struct vop2_win_data
is used to register planes for DRM. But the index in struct
drm_crtc may be different from the id in struct vop2_video_port,
it may cause the warning:

[    3.105377][   T10] Bogus primary plane possible_crtcs: [PLANE:56:Esmart1-win0] must be compatible with [CRTC:72:video_port1]
[    3.105395][   T10] WARNING: CPU: 6 PID: 10 at drivers/gpu/drm/drm_mode_config.c:669 drm_mode_config_validate+0x380/0x4f0

To fix it, replace the possible_crtcs with possible_vp_mask
in struct vop2_win_data, which indicates the limitation by
vp id exactly, and add the vop2_win_get_possible_crtcs() to
calculate exact possible_crtcs for registration process.

Change-Id: Iaa866e90c894b9422f55872d0c5e7056f44dd489
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-03-06 14:19:27 +08:00
Damon Ding
42e759004f pwm: rockchip: add one period delay before disabling the dclk
For pwm v4, the disable operation, which sets polarity
to inactive state, will not take effect until the end
of current period.

Change-Id: Ie632b69d06495d96b79b9c743e69175cd5c175ed
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-03-06 14:12:46 +08:00
Sandy Huang
c260cfd73c drm/rockchip: vop2: fix memleak when suspend and resume
kmemleak info after enable CONFIG_DEBUG_KMEMLEAK:

    unreferenced object 0xffffff80112dba00 (size 256):
      comm "modetest", pid 255, jiffies 4294879760 (age 122.330s)
      hex dump (first 32 bytes):
        00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ................
        ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 ................
      backtrace:
        [<0000000092315209>] __kmem_cache_alloc_node+0x1a0/0x248
        [<00000000d5355e57>] kmalloc_trace+0x48/0xf8
        [<00000000b9e2dd8f>] crtc_or_fake_commit.part.25+0x64/0xa8
        [<00000000c1d5c4e3>] drm_atomic_helper_setup_commit+0x9f8/0xae0
        [<0000000061ec52ff>] drm_atomic_helper_commit+0x68/0x1f0
        [<00000000bb9021c0>] drm_atomic_commit+0x154/0x1a8
        [<00000000ef746510>] drm_mode_obj_set_property_ioctl+0x2d0/0x5d0
        [<00000000f75e1783>] drm_ioctl_kernel+0x144/0x190
        [<00000000adad488c>] drm_ioctl+0x35c/0x600
        [<00000000c21ad072>] drm_compat_ioctl+0x144/0x158
        [<000000003c3b054c>] __arm64_compat_sys_ioctl+0xf4/0x170
        [<00000000954b018e>] invoke_syscall+0x60/0x178
        [<00000000d1ca1895>] el0_svc_common.constprop.2+0x164/0x1f8
        [<00000000cd485e29>] do_el0_svc_compat+0x34/0x58
        [<00000000eda6b1c7>] el0_svc_compat+0x14/0x40
        [<00000000ec48711e>] el0t_32_sync_handler+0xdc/0xf8

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I3de539959269808a3918a993cb3dcd26bb5e02ed
2024-03-06 09:36:48 +08:00
Sandy Huang
dd013b9938 drm/rockchip: vop: fix memleak when suspend and resume
kmemleak info after enable CONFIG_DEBUG_KMEMLEAK:

unreferenced object 0xffffff80112dba00 (size 256):
  comm "modetest", pid 255, jiffies 4294879760 (age 122.330s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00  ................
    ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<0000000092315209>] __kmem_cache_alloc_node+0x1a0/0x248
    [<00000000d5355e57>] kmalloc_trace+0x48/0xf8
    [<00000000b9e2dd8f>] crtc_or_fake_commit.part.25+0x64/0xa8
    [<00000000c1d5c4e3>] drm_atomic_helper_setup_commit+0x9f8/0xae0
    [<0000000061ec52ff>] drm_atomic_helper_commit+0x68/0x1f0
    [<00000000bb9021c0>] drm_atomic_commit+0x154/0x1a8
    [<00000000ef746510>] drm_mode_obj_set_property_ioctl+0x2d0/0x5d0
    [<00000000f75e1783>] drm_ioctl_kernel+0x144/0x190
    [<00000000adad488c>] drm_ioctl+0x35c/0x600
    [<00000000c21ad072>] drm_compat_ioctl+0x144/0x158
    [<000000003c3b054c>] __arm64_compat_sys_ioctl+0xf4/0x170
    [<00000000954b018e>] invoke_syscall+0x60/0x178
    [<00000000d1ca1895>] el0_svc_common.constprop.2+0x164/0x1f8
    [<00000000cd485e29>] do_el0_svc_compat+0x34/0x58
    [<00000000eda6b1c7>] el0_svc_compat+0x14/0x40
    [<00000000ec48711e>] el0t_32_sync_handler+0xdc/0xf8

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I51af5ea1fb4151db07a926f84e3cecaa5a7dab95
2024-03-06 09:36:32 +08:00
Sandy Huang
5539d6bb37 drm/rockchip: vop2: adjust dp attached vp dclk parent fro rk3576/rk3588
For RK3588, if DP attached vp dclk parent is from v0pll, current vp dclk no need to use
hdmi phy pll; For RK3576, if DP attached vp dclk parent is from vpll, current
vp dclk no need to use hdmi phy pll;

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: If32d12df0df028cda48c7d0a5fd4e5513ec11265
2024-03-06 09:09:27 +08:00
Damon Ding
610a86973a arm64: dts: rockchip: rk3576-test1: enable logo for rgb display board
Change-Id: Ib61f5d51a5c990b6c90256bdef49693d1a0aff66
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-03-05 17:45:29 +08:00
Damon Ding
6695120068 arm64: dts: rockchip: rk3576-test1: enable logo for mcu display board
Change-Id: Ib752150389423844f78eabf068f478fc05ce63c0
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-03-05 16:07:13 +08:00
Tao Huang
5fdf94172a clk: rockchip: ROCKCHIP_PLL_RK3588 depends on CPU_RK3576
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I734f5e425b6c55c879d067a0380c55fb5c2fe64f
2024-03-05 15:22:40 +08:00
Tao Huang
7fbebce5b8 ARM: configs: Remove rockchip_defconfig which is Android only
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I0f7e31e22387f7cee5f67b31dee9395346c0aed7
2024-03-05 15:21:47 +08:00
Tao Huang
83ed06cd1c Revert "arm64: rockchip: add rockchip_defconfig"
This reverts commit d8e2297958.
Remove Android only config.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I6b535afac162b21e898954c4749c8103eb5a6945
2024-03-05 15:21:47 +08:00
Tao Huang
7b26c3949c Revert "arm64: configs: Add rockchip_gki.config"
This reverts commit d2573a1eaa.
Remove Android only config.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib0a42db69125af41423bab2f2bc5ae474ff66c5b
2024-03-05 15:21:47 +08:00
LongChang Ma
7850210020 arm64: dts: rockchip: rk3576-industry-evb-v10: add instutry evb cam support
Change-Id: I22b5b125fdaab8aa676136528b9d0ccc7666fde0
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com>
2024-03-05 15:13:24 +08:00
Jon Lin
7d5cca0a96 net: wireless: rockchip_wlan: bcmdhd: Remove CUSTOMER_HW_ROCKCHIP_RK3588 limitation for L1SS
Only using CONFIG_PCIEASPM_ROCKCHIP_WIFI_EXTENSION macro limitaition.

Change-Id: Ice14105ef12704f6639dc37398b5d872dca7fb0c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-03-05 15:11:03 +08:00
Jon Lin
568e1cc420 arm64: dts: rockchip: rk3576-pinctrl: Remove pcie perst# and wake#
These IOs are only used as GPIO.

Change-Id: I6edfdb6d740e98d610c8edff9299837172e2a281
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-03-05 15:10:41 +08:00
Cai YiWei
aae52d34ed media: rockchip: vpss: init driver for rk3576
Change-Id: I8fd1af91d055d0ebd30bd9898db6305a51fd7dda
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-03-05 15:03:39 +08:00
Finley Xiao
2cd86cca5e dt-bindings: power: rockchip: Document always-on
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Iba3f2cf8f679829bff79bbe8aa46be6ad59eecec
2024-03-05 14:28:15 +08:00
Finley Xiao
3d2046c557 soc: rockchip: power-domain: Add support parse always-on
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ib1498e3e57435c8610c04a38c1e36792afe49c0c
2024-03-05 14:28:15 +08:00
Zhang Yubing
78fcce4b05 drm/rockchip: dw-dp: check real dp connector for mst topology
Change-Id: I22189688001b3fbacba29a1ab68c3be8e7485d15
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-03-05 12:02:02 +08:00
Zhang Yubing
b9cf037fcf drm/rockchip: drv: wait dp mst dependent commit
Change-Id: Ib4638471993bba742f8cdb18662e06e6088ec07c
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-03-04 19:16:43 +08:00
Tao Huang
e764a11fb4 drm/rockchip: ROCKCHIP_VOP2 depends on CPU_RK3576
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib9e9b2ba26a03b5b062fb3dfa4da6c050b9392eb
2024-03-04 18:49:26 +08:00
Sandy Huang
46ffa115aa drm/rockchip: vop2: fix pic/transform offset for x/y mirror at afbc format
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ifb8ce0a41fba8c8ecff1703d5754e441afd80162
2024-03-04 16:47:02 +08:00
YouMin Chen
b2e1f767c9 arm64: dts: rockchip: rk3576: add rk3576 dmc relate node
Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: Idaf127c544897076949b2fef094bb9247fd08d2c
2024-03-04 16:33:22 +08:00
YouMin Chen
2df3322791 PM / devfreq: rockchip_dmc: add support for rk3576
Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: I2c975eb6da941ec1b4a61407a7ffd098b30e2c68
2024-03-04 16:33:22 +08:00
Zhihuan
37d6bdccf8 PM / devfreq: rockchip-dfi: Add support for rk3576 dfi
Change-Id: Ibb08ea9b4bb6896844bdca7ba11bc82cd93beced
Signed-off-by: Zhihuan <huan.he@rock-chips.com>
2024-03-04 16:33:22 +08:00
Zhang Yubing
16217f847c drm/rockchip: dw-dp: only print error info when disable/enable mst port
failed

when some issue happen when disable/enable mst port, not to
break the disable/enable process is better. If the process
is broke, something wrong may appear for vc time slots alloc.

Change-Id: I621834ca7d73c2701352eaf327fdd2e3c13bb2f4
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-03-04 16:17:15 +08:00
Zhang Yubing
acb9834e42 drm/rockchip: vop2: disable immediately enable bit for dp
Change-Id: Iea7045246a607af6874bc5bb77448a22388be7e4
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-03-04 16:17:15 +08:00
Jon Lin
d07cbc3eb2 ARM: dts: rockchip: rk312x: Add SPI0 clock
Change-Id: I4337420caae3be2f2c20393463d0475542f3d8a2
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-03-04 15:40:31 +08:00
YouMin Chen
607c12af74 clk: rockchip: rk3576: mark fclk_ddr_cm0_core as critical
Signed-off-by: YouMin Chen <cym@rock-chips.com>
Change-Id: I3800457b910e22d65e7f6e11462ad4d9a2169d09
2024-03-04 10:45:28 +08:00