Commit Graph

1276753 Commits

Author SHA1 Message Date
Huang-Huang Bao
2c35da87a4 UPSTREAM: pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set
rockchip_pmx_set reset all pinmuxs in group to 0 in the case of error,
add missing bank data retrieval in that code to avoid setting mux on
unexpected pins.

Change-Id: I5a1943732317002f77e4c0f80ded68952795418e
Fixes: 14797189b3 ("pinctrl: rockchip: add return value to rockchip_set_mux")
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Huang-Huang Bao <i@eh5.me>
Link: https://lore.kernel.org/r/20240606125755.53778-5-i@eh5.me
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com>
(cherry picked from commit 4ea4d4808e342ddf89ba24b93ffa2057005aaced)
2024-11-19 15:34:30 +08:00
William Wu
1c7a3dd86f usb: dwc3: core: Add shutdown support
The RK3576 platform doesn't use the dwc3 glue layer
which supports to call dwc3_of_simple_shutdown and
dwc3_remove on system shutdown. Therefore, the RK3576
dwc3 controller still keeps working on system shutdown,
and it may cause pending usb irq if usb transmission
happens when do reboot test.

This patch adds shutdown support for RK3576 platform.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I2cc0764402909fc8c168c0bad75909a8719fce80
2024-11-19 14:58:50 +08:00
Jon Lin
21226ba125 mtd: spinand: HIKSEMI: Fix MFR id to 0x3C
Change-Id: If7ce0da4e1678615a8252740259f5bee46ef0f76
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-18 17:22:07 +08:00
Zhen Chen
6ec3ff387a Mali: utgard: Use platform_get_irq_byname() to obtain IRQ numbers
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: Ie49ec94549e24312c8f7620b99819b0b90353192
2024-11-18 16:55:52 +08:00
Luo Wei
b16cbb21d7 arm64: dts: rockchip: rk3576-vehicle-evb: edp-vp0 use vpll default
Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: If69dd8af979156aeb6d1ca575592fcfbaab7cac8
2024-11-18 15:35:10 +08:00
Luo Wei
e9bbd6b68e arm64: dts: rockchip: vehicle-evb: update max96752 01ea register to default value
Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: I87478539edfb3a3a5c8afd78369df3b90b2a756a
2024-11-18 14:11:49 +08:00
William Wu
59eb83b7aa usb: typec: tcpci_husb311: Avoid unregister port on shutdown
Test on RK3576 EVB1, if do tcpci_unregister_port on
husb311_shutdown, it will cause two issues in reboot
test.

1. Introducing unnecessary usb mode initialization
in dwc3 driver, the call trace:

husb311_shutdown -> tcpci_unregister_port -> tcpm_reset_port ->
tcpm_mux_set -> usb_role_switch_set_role -> dwc3_usb_role_switch_set

2. More seriously, if the dwc3 driver is unbind before
husb311_shutdown, it will cause kernel panic.

(1) echo 23000000.usb > /sys/bus/platform/drivers/dwc3/unbind
(2) do reboot
(3) kernel panic with the following log:
Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000010
Mem abort info:
  ESR = 0x0000000096000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000005
  CM = 0, WnR = 0
user pgtable: 4k pages, 39-bit VAs, pgdp=00000001021ef000
[0000000000000010] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
Modules linked in:
CPU: 4 PID: 1 Comm: init Not tainted 6.1.99 #110
Hardware name: Rockchip RK3576 EVB1 V10 Board (DT)
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : usb_role_switch_put+0x24/0x40
lr : tcpm_unregister_port+0x7c/0xd0
...
Call trace:
 usb_role_switch_put+0x24/0x40
 tcpm_unregister_port+0x7c/0xd0
 tcpci_unregister_port+0x18/0x2c
 husb311_shutdown+0x80/0xb0
 i2c_device_shutdown+0x3c/0x5c
 device_shutdown+0x16c/0x21c
 kernel_restart+0x3c/0x104

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Iab02d60b7e25d0cb086fa486e5f31b30029142ec
2024-11-18 14:08:24 +08:00
Jianwei Zheng
8e6926b1d4 phy: rockchip: inno-usb2: support usb wakeup for rk3506
1. Support linestate filter time control register for OTG0 and OTG1.
2. Disable disconnect rise and disconnect fall irq. Because these
two interrupts will be triggered immediately after the system goes
into sleep mode, causing the system to be unable to sleep.

Change-Id: Ia6c1e58ef926f86dee6df0013aafe9bfe4586b52
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
2024-11-18 14:08:07 +08:00
Jianwei Fan
b5c70abd65 arm64: dts: rockchip: add rk3576-evb1-v10-rk621-hdmi2csi for rk3576 evb1 exboard
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: Ie6ddd07be14e35c34466c0bc9dee07ab69c863bd
2024-11-15 17:18:26 +08:00
Chaoyi Chen
9912c1bae7 drm/rockchip: vop: Set missing global alpha value
Change-Id: I43e8b1c5143c14038c3c25c89dafc6971808c8b3
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
2024-11-15 16:09:04 +08:00
Chandler Chen
696a80bb09 video: rockchip: mpp: rk3562 use mmu reset & cru reset
Fixes: e111685605 ("video: rockchip: mpp: rk3562 use cru reset")

Change-Id: Ie899f86c3cbbdf71bda5af087305af132d27cead
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
2024-11-14 17:49:32 +08:00
Tao Huang
358f888f72 ARM: dts: rockchip: rv1126: Add status "okay" property at queue for gmac
The queue nodes will be deleted, the driver cannot get it, add
status "okay" attributes to avoid deletion.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I3898d58805f80cddbe5e71a07d9055b66fab651f
2024-11-14 15:27:22 +08:00
David Wu
e850ed4666 ethernet: stmmac: Fixes compile error for MINI_KERNEL
This patch sloves following error:
drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.o: in function `stmmac_adjust_time':
drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c:107: undefined reference to `stmmac_calc_tas_basetime'

Change-Id: I929b9df0b72dfd48ef03caa5cec8c6fec14ee4d7
Signed-off-by: David Wu <david.wu@rock-chips.com>
2024-11-14 14:50:35 +08:00
Mark Huang
67c4cdf6c5 arm64: dts: rockchip: rk3528-evb: include rk-stb-ir-keymap
Signed-off-by: Mark Huang <huangjc@rock-chips.com>
Change-Id: Ic6fdc23c00db47554373d6921cf7226fc7a855ca
2024-11-14 14:19:49 +08:00
Jon Lin
3265632a88 mtd: spinand: GSTO: Add third flash id for some devices
GSS02GSAX1, GSS01GSAX1.

Change-Id: Id61f63a2c2460b5b8e3a57aeaa3341ddcf32f44e
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-14 09:21:19 +08:00
Jon Lin
a1f4d7f37f mtd: spinand: Winbond: Add third flash id for some devices
W25N01JWZEIG, W25N01KWZPIG.

Change-Id: I05648d131f9076ab716f3baadfc7249eecf31671
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-14 09:21:19 +08:00
Binyuan Lan
bc64ae62f4 arm64: dts: rockchip: rk356x: Add property 'sound-name-prefix' for i2s/pdm
This patch add name-prefix for i2s/pdm to support prefix kcontrol,
widget and route names in an ASoC machine that has multiple dais with
conflicting names.

Signed-off-by: Binyuan Lan <lby@rock-chips.com>
Change-Id: Id48d35f7678000efd3bbf56673768bc5f225dfba
2024-11-14 09:17:28 +08:00
Zhang Yubing
3cdad0f1e8 drm/rockchip: analogix_dp: fix NULL pointer issue when disable encoder
When disable encoder, the encoder.crtc will be reference. In some
case, for example show logo stage, if some config cause a full
modeset, the encoder.crtc will be used before assigned a value,
which will cause a NUll pointer issue.
It's better to use drm_connector_state.crtc to avoid this issue.

Change-Id: I0382eda8a7e25e15b06cefc08ec7be94cf8136ea
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-11-13 19:48:01 +08:00
Zhang Yubing
e6f1af9a82 drm/rockchip: logo: add the effect bridge state for atomic state
Some display interface driver will register encoder and bridge.
The analogix edp driver is one of these driver and it will use
the bridge state in atomic_check callback. If no bridge state
get, the atomic_check will return without assign a value to the
crtc_state.output_type.

When enable uboot logo, if no bridge state get for the analogix
edp, the old_crtc_state.output_type will be 0 and the
new_crtc_state.output_type will be DRM_MODE_CONNECTOR_eDP. It
assume that this different will affect nothing. But when the edp
attach to VOPB/L and assign the VOPB/L dclk parent as VPLL, the
crtc atomic_check callback will change the VOPB/L dclk parent
and issue a mode change. this mode change will call the edp driver
encoder_disable callback and reference the encoder.crtc pointer.
This point only assign a value in
drm_atomic_helper_update_legacy_modeset_state(). So a NULL pointer
issue will happen as follow:
[    3.489609] Unable to handle kernel NULL pointer dereference at virtual address 00000000000005c8
[    3.585216] Mem abort info:
[    3.585219]   ESR = 0x0000000096000005
[    3.585223]   EC = 0x25: DABT (current EL), IL = 32 bits
[    3.585227]   SET = 0, FnV = 0
[    3.585230]   EA = 0, S1PTW = 0
[    3.585232]   FSC = 0x05: level 1 translation fault
[    3.585235] Data abort info:
[    3.585237]   ISV = 0, ISS = 0x00000005
[    3.585240]   CM = 0, WnR = 0
[    3.586697] mmcblk0rpmb: mmc0:0001 AJTD4R 4.00 MiB, chardev (235:0)
[    3.587117] [00000000000005c8] user address but active_mm is swapper
[    3.587121] Internal error: Oops: 0000000096000005 [#1] SMP
[    3.592746] Modules linked in:
[    3.593023] CPU: 5 PID: 46 Comm: kworker/u12:1 Not tainted 6.1.99 #517
[    3.593595] Hardware name: Rockchip RK3399 EVB IND LPDDR4 Board edp (Linux) (DT)
[    3.594244] Workqueue: events_unbound deferred_probe_work_func
[    3.594764] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    3.595380] pc : rockchip_dp_drm_encoder_disable+0x20/0x10c
[    3.595874] lr : drm_atomic_helper_commit_modeset_disables+0x1e0/0x670
[    3.596444] sp : ffffffc00a71b6b0
[    3.596741] x29: ffffffc00a71b6b0 x28: ffffff80049ce200 x27: 0000000000000038
[    3.597370] x26: ffffff8003091810 x25: ffffff8004d27c98 x24: 0000000000000000
[    3.597999] x23: 0000000000000000 x22: ffffffc009971ade x21: ffffffc00991a755
[    3.598628] x20: ffffff80049c9c80 x19: ffffff8004d27c98 x18: ffffff8003154090
[    3.599257] x17: 685f63696d6f7461 x16: ffffffffffffffff x15: ffffff800a2f4400
[    3.599885] x14: 0000000000000000 x13: 0000000000000350 x12: 000000000104202a
[    3.600514] x11: 0000000000800000 x10: 0000000000000000 x9 : ffffffc0087ef158
[    3.601143] x8 : 0000000000000000 x7 : 72205d3536353938 x6 : 0000000000000000
[    3.601771] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffffffc00a71b5a0
[    3.602399] x2 : ffffff8002cac4c0 x1 : ffffff80049c9c80 x0 : ffffff8004d27c98
[    3.603027] Call trace:
[    3.603245]  rockchip_dp_drm_encoder_disable+0x20/0x10c
[    3.603704]  drm_atomic_helper_commit_modeset_disables+0x1e0/0x670
[    3.604250]  rockchip_drm_atomic_helper_commit_tail_rpm+0x4c/0x2d8
[    3.604799]  commit_tail+0xa8/0x154
[    3.605108]  drm_atomic_helper_commit+0x1c8/0x1e4
[    3.605519]  drm_atomic_commit+0xa8/0xd0
[    3.605864]  rockchip_drm_show_logo+0x1a98/0x1c50
[    3.606276]  rockchip_drm_bind+0x1fc/0x2ac
[    3.606643]  try_to_bring_up_aggregate_device+0x1f8/0x28c
[    3.607123]  __component_add+0xc4/0x180
[    3.607467]  component_add+0x18/0x20
[    3.607788]  rockchip_dp_probe+0x41c/0x480
[    3.608154]  platform_probe+0xa8/0xd0
[    3.608476]  really_probe+0x168/0x3f8
[    3.608798]  __driver_probe_device+0xa4/0x164
[    3.609186]  driver_probe_device+0x40/0x210
[    3.609553]  __device_attach_driver+0x12c/0x1c0
[    3.609954]  bus_for_each_drv+0x88/0xd0
[    3.610299]  __device_attach+0xd4/0x1c0
[    3.610642]  device_initial_probe+0x18/0x20
[    3.611009]  bus_probe_device+0x38/0x98
[    3.611354]  deferred_probe_work_func+0xa4/0xf8
[    3.611754]  process_one_work+0x1e0/0x400
[    3.612112]  worker_thread+0x340/0x55c
[    3.612445]  kthread+0xcc/0x204
[    3.612722]  ret_from_fork+0x10/0x20

To avoid this issue, a method is to add the effect bridge state when
show logo.

Fixes: a7620fa846 ("drm/rockchip: analogix_dp: add support for color format yuv444/yuv422")

Change-Id: Ie1f1ce5a8a21809a146acd48f3ee94d1a8879eb6
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-11-13 19:48:01 +08:00
Andy Yan
164e2cba5d drm/rockchip: vop2: reset axi clk before disable vop
Reset AXI bus to get a clean state, which is conducive to recovering
from exceptions when enable at next time(such as iommu page fault).

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I70e2a119e5abf3399720cc06a083a4468e60a1cb
2024-11-13 19:48:00 +08:00
Sugar Zhang
10d25e24d5 ASoC: rockchip: sai: Simplify the Fsync Lost Threshold
Simplify the lost threshold config per sample rate.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ic032a91ae7c3727f299fdab17acbabe879e57b1d
2024-11-13 19:48:00 +08:00
Sugar Zhang
ca3d858e41 ASoC: rockchip: sai: Fix Fsync Error Detect
FSE depends on FSS_EN.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I76e864e13f6dc12747fd600ea9b952853506529a
2024-11-13 19:48:00 +08:00
Shawn Lin
c793ee2437 Revert "phy: add combo phy driver for Rockchip SoCs"
This reverts commit 89941824ca.

Only used in RK1808/RK3399Pro platform which is probably
not going to be supported on new version. So remove this file.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: Ied493b9d215f83543d8187be31b4d6f9aa708e7f
2024-11-13 19:48:00 +08:00
Chen Shunqing
0569cd7250 media: i2c: rk628: force EQ if hdmi2.0
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
Change-Id: I64ecf4804763b31108f08fc58dcb7dc5ffcc53a4
2024-11-13 19:48:00 +08:00
Chen Shunqing
5e31f848c9 media: i2c: rk628: check if phy is locked
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
Change-Id: I0de339129dbd969ffcdfccc1fc3d84c6ee424461
2024-11-13 19:48:00 +08:00
Chen Shunqing
012fb67a53 media: i2c: rk628: fix cec i2c error when hdmirx reset
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
Change-Id: Idcd931041bd24175461d7509353c77456d31803e
2024-11-13 19:48:00 +08:00
Caesar Wang
ddf0dd7772 arm64: dts: rockchip: rk3399-evb: Fix device tree warnings for I2C unit address format
Removed leading zeros from I2C unit addresses to match the expected format.

Build warnings as below:

arch/arm64/boot/dts/rockchip/rk3399-evb-ind.dtsi:797.26-808.4:
Warning (unit_address_format): /i2c@ff110000/tc358749x@0f: unit name should not have leading 0s
...

Change-Id: Id1e94a40d2e13a98cb999275d6d7b8edbda238b0
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2024-11-13 19:48:00 +08:00
Sandy Huang
4e6b9720a3 arm64: dts: rockchip: rk3399-evb-ind-lpddr4-linux: assigned clock parents for vop
The dclk parent for VOP->HDMI must from VPLL, the other can from CPLL.

Fixes: c2395e6617 ("arm64: dts: rockchip: add rk3399 evb ind v11 board support for linux")
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Iac83d4e1911a07ccd20fc8a5ddbee48f470d06da
2024-11-13 19:48:00 +08:00
Luo Wei
10f8a9f06a mfd: display-serdes: if route enable then no need init serdes pinctrl
and i2c address to reduce booting time

Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: I3d6e3598418a7b9a07a624f38e823b023109b50d
2024-11-12 10:30:01 +08:00
Joseph Chen
89521ea57b ARM: dts: rockchip: rk3502-evb1-v10: Add suspend io config
Set these gpios to right state for system low power.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I8e030a872209f9955834aab008b8059f4fb2d507
2024-11-12 10:29:31 +08:00
XiaoDong Huang
54b79326d6 soc: rockchip: pm_config: support sip sleep_io_config
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I95f2313e1e296a77fbffdde1afa3203cc921bede
2024-11-12 10:29:31 +08:00
Xing Zheng
1d4a4669a5 ARM: dts: rockchip: rk3502 & rk3506-pinctrl: add more descriptions and references of rkdsm pins
And update naming 'dsm_audmX_pins' by generating file and using
ioc1 base for dsm-audm0 iomux switching only by default.

Change-Id: I4791a464513bc36ff277abecf98ea4b1ee65a2fa
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2024-11-11 20:05:36 +08:00
Xing Zheng
00871994a6 ASoC: codecs: rk_dsm: add support iomux switching for anti-pop automatically
The LP/LN and RP/RN differential pairs of rkdsm should keep
in the same direction as much as possible when working and
shutting down, otherwise the common mode output is likely
to cause pop sound.

Therefore, we can introduce the ioc register address as REG
resource in dts, and switch the dsm pin to function and io
state respectively when dsm starts and stops.

Change-Id: I4a3e6f5e45f030fdbab74ee7d9a769fc8d77f86d
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2024-11-11 20:05:36 +08:00
Jianwei Fan
72caa4cae0 media: i2c: ov8856: sync driver from kernel4.19
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Ica77b8fbd62bae43ba16fec968b685e77d48e06e
2024-11-11 19:30:53 +08:00
Jianwei Fan
b1541119af media: i2c: rk628: fix mipi csitx enable sequence
1.add data reset after video enable
2.fix mipi dphy reset before dphy init

Change-Id: I003f1c99563dc658f4bbff706de84668e24161d2
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2024-11-11 19:29:30 +08:00
Zhen Chen
0fd102707d Mali: bifrost: Using Upstream For MT Unmapped Area Topdown-Search
Comes from 03490297.diff in mail "241108: 21:51: ARM support: Inchara: ".

The original patch contains the following information:
{
Subject: [PATCH] [Official] GPUCORE-43479 Using Upstream For MT Unmapped Area Topdown-Search

This commit addresses the unmapped area search not ending its loop
operation issue. The change applies the upstream vm_unmapped_area()
with Maple-Tree (kernel 6.1.x) for search operations and then uses
a kbase specific adjustment loop for revisions to meet some extra
hardware alignment constraints.
}

The "not ending its loop operation issue" is reflected in various RK tests as
a "rcu_sched self-detected stall on CPU" with a call trace within Mali driver.
An instance:
[ 1442.379022] rcu: INFO: rcu_sched self-detected stall on CPU
[ 1442.379028] rcu:     4-....: (14999 ticks this GP) idle=a8b4/1/0x4000000000000000 softirq=152230/152230 fqs=7492
[ 1442.379033]  (t=15000 jiffies g=391269 q=378 ncpus=8)
[ 1442.379038] CPU: 4 PID: 1456 Comm: glmark2-es2-way Not tainted 6.1.99 #406
[ 1442.379041] Hardware name: Rockchip RK3588 EVB7 V11 Board (DT)
[ 1442.379044] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 1442.379047] pc : mas_empty_area_rev+0x150/0x540
[ 1442.379054] lr : mas_empty_area_rev+0x198/0x540
[ 1442.379056] sp : ffffffc00f6ebae0
...
[ 1442.379097] Call trace:
[ 1442.379099]  mas_empty_area_rev+0x150/0x540
[ 1442.379102]  kbase_unmapped_area_topdown+0x144/0x264
[ 1442.379107]  kbase_context_get_unmapped_area+0x244/0x2ec
[ 1442.379111]  kbase_get_unmapped_area+0x48/0x70
[ 1442.379116]  get_unmapped_area+0x5c/0x100
[ 1442.379121]  do_mmap+0xe0/0x450
[ 1442.379124]  vm_mmap_pgoff+0xa0/0x150
[ 1442.379128]  ksys_mmap_pgoff+0x9c/0xd0
[ 1442.379132]  __arm64_sys_mmap+0x34/0x44
[ 1442.379136]  invoke_syscall+0x4c/0x114
[ 1442.379141]  el0_svc_common.constprop.0+0x54/0x180
[ 1442.379144]  do_el0_svc+0x20/0x2c
[ 1442.379148]  el0_svc+0x14/0x80
[ 1442.379151]  el0t_64_sync_handler+0xb0/0xb4
[ 1442.379155]  el0t_64_sync+0x158/0x15c
[ 1442.379158]
[ 1442.379158] PC: 0xffffffc009375950:
...

Change-Id: I6c5b1d37cf7f0853282126c23ce779032b7fabe7
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2024-11-11 19:12:38 +08:00
Shawn Lin
6b66ee40d9 Revert "PCI: rockchip: dw: remove wakeup if attached device is down"
This reverts commit e15707617c.

This need the system to rmmod wireless ko before suspend, otherwise even if
the power is down but removing wakeup will call the sub-device driver to
broadcast this uevent to the userspace which prevent the system from into
suspend. Whether to rmmod wireless driver is system depend, so revert this
commit.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I9f0467a7403c1f18820a89ae4707d3bd469910a6
2024-11-11 11:04:27 +08:00
Shengfei Xu
2cf096b707 arm64: dts: rockchip: rk3576-rk806/tablet: Fix the shutdown sequence for rk806
Change-Id: I609c5e6e2929ba57aa1587d28765ff556d7f28ed
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
2024-11-08 19:41:41 +08:00
Sandy Huang
11a8c1d021 drm/rockchip: vop: fix line_bw_mbyte init value error
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I62b374ebdf9f468fca50ee9662c487adc9d1fc2f
2024-11-08 19:39:42 +08:00
Jon Lin
0b1e501654 mtd: spinand: Zbit: Support new device ZB35Q04BYIG
Change-Id: I5312eca70a3ec9baf41c39016eee38f036e9dbd2
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-08 17:10:06 +08:00
Finley Xiao
8b9ce96e9b arm64: dts: rockchip: Add rk3576m.dtsi
Change-Id: I64a712e3751274359fdfbaae4f5ffe332cbac12e
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2024-11-07 15:38:23 +08:00
Sandy Huang
e8d003fc7e drm/rockchip: vop: remove afbc support for rk3399 vop lit
rk3399 vop lite can't support afbc, so remove afbc support from
win feature.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I3ccdc2a821bc97fd4993688c61b776c1c77d0cb9
2024-11-07 14:52:38 +08:00
Finley Xiao
e00e223f66 soc: rockchip: opp_select: Add support to config pvtpll volt sel
Change-Id: I8ffc9b9e2ad3f743f46c3b77cc5c745cfb0d17ce
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2024-11-07 14:52:03 +08:00
Finley Xiao
4d6637906b firmware: rockchip_sip: Add sub func id PVTPLL_VOLT_SEL for SIP_PVTPLL_CFG
Change-Id: I389fdb0f36b2709d7cc75d4962c3f0a33816a840
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2024-11-07 14:52:03 +08:00
Finley Xiao
1b8e6e3e02 arm64: dts: rockchip: Add rk3576j.dtsi
Change-Id: I072199c8749b4115e94909368f02886d4a118ced
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2024-11-07 14:52:03 +08:00
Finley Xiao
4ae43cfd70 arm64: dts: rockchip: rk3576: Add opp table rk3576j/m
Change-Id: I4b06f3f7ee4b515a1933e30b6ce385de4312516d
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2024-11-07 14:52:03 +08:00
Jon Lin
4cbd30a423 mtd: spinand: dosilicon: Support new device DS35Q2GBS
Change-Id: I40b452063b71b9407eda1fd7b134585f6a7823dc
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-07 14:47:00 +08:00
Jon Lin
049d5bbd60 mtd: spinand: foresee: Support new device F35SQB002G
Change-Id: Ib7aef1f2e4a68925e30dcab8b8bfd76996820437
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-07 14:47:00 +08:00
Jon Lin
4e64a24d62 mtd: spinand: HIKSEMI: Support new device HSESYHDSW2G
Change-Id: I5ff5e791412d3d81296c8c806145b88da6545cae
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-07 14:47:00 +08:00
Jon Lin
21b62edb4b mtd: spinand: GSTO: Support new device GSS01GSAX1 and GSS02GSAX1
Change-Id: I898bcc599fe338ef71012de0b170d08c888644bc
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-07 14:47:00 +08:00