Commit Graph

1271915 Commits

Author SHA1 Message Date
Cai Wenzhong
1138b37041 media: i2c: maxim: driver version v3.06.00
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: If0c75766e3a8eaf6ad6921931c526454ca8b0511
2024-06-13 17:24:10 +08:00
Cai Wenzhong
b7fa365e98 media: i2c: maxim: local: fix the issue of mutex deadlock during hot plug
<3>[ 2169.596144][   T63] INFO: task irq/132-maxim4c:200 blocked for more than 720 seconds.
<3>[ 2169.596172][   T63]       Not tainted 5.10.160-abibuild_20240531.213136 #1
<3>[ 2169.596183][   T63] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[ 2169.596225][   T63] task:irq/132-maxim4c state:D stack:    0 pid: 200 ppid:     2 flags:0x00000008
<6>[ 2169.596243][   T63] Call trace:
<6>[ 2169.596254][   T63]  __switch_to+0x118/0x148
<6>[ 2169.596266][   T63]  __schedule+0x4ac/0x6f0
<6>[ 2169.596277][   T63]  schedule+0xa4/0xe8
<6>[ 2169.596287][   T63]  schedule_preempt_disabled+0x2c/0x48
<6>[ 2169.596297][   T63]  __mutex_lock+0x364/0x584
<6>[ 2169.596306][   T63]  __mutex_lock_slowpath+0x1c/0x28
<6>[ 2169.596316][   T63]  mutex_lock+0x44/0x68
<6>[ 2169.596327][   T63]  maxim4c_hot_plug_detect_irq_handler+0x30/0xa4
<6>[ 2169.596337][   T63]  irq_thread_fn+0x38/0x84
<6>[ 2169.596346][   T63]  irq_thread+0x1c4/0x264
<6>[ 2169.596356][   T63]  kthread+0x140/0x36c
<6>[ 2169.596366][   T63]  ret_from_fork+0x10/0x18
<3>[ 2169.596566][   T63] INFO: task kworker/u16:8:842 blocked for more than 720 seconds.
<3>[ 2169.596577][   T63]       Not tainted 5.10.160-abibuild_20240531.213136 #1
<3>[ 2169.596586][   T63] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<6>[ 2169.596619][   T63] task:kworker/u16:8   state:D stack:    0 pid: 842 ppid:     2 flags:0x00000028
<6>[ 2169.596638][   T63] Workqueue: maxim4c work queue maxim4c_hot_plug_state_check_work
<6>[ 2169.596651][   T63] Call trace:
<6>[ 2169.596661][   T63]  __switch_to+0x118/0x148
<6>[ 2169.596671][   T63]  __schedule+0x4ac/0x6f0
<6>[ 2169.596681][   T63]  schedule+0xa4/0xe8
<6>[ 2169.596691][   T63]  synchronize_irq+0x7c/0xb8
<6>[ 2169.596701][   T63]  disable_irq+0x78/0xa4
<6>[ 2169.596711][   T63]  maxim4c_hot_plug_state_check_work+0x324/0x394
<6>[ 2169.596722][   T63]  process_one_work+0x1f8/0x480
<6>[ 2169.596731][   T63]  worker_thread+0x278/0x4d4
<6>[ 2169.596741][   T63]  kthread+0x140/0x36c
<6>[ 2169.596759][   T63]  ret_from_fork+0x10/0x18

Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I9ca122e3c09a55b8a024e50da9ea2e3d176e72e0
2024-06-13 15:29:00 +08:00
Cai Wenzhong
e25c52a639 arm64: dts: rockchip: rk3576-vehicle-evb-maxim-max96712-d(/c)phy: dtsi remove vc-array config
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Ib00ff1132ca9485030311f9dce5f00914dd4d7f6
2024-06-13 15:29:00 +08:00
Cai Wenzhong
e92f14382b arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max9671(/2)2-d(/c)phy: dtsi remove vc-array config
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I17afa9775a79984917a2045a2d255badc2fa59a8
2024-06-13 15:29:00 +08:00
Cai Wenzhong
dc3b46a5c7 media: i2c: maxim: local: mode vc initialization when vc-array isn't configured
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Ia5df102b75aeaec9323dcca9a09785a39855c56a
2024-06-13 15:29:00 +08:00
Jianwei Fan
5b95b0a7bc media: i2c: lt6911uxe: add dual mipi support
Change-Id: I685a14c07579ee0010800594749544b9b0e3bd5c
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2024-06-13 15:25:40 +08:00
Xing Zheng
a4c81b775b ASoC: es8323: recover L/R stereo input and disable capture ALC and NG by default
Generally speaking, the codec needs to ensure the normal
input of left and right channels independently. If you
want to forcethe duplication of channels, you can configure
it through the control node in the user layer.

Enabling ALC NG here will cause the sound pickup effect
to be unstable.

And, the default public version does not need to turn on
the ALC NG function, so as not to introduce non-linear
processing to the backend algorithm and cause unnecessary
confusion to developers.

Change-Id: I52e376c7d992d4bd08e863134b4c596cbfccbe2b
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2024-06-12 17:37:35 +08:00
Wu Liangqing
cfd0cc7ba6 arm64: dts: rockchip: rk3562: rockchip_suspend disabled sleep debug
Change-Id: Id73d07cbd1d99704f2f6ad63ee340ef0f2b6fd1c
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2024-06-12 17:37:23 +08:00
Shawn Lin
f5f09fbd44 mmc: dw_mmc-rockchip: Fix internal phase calculate
ciu clock from CRU is 2 times of interface clock, so the delay number
maybe not so accurate as the sample phase is based on interface clock.

Change-Id: Ib8d66f1c7af18fa3888dafc4528a95aabfa8572f
Fixes: 1505eda5b9 ("mmc: dw_mmc-rockchip: Add internal phase support")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2024-06-12 16:06:06 +08:00
Zhihuan He
43675f80cc EDAC/rockchip: support ddr ecc poison
Change-Id: If3746dee41d2717f3c3ce9e3caa5c53ac9d8ef84
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2024-06-12 15:15:28 +08:00
Algea Cao
f5432bfa9d arm64: dts: rockchip: rk3576: fix apb clk to PCLK_HDPTX_APB for hdmi
The parent clock of PCLK_HDPTX_APB is PCLK_PMUPHY_ROOT,
which must be always on.

In order to reduce power consumption, replace apb clock
PCLK_PMUPHY_ROOT by controllable PCLK_HDPTX_APB in
suspend and plug out.

Change-Id: I856fa05382ea50a7541195d49941c113bbe3986a
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-06-11 15:17:16 +08:00
Elaine Zhang
a66d9bdbbe clk: rockchip: rk3576: export pclk_hdptx_apb
For edp and hdmi phy low power mode.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I288be0ffbf50a7ed78614d4813c5d4f8508d7405
2024-06-11 15:09:46 +08:00
Cai YiWei
9eacb0f92f media: rockchip: isp: fix ldcv irq handle
Change-Id: Iabada025762c66e6881472420e1351f5da2510ea
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-06-11 14:09:38 +08:00
Luo Wei
6785b797c8 arm64: dts: rockchip: rk3576-vehicle: add dp mst support for display serdes
dp-mst0: 1080P
dp-mst1: 720P

Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: I6b959dd6e23765b714e66ebddf4b134744ac16f0
2024-06-07 19:24:34 +08:00
William Wu
3191b79344 usb: typec: tcpci_husb311: Support to enable wakeup irq via dts
The husb311 driver disable irq wakeup if vbus is on
(e.g connect with an U Disk), it aimed to avoid wakeup
system from deep sleep immediately by husb311 irq if
the vbus was powered off during deep sleep.

However, some platforms can keep vbus on during deep
sleep, and it may want to support the husb311 irq to
wakeup system from deep sleep, so this patch adds an
option property "wakeup-source" for this scenario.

Fixes: a6a4762e0c ("usb: typec: tcpci_husb311: Refactor irq wakeup")
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I3a862b3b3e99fe12c4dbb87e09a0910b4602b92a
2024-06-07 17:43:45 +08:00
David Wu
57fd1a671e ethernet: stmmac: dwmac-rk: Fix rebind failed for this driver
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I29f72b36defa3d5b29a00a574073a790c19289d9
2024-06-07 17:41:55 +08:00
David Wu
eca19aef6a i2c: rk3x: Fix data update point for 10K and less 10K speed
Under the condition of 10K speed, data update point for data hold time
is calculated, which may exceed the maximum value 0x5, and the limit
is added to make its value within a reasonable range.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ic9cc68c172dc8720f6fa0bbc9714ce33ea9dc608
2024-06-07 17:41:55 +08:00
Zhibin Huang
49eb03b277 arm64: dts: rockchip: rk3576: correct mipidcphy0 node compatible property
Type: Fix
Redmine ID: N/A
Associated modifications: N/A
Test: N/A

Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com>
Change-Id: Ifa4fc6a93e8c4f66b1d49c2b12178183f4406b79
2024-06-07 17:41:08 +08:00
Wesley Yao
4be6d92c15 iio: dac: Add driver for Rockchip Flexbus DAC opmode
Change-Id: Iffce47af2cb3c83f60a6d47416b29484bd01ecb0
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 17:34:40 +08:00
Wesley Yao
ba4b69e690 iio: adc: Add driver for Rockchip Flexbus ADC opmode
Change-Id: I36c8e9afb8f7dadb609035a68d4bf6bb53904d1a
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 17:34:30 +08:00
Wesley Yao
e144358375 mfd: Add driver for Rockchip Flexbus
Change-Id: I14529b18c2adb06bf71cd669b75f5f277e727637
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 17:22:14 +08:00
Wesley Yao
da206695b1 arm64: dts: rockchip: rk3576-test1: Add flexbus related nodes
Change-Id: I3772dcb36a09e340bae07aa018660e3ddedc4df1
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 15:42:16 +08:00
Wesley Yao
009f6bdcd2 arm64: dts: rockchip: rk3576: Add flexbus related nodes
Change-Id: I4d2aad054b3749f5c55cf94a0f46159a1bf00c6b
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 15:42:16 +08:00
Wesley Yao
411a08c75c dt-bindings: Add Rockchip Flexbus header
Change-Id: Ibeeee1407c259024cdfd9046327da02ab84f2b01
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 14:23:50 +08:00
Cai Wenzhong
c145ba8ee7 media: i2c: maxim: driver version v3.05.00
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Id57bd6a2309c19485f2060f1cd263ff0f16e800e
2024-06-07 14:14:22 +08:00
Zhang Yubing
3ccf6b6752 drm/bridge: analogix_dp: clear old output_if when crtc active change
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Ibb2fe312ec1f9e72471eefe25de37883f114564c
2024-06-06 18:51:49 +08:00
Damon Ding
dcb9c0ef02 arm64: dts: rockchip: rk3588-evb1: add hdmi2dp display dts
If using the hdmi2dp ext board, eDP uses the hardware
link of HDMI, whose phy is multiplexed with eDP, and
the HDMI controller does not actually work.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Icc70e713799e1fa6eb49e419bae1c96a54e838af
2024-06-06 18:51:49 +08:00
Damon Ding
69807881ea arm64: dts: rockchip: rk3588: add property #sound-dai-cells for edp0/edp1
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I624115129f93280dc2e69217c28efca5a577e51b
2024-06-06 18:51:49 +08:00
Damon Ding
9191e17ba0 arm64: dts: rockchip: rk3588-evb: add edp0/edp1 sound support
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I227893150c6d963ba47de1354d0ae2109a230685
2024-06-06 18:51:49 +08:00
Jon Lin
7040afe8be PCI: dw: rockchip: Configure register after clock initialization
Change-Id: I7c043ca64ff0953593093f498dec711049832f87
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-06-06 16:35:52 +08:00
Sandy Huang
f96a08b93c drm/rockchip: vop2: update rk3562 aclk auto cs div
After set pre_scan_hblank minimum value to 8 by the following commit,
the aclk and dclk must meet as: aclk > 1/2 * dclk.

commit ce8f21340f ("drm/rockchip: vop2: set pre_scan_hblank minimum value to 8")
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I4968a29ef0aab4e413990c1b9a406efec067c9d0
2024-06-06 11:45:28 +08:00
Alex Wang
2f9046d9e7 arm64: dts: rockchip: add rk3576-virtual-poweroff.dtsi to support virtual-poweroff for RK3576
Change-Id: Id5cbe1e34014382128f648b9d87b3002adfe63df
Signed-off-by: Alex Wang <alex.wang@rock-chips.com>
2024-06-06 11:21:42 +08:00
Sandy Huang
d3b6fbf3c0 drm/rockchip: vop: remove no need locked check at load lut
Fix the following warning:
[   12.265470] ------------[ cut here ]------------
[   12.265488] WARNING: CPU: 2 PID: 196 at
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:3454
vop2_crtc_load_lut+0x444/0x4c0
[   12.265490] Modules linked in:
[   12.265498] CPU: 2 PID: 196 Comm: kworker/u16:4 Not tainted 5.10.198
[   12.265500] Hardware name: Rockchip RK3588S RT-ICS WED 23588S V11
Board (DT)
[   12.265506] Workqueue: events_unbound commit_work
[   12.265511] pstate: 40c00009 (nZcv daif +PAN +UAO -TCO BTYPE=--)
[   12.265515] pc : vop2_crtc_load_lut+0x444/0x4c0
[   12.265518] lr : vop2_crtc_load_lut+0x44/0x4c0
[   12.265520] sp : ffffffc00adb3bd0
[   12.265522] x29: ffffffc00adb3bd0 x28: ffffffc00961a1a0
[   12.265526] x27: ffffff8107a52000 x26: ffffff81026f0080
[   12.265531] x25: ffffff8107a51c00 x24: ffffff81026f54a8
[   12.265536] x23: ffffff8107a51c00 x22: ffffff81026f0080
[   12.265540] x21: ffffff81026f5080 x20: ffffff81026f0080
[   12.265544] x19: ffffff81026f13b8 x18: 0000000000000030
[   12.265548] x17: 0000000000000182 x16: 0000000000000018
[   12.265552] x15: ffffffffffffffff x14: 0000000000000438
[   12.265557] x13: 0000000000201834 x12: 0000000004000201
[   12.265561] x11: 0000000000000011 x10: 0000000000000001
[   12.265565] x9 : ffffffc00887e0e4 x8 : ffffff8144dcc058
[   12.265569] x7 : 0000000080008001 x6 : 00000000000003ff
[   12.265573] x5 : ffffff81026ae080 x4 : 0000000000000400
[   12.265577] x3 : 0000000000000400 x2 : 00000000000003ff
[   12.265581] x1 : 00000000000003ff x0 : 0000000000000000
[   12.265586] Call trace:
[   12.265590]  vop2_crtc_load_lut+0x444/0x4c0
[   12.265594]  vop2_crtc_atomic_flush+0x790/0x2200
[   12.265598]  drm_atomic_helper_commit_planes+0x158/0x214
[   12.265601]  rockchip_drm_atomic_helper_commit_tail_rpm+0xf0/0x1b0
[   12.265604]  commit_tail+0xa8/0x17c
[   12.265607]  commit_work+0x1c/0x30
[   12.265612]  process_one_work+0x20c/0x49c
[   12.265614]  worker_thread+0x1a0/0x534
[   12.265617]  kthread+0x130/0x134
[   12.265621]  ret_from_fork+0x10/0x34

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I5d7d9b0a2eb7331441d4ef0f84b8333ba6c6d855
2024-06-06 11:14:37 +08:00
Sandy Huang
808adcf967 drm/rockchip: vop2: remove no need locked check at load lut
Fix the following warning:
[   12.265470] ------------[ cut here ]------------
[   12.265488] WARNING: CPU: 2 PID: 196 at
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:3454
vop2_crtc_load_lut+0x444/0x4c0
[   12.265490] Modules linked in:
[   12.265498] CPU: 2 PID: 196 Comm: kworker/u16:4 Not tainted 5.10.198
[   12.265500] Hardware name: Rockchip RK3588S RT-ICS WED 23588S V11
Board (DT)
[   12.265506] Workqueue: events_unbound commit_work
[   12.265511] pstate: 40c00009 (nZcv daif +PAN +UAO -TCO BTYPE=--)
[   12.265515] pc : vop2_crtc_load_lut+0x444/0x4c0
[   12.265518] lr : vop2_crtc_load_lut+0x44/0x4c0
[   12.265520] sp : ffffffc00adb3bd0
[   12.265522] x29: ffffffc00adb3bd0 x28: ffffffc00961a1a0
[   12.265526] x27: ffffff8107a52000 x26: ffffff81026f0080
[   12.265531] x25: ffffff8107a51c00 x24: ffffff81026f54a8
[   12.265536] x23: ffffff8107a51c00 x22: ffffff81026f0080
[   12.265540] x21: ffffff81026f5080 x20: ffffff81026f0080
[   12.265544] x19: ffffff81026f13b8 x18: 0000000000000030
[   12.265548] x17: 0000000000000182 x16: 0000000000000018
[   12.265552] x15: ffffffffffffffff x14: 0000000000000438
[   12.265557] x13: 0000000000201834 x12: 0000000004000201
[   12.265561] x11: 0000000000000011 x10: 0000000000000001
[   12.265565] x9 : ffffffc00887e0e4 x8 : ffffff8144dcc058
[   12.265569] x7 : 0000000080008001 x6 : 00000000000003ff
[   12.265573] x5 : ffffff81026ae080 x4 : 0000000000000400
[   12.265577] x3 : 0000000000000400 x2 : 00000000000003ff
[   12.265581] x1 : 00000000000003ff x0 : 0000000000000000
[   12.265586] Call trace:
[   12.265590]  vop2_crtc_load_lut+0x444/0x4c0
[   12.265594]  vop2_crtc_atomic_flush+0x790/0x2200
[   12.265598]  drm_atomic_helper_commit_planes+0x158/0x214
[   12.265601]  rockchip_drm_atomic_helper_commit_tail_rpm+0xf0/0x1b0
[   12.265604]  commit_tail+0xa8/0x17c
[   12.265607]  commit_work+0x1c/0x30
[   12.265612]  process_one_work+0x20c/0x49c
[   12.265614]  worker_thread+0x1a0/0x534
[   12.265617]  kthread+0x130/0x134
[   12.265621]  ret_from_fork+0x10/0x34

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I3e7fc89598f45b88d4a6e1de0e2771f89936fe7a
2024-06-06 11:05:14 +08:00
Cai Wenzhong
a1b63a3c9b media: i2c: maxim: remote: os04a10: fix kernel-6.1 compile error
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Icd2a15b4e8f8f838aaadc62d82b3aa223f9dc0d2
2024-06-06 10:34:10 +08:00
Alex Wang
31cd4f11b5 input: rockchip_pwm_remotectl: support pwm shutdown
Change-Id: I71f70a2f24958ffa2048f18220dc19ea42bfd818
Signed-off-by: Alex Wang <alex.wang@rock-chips.com>
2024-06-06 10:30:59 +08:00
Zhang Yubing
7fc20e2dfe drm/rockchip: dw-dp: support fix virtual channel payload id
For simulation aux client, the virtual channel pyaload id can't
send by sideband MSG. In this case, the MST device often config
a fix payload id. It need DPTX also config fix payload id to
match the MST device.

Change-Id: I49148e92a80091a50a5b1f44496430f39d9c1aee
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-06 10:27:39 +08:00
Zhang Yubing
82e9773633 drm/rockchip: dw-dp: support user simulate aux for sideband message
Change-Id: I23be5e753ac650fe08afe42819ebe4e55a8cf708
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-06 10:27:39 +08:00
Zhang Yubing
33c51f42c4 drm/rockchip: dp-mst-sim: support mst device without aux client
some MST-capable device may not support Messaging AUX Client.
In this case, sideband MSG can't be transferred between DPTX
and the MST device. A solution is to simulate a Messaging AUX
client in MST device side to deal with sideband MSG.

Change-Id: I7c68f6d0bd88501c4e19097e3a1f9a9fabcf2698
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-06 10:25:08 +08:00
Zhang Yubing
675c592033 arm64: configs: rockchip_linux_defconfig: enable CONFIG_ROCKCHIP_DP_MST_AUX_CLIENT
Change-Id: If1070103e6b0468456d8c480a73c0315095a3b59
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-06 10:24:24 +08:00
Sugar Zhang
56d2082cec ASoC: rockchip: multi-dais: Workaround for interleaved for GKI
Once upstream is merged, this patch can be dropped.
also for line CONFIG_NO_GKI

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I83f5a08e93010741c26ec044f70b388a50e6c7a9
2024-06-06 10:10:28 +08:00
Sugar Zhang
f48e683a54 dmaengine: pl330: Workaround for interleaved for GKI
Once upstream is merged, this patch can be dropped.
also for line CONFIG_NO_GKI

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I2b0fc69aa6673e46dcd65e0369ab4353e7c4f9fc
2024-06-06 10:10:28 +08:00
Zheng zhiqi
9aba6831dd arm64: dts: rockchip: rk3576-vehiclke-evb: use vehicle sound
1. open spi1 dev
2. change spi codec to dummy codec
3. remove es8388 sound

This patch keeps the vehicle sound to be "car-rk3308-sound" since the
audio HAL use it fixed.

Change-Id: I6a968e09f548cffa64088bfba0c7c266f3727146
Signed-off-by: Zheng zhiqi <looper.zheng@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2024-06-06 09:27:49 +08:00
Chandler Chen
dcaa39ee96 video: rockchip: mpp: fix unused buffer move fail issue
When dmabuf cache disable:
1.move most recently used link node to link tail,
instead of calculate oldest ktime when buffer full.
2.For those buffer import by ioctl MPP_CMD_TRANS_FD_TO_IOVA,
move to static_list instead of used_list,
and don't increase extra kref,
so that it will release when user space call
ioctl MPP_CMD_RELEASE_FD.

Change-Id: I38f209c24f6cc7e831338e2417050e3ef39226f9
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
2024-06-06 09:26:35 +08:00
Elaine Zhang
a52d69153e arm64: dts: rockchip: rk3576: set aclk_php to 250M by default
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I5c0277bbc2f7583df5a93ec72d87b7c103ade20e
2024-06-06 09:23:27 +08:00
Finley Xiao
a77252e2b5 arm64: dts: rockchip: rk3576: Add vop-bw-dmc-level for dmc
Change-Id: I37fddb3595bee2192e5f57efe19c722b982f79d6
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2024-06-05 18:52:07 +08:00
Finley Xiao
7ee4b8fe83 PM / devfreq: rockchip_dmc: Add bandwidth level table support
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I3fcc4b9454c599f7a5946a61893153171509de42
2024-06-05 18:52:07 +08:00
Cai Wenzhong
682affbb83 arm64: dts: rockchip: rk3588-vehicle-serdes-mfd-display-rohm.dtsi: fix i2c7 and i2c8 are disabled error
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I3880ad24f7cf86812b13ae984f6adb582b106a0d
2024-06-05 09:23:33 +08:00
Cai Wenzhong
7ea19b17ea arm64: dts: rockchip: rk3588-vehicle-evb-v22: fix dcphy1 gpio conflict with backlight
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Idb7b753eb71a0bf22224ee11b5d1aeb72d1ec642
2024-06-05 09:23:33 +08:00
Cai Wenzhong
411f3d4622 arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max96712-dphy3-os04a10.dtsi: enable multi-raw
enable multiple raw sensor link to isp depend on config MULTI_SENSOR_LINK_TO_ISP

Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I52a0ca4f1c6cb26a43c95b5d3a41df2b4f351ad4
2024-06-05 09:23:33 +08:00