Commit Graph

1277415 Commits

Author SHA1 Message Date
Tao Huang
e236606db1 Merge commit 'a4c81b775b462ac0362e0672516c94f65989a8a6'
* commit 'a4c81b775b462ac0362e0672516c94f65989a8a6':
  ASoC: es8323: recover L/R stereo input and disable capture ALC and NG by default
  arm64: dts: rockchip: rk3562: rockchip_suspend disabled sleep debug
  mmc: dw_mmc-rockchip: Fix internal phase calculate
  EDAC/rockchip: support ddr ecc poison

Change-Id: I4cbfcfa6f6002cb94bb06b69b6b0c868fecdd142
2024-06-12 19:29:08 +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
Tao Huang
80c44f69af Merge commit 'f5432bfa9da048aba80d4c3654ce4d2ef7e67060'
* commit 'f5432bfa9da048aba80d4c3654ce4d2ef7e67060':
  arm64: dts: rockchip: rk3576: fix apb clk to PCLK_HDPTX_APB for hdmi
  clk: rockchip: rk3576: export pclk_hdptx_apb
  media: rockchip: isp: fix ldcv irq handle

Change-Id: Id25a9f2e75fe02df9a4374a580c4dd3c6e28c577
2024-06-11 18:19:30 +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
Tao Huang
c27e83d0f4 Merge commit '6785b797c8ba123f09a2b87b709aff9b3e3a8713'
* commit '6785b797c8ba123f09a2b87b709aff9b3e3a8713':
  arm64: dts: rockchip: rk3576-vehicle: add dp mst support for display serdes
  usb: typec: tcpci_husb311: Support to enable wakeup irq via dts
  ethernet: stmmac: dwmac-rk: Fix rebind failed for this driver
  i2c: rk3x: Fix data update point for 10K and less 10K speed
  arm64: dts: rockchip: rk3576: correct mipidcphy0 node compatible property
  iio: dac: Add driver for Rockchip Flexbus DAC opmode
  iio: adc: Add driver for Rockchip Flexbus ADC opmode
  mfd: Add driver for Rockchip Flexbus
  arm64: dts: rockchip: rk3576-test1: Add flexbus related nodes
  arm64: dts: rockchip: rk3576: Add flexbus related nodes
  dt-bindings: Add Rockchip Flexbus header
  media: i2c: maxim: driver version v3.05.00

Change-Id: I762e19d6ecc8938b6cb60d5a994c3887deca6964
2024-06-07 19:28:33 +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
Greg Kroah-Hartman
a670f934d7 ANDROID: ABI fixup for abi break in struct dst_ops
In commit 92f1655aa2b2 ("net: fix __dst_negative_advice() race") the
struct dst_ops callback negative_advice is callback changes function
parameters.  But as this pointer is part of a structure that is tracked
in the ABI checker, the tool triggers when this is changed.

However, the callback pointer is internal to the networking stack, so
changing the function type is safe, so needing to preserve this is not
required.  To do so, switch the function pointer type back to the old
one so that the checking tools pass, AND then do a hard cast of the
function pointer to the new type when assigning and calling the
function.

[6.1.y backport note, work around --Werror=cast-function-type issue by
 abusing void * for function pointer types, despite its best effort, C
 still let's us shoot our foot off if we really want to!]

Bug: 343727534
Bug: 344532728
Fixes: 92f1655aa2b2 ("net: fix __dst_negative_advice() race")
Change-Id: I48d4ab4bbd29f8edc8fbd7923828b7f78a23e12e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
(cherry picked from commit a7462d7032)
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-06-07 12:53:51 +08:00
Eric Dumazet
d81469f267 BACKPORT: net: fix __dst_negative_advice() race
__dst_negative_advice() does not enforce proper RCU rules when
sk->dst_cache must be cleared, leading to possible UAF.

RCU rules are that we must first clear sk->sk_dst_cache,
then call dst_release(old_dst).

Note that sk_dst_reset(sk) is implementing this protocol correctly,
while __dst_negative_advice() uses the wrong order.

Given that ip6_negative_advice() has special logic
against RTF_CACHE, this means each of the three ->negative_advice()
existing methods must perform the sk_dst_reset() themselves.

Note the check against NULL dst is centralized in
__dst_negative_advice(), there is no need to duplicate
it in various callbacks.

Many thanks to Clement Lecigne for tracking this issue.

This old bug became visible after the blamed commit, using UDP sockets.

Bug: 343727534
Bug: 344532728
Fixes: a87cb3e48e ("net: Facility to report route quality of connected sockets")
Reported-by: Clement Lecigne <clecigne@google.com>
Diagnosed-by: Clement Lecigne <clecigne@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tom Herbert <tom@herbertland.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240528114353.1794151-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
(cherry picked from commit 92f1655aa2b2294d0b49925f3b875a634bd3b59e)
[Lee: Trivial/unrelated conflict - no change to the patch]
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I293734dca1b81fcb712e1de294f51e96a405f7e4
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
(cherry picked from commit bd2bcb81d4)
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-06-07 12:53:38 +08:00
Tao Huang
de71c2d76b Merge tag 'android14-6.1-2024-05_r1' of https://android.googlesource.com/kernel/common
android14-6.1 May 2024 release 1

Artifacts:
  https://ci.android.com/builds/submitted/11839406/kernel_aarch64/latest

* commit 'android14-6.1-2024-05_r1': (67 commits)
  UPSTREAM: crypto: x86/curve25519 - disable gcov
  ANDROID: GKI: Update QCOM symbol list and ABI STG
  ANDROID: GKI: update symbol list file for xiaomi
  UPSTREAM: netfilter: nft_set_pipapo: do not free live element
  UPSTREAM: net: tls: handle backlogging of crypto requests
  ANDROID: 16K: Fix show maps CFI failure
  ANDROID: 16K: Handle pad VMA splits and merges
  ANDROID: 16K: madvise_vma_pad_pages: Remove filemap_fault check
  ANDROID: 16K: Only madvise padding from dynamic linker context
  ANDROID: 16K: Separate padding from ELF LOAD segment mappings
  ANDROID: 16K: Exclude ELF padding for fault around range
  ANDROID: 16K: Use MADV_DONTNEED to save VMA padding pages.
  ANDROID: 16K: Introduce ELF padding representation for VMAs
  ANDROID: 16K: Introduce /sys/kernel/mm/pgsize_miration/enabled
  FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it
  Revert "FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it"
  FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it
  ANDROID: vendor_hooks: add symbols for lazy preemption
  ANDROID: vendor_hooks: add two hooks for lazy preemption
  ANDROID: KVM: arm64: wait_for_initramfs for pKVM module loading procfs
  ...

Change-Id: If336d92585acfd2b1d33faa0a81c3fe8b2389997
2024-06-07 11:19:57 +08:00
Tao Huang
04938b63b9 usb: dwc3: core: pipe_clk/pipe_clk depends on CONFIG_NO_GKI
Fixes: ef32b29caa ("UPSTREAM: usb: dwc3: add optional PHY interface clocks")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I9a578ce6b75463c6ed2e6197951b7bb8f034045b
2024-06-07 11:18:34 +08:00
Tao Huang
c498274be9 Merge commit '3ccf6b6752ac52e9f07c6fbb2647308b1c7d1466'
* commit '3ccf6b6752ac52e9f07c6fbb2647308b1c7d1466':
  drm/bridge: analogix_dp: clear old output_if when crtc active change
  arm64: dts: rockchip: rk3588-evb1: add hdmi2dp display dts
  arm64: dts: rockchip: rk3588: add property #sound-dai-cells for edp0/edp1
  arm64: dts: rockchip: rk3588-evb: add edp0/edp1 sound support
  PCI: dw: rockchip: Configure register after clock initialization
  drm/rockchip: vop2: update rk3562 aclk auto cs div
  arm64: dts: rockchip: add rk3576-virtual-poweroff.dtsi to support virtual-poweroff for RK3576
  drm/rockchip: vop: remove no need locked check at load lut
  drm/rockchip: vop2: remove no need locked check at load lut
  media: i2c: maxim: remote: os04a10: fix kernel-6.1 compile error
  input: rockchip_pwm_remotectl: support pwm shutdown
  drm/rockchip: dw-dp: support fix virtual channel payload id
  drm/rockchip: dw-dp: support user simulate aux for sideband message

Change-Id: Ibd0772e1c9356922d3ec91c4fdd1d42723bae9d3
2024-06-06 18:59:34 +08:00
Tao Huang
2a7bee5e1f Merge commit '33c51f42c402b76fd06e46d1ae73f8b7080b6f43'
* commit '33c51f42c402b76fd06e46d1ae73f8b7080b6f43':
  drm/rockchip: dp-mst-sim: support mst device without aux client
  arm64: configs: rockchip_linux_defconfig: enable CONFIG_ROCKCHIP_DP_MST_AUX_CLIENT
  ASoC: rockchip: multi-dais: Workaround for interleaved for GKI
  dmaengine: pl330: Workaround for interleaved for GKI
  arm64: dts: rockchip: rk3576-vehiclke-evb: use vehicle sound
  video: rockchip: mpp: fix unused buffer move fail issue
  arm64: dts: rockchip: rk3576: set aclk_php to 250M by default

Change-Id: I8dee24be866d8641fabfbebd449474898d1e764a
2024-06-06 18:59:03 +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
Zhang Yubing
ab04a5a635 arm64: configs: rockchip_defconfig: enable CONFIG_ROCKCHIP_DP_MST_AUX_CLIENT
Change-Id: I22add0d64c042da527790f7e383536b3919be72c
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-06 14:50:45 +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
Tao Huang
bf8bc764ba Merge commit 'a77252e2b5b7be3780a141e93692bb0d08c172a6'
* commit 'a77252e2b5b7be3780a141e93692bb0d08c172a6':
  arm64: dts: rockchip: rk3576: Add vop-bw-dmc-level for dmc
  PM / devfreq: rockchip_dmc: Add bandwidth level table support
  arm64: dts: rockchip: rk3588-vehicle-serdes-mfd-display-rohm.dtsi: fix i2c7 and i2c8 are disabled error
  arm64: dts: rockchip: rk3588-vehicle-evb-v22: fix dcphy1 gpio conflict with backlight
  arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max96712-dphy3-os04a10.dtsi: enable multi-raw
  arm64: dts: rockchip: add rk3588-vehicle-evb-maxim-max96712-dphy3-os04a10.dtsi
  arm64: configs: rk3588_vehicle.config: add CONFIG_VIDEO_MAXIM_CAM_OS04A10=y
  media: i2c: maxim: remote: add omnivision os04a10 sensor driver
  media: i2c: maxim: driver version v3.04.00

Change-Id: I899d3fe86de1b32cb90461e33f6161c5f2348c96
2024-06-05 19:46:16 +08:00