Commit Graph

1086890 Commits

Author SHA1 Message Date
Lan Honglin
beb9974b6f media: i2c: sc850sl: fix gain discontinuity issue
sync update from 4.19

Change-Id: I432669771e6a3a5c9e07811f94f5bd77ed5b2e63
Signed-off-by: Lan Honglin <helin.lan@rock-chips.com>
2024-01-09 11:14:28 +08:00
Cai YiWei
ce956f7a33 media: rockchip: isp: fix resume mi no enable
Change-Id: Ic7aa8eb5528e97b4d425971d5189ef85c0c1c6c9
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-08 11:03:52 +08:00
Jon Lin
982e655deb arm64: dts: rockchip: rk3568: Add nfc
Change-Id: I3fb8fae8b63925d58e6889af4df80e920b3d4881
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-01-05 09:25:15 +08:00
Cai YiWei
08c66b08ce media: rockchip: isp: sync irq_ends
irqs in different cpu will change irq_ends flag, lock to sync.

Change-Id: Ie5467825173a16c796c7ab84c15286af44edc5d9
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-05 08:52:32 +08:00
Zhang Yubing
eaa1941ab7 mfd: rkx110_x120: cru: fix to get a avialble pll rate
In some case, the pll rate will be change to get a target
rate for it's child. we want set the pll rate closest to
the max pll rate. However, It's not all the rate can get
a set of legal paramters to config the pll. So when this
case happen, we try a lower rate as the target pll rate.

Change-Id: I45abec2114f74634904cf3c34655d8df331d171b
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-01-04 18:08:02 +08:00
Liang Chen
801e11b222 arm64: dts: rockchip: rk3562: adjust regulator-init-microvolt of vdd_cpu/vdd_logic for rk3562 boards
Raise initial voltage of vdd_cpu/vdd_logic when startup to improve stability.

Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: I223a21351424cb3fb47e5b3cae4f8e0324bd9a25
2024-01-04 15:11:44 +08:00
Liang Chen
ff902937c0 arm64: dts: rockchip: rk3562: adjust low-temp-min-volt for cpu/dmc
Raise voltage of cpu/dmc when low temperature to improve stability.

Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: I80321c0454c98c62a237192b46fa00da1b48d336
2024-01-04 15:07:18 +08:00
LongChang Ma
5e9dee2ebe media: i2c: add sc830ai sensor driver
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com>
Change-Id: Ib22fb1d354cbb3ee26f5a94c969675cbb28990ff
2024-01-03 19:46:07 +08:00
Sugar Zhang
1bbb558966 dmaengine: pl330: Use tasklet_hi_schedule
Use tasklet_hi_schedule for better audio performance,
especially for LLA (Low Latency Audio) situation.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ic5a215a269e718b0e5613132cb9fe9b58940d0e1
2024-01-03 19:45:53 +08:00
Jon Lin
c08e952374 mtd: spinand: XINCUN: Support new device XCSP1AAPK
Change-Id: Ia8de254547f40499a501e20421efb0f443842b87
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-01-03 19:42:57 +08:00
Jiahang Zheng
14119c4f7f arm64: dts: rockchip: rk3562-amp: change mcu ram address
Change-Id: If7311abee120fef2a0259845e202612f8c67372a
Signed-off-by: Jiahang Zheng <jiahang.zheng@rock-chips.com>
2024-01-03 17:55:24 +08:00
Jianwei Fan
aa47569d06 media: i2c: lt8668sx: add lt8668sx hdmi2csi driver
Change-Id: I4fba2eb4aca597ba41a08a89c6444f9a715c4630
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2024-01-03 17:50:49 +08:00
Yandong Lin
77a1b08896 video: rockchip: mpp: remove av1dec l2 cache
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: If018c12464264f62db4baa658b75d8942504a765
2024-01-03 17:48:01 +08:00
XiaoDong Huang
4227edfdb3 ARM: rockchip: rv1106_pm: do wdt save/restore
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: Ie805d22a99110162015a51718ec29de2e6008614
2024-01-03 17:09:20 +08:00
Cai YiWei
2846affd16 media: rockchip: isp: add buf cnt info to procfs
Change-Id: I78ce99dad93e57c544e150013ccac02868d43f88
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-03 17:06:39 +08:00
Cai YiWei
f8d9b2d3b4 media: rockchip: isp: fix wait timeout with thunderboot
Change-Id: Ied63c17c68e1cd565a3f246655fa9ec66be638b3
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-03 17:06:39 +08:00
David Wu
10ed38ef37 arm64: dts: rockchip: rk3528: Add thermal for macphy
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ifd46d8a3ae7fd8eca31f413a6d8b7b584c983636
2024-01-03 15:38:28 +08:00
David Wu
cbf09af6d1 ARM: dts: rv1106: Add thermal for macphy
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I3319dfc7cd6377cc6e4ade4b9930474a59441aac
2024-01-03 15:38:28 +08:00
David Wu
bf7e43d9fe net: phy: RK630: Add dynamically adjusting the configuration
Adjustments occur at two cases:
  - No linkup within 5s;
  - The number of packets received within 10 seconds is less than 3,
    or the packet loss rate is greater than 15%.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I8b48bb4377ddb4231fa6f26b4373695fd85cbb26
2024-01-03 15:38:28 +08:00
Algea Cao
5f2dd30238 drm/bridge: dw-hdmi-qp: Fixes compilation errors when cec core is not compiled
Fix error: implicit declaration of function 'cec_queue_pin_hpd_event'.

Fixes: b73433e36e ("drm/rockchip: Add dw-hdmi-qp driver")
Change-Id: I9268259d42dddd285b3bb8d92a55b7df9ae3c3c1
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-01-03 15:13:24 +08:00
Algea Cao
5a0f616be9 drm/bridge: synopsys: Fixes compilation errors when cec core is not compiled
Fix error: implicit declaration of function 'cec_queue_pin_hpd_event'.

Fixes: 5fe797153d ("drm: bridge: dw-hdmi: Support report cec hpd")
Change-Id: I4ddae31d5b72b17fdd33fbc28ca454dc57377f74
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-01-03 15:13:24 +08:00
Lan Honglin
920198cd6c media: i2c: imx415 adapt sleep_wakeup
Change-Id: Ie371b8dc92718e13d3abe97a8809e859e918e7a7
Signed-off-by: Lan Honglin <helin.lan@rock-chips.com>
2024-01-02 10:57:42 +08:00
Dingxian Wen
22999ca743 media: rockchip: hdmirx: make sure to bind to big cpu1
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I7f81e13e02911ff970c179a1a7def0f01417c0c3
2024-01-02 10:52:05 +08:00
Hisping Lin
ca7627f2a4 tee: optee: interrupt an RPC depend on shutdown flag
Fixes: e6c7ea7d4d ("tee: optee: interrupt an RPC when supplicant has been killed")
Change-Id: I33f33af02afb75bda5d68c9731fe636bb97132fe
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2024-01-02 10:32:37 +08:00
Finley Xiao
5f0de7c5d5 drm/rockchip: vop2: Add devfreq support
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I0bde28f52dd3d734aa3f26adfe9ca8ece8febd65
2023-12-29 17:57:19 +08:00
Zhen Chen
44ee8c59b5 MALI: bifrost: log: Disable WARNINGs in validate_tracepoint_data()
After integrating DDK g21(r46), the driver outputs the following WARNING after waking from sleep:
[  293.271414][  T209] prev_wp_active_end_time 18446744073605310680 > start_time 1119644647 for aid 1000 active_cnt 0
[  293.224787][  T375] WARNING: CPU: 3 PID: 375 at drivers/gpu/arm/bifrost/mali_kbase_gpu_metrics.c:84 emit_tracepoint_for_active_gpu_metrics_ctx+0x138/0x1c4
[  293.224825][  T375] Modules linked in: bcmdhd dhd_static_buf r8168
[  293.224873][  T375] CPU: 3 PID: 375 Comm: kworker/u17:2 Not tainted 5.10.160 #1050
[  293.224888][  T375] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[  293.224911][  T375] Workqueue: csf_scheduler_gpu_idle_ gpu_idle_worker
[  293.224936][  T375] pstate: 60c00009 (nZCv daif +PAN +UAO -TCO BTYPE=--)
[  293.224955][  T375] pc : emit_tracepoint_for_active_gpu_metrics_ctx+0x138/0x1c4
[  293.224973][  T375] lr : emit_tracepoint_for_active_gpu_metrics_ctx+0x138/0x1c4
...
[  293.225343][  T375] Call trace:
[  293.225364][  T375]  emit_tracepoint_for_active_gpu_metrics_ctx+0x138/0x1c4
[  293.225382][  T375]  kbase_gpu_metrics_emit_tracepoint+0x54/0xf4
[  293.225403][  T375]  cleanup_csg_slot+0x20c/0x4f8
[  293.225423][  T375]  wait_csg_slots_suspend+0x320/0x3bc
[  293.225440][  T375]  suspend_active_groups_on_powerdown+0xa8/0x1cc
[  293.225458][  T375]  scheduler_suspend_on_idle+0x24/0x828
[  293.225474][  T375]  gpu_idle_worker+0x384/0x5c4
[  293.225495][  T375]  process_one_work+0x1f0/0x478
[  293.225511][  T375]  worker_thread+0x270/0x4cc
[  293.225531][  T375]  kthread+0x138/0x340
[  293.225552][  T375]  ret_from_fork+0x10/0x18

The WARNING is due to the driver expecting 'gpu_ts' (gpu_timestamp) from the FW
to be monotonically increasing, but here "after waking up, 'gpu_ts' is smaller than before sleep."

'gpu_ts' comes from the GPU's input signal CNTVALUEB.
CNTVALUEB comes from the 'stimer' timer.
derrick.huang@rock-chips.com confirmed that this timer loses power during sleep,
and its count is reset when the system wakes up.
This causes "'gpu_ts' to be smaller after waking up than before sleep."

derrick.huang also mentioned that "for RK3588, it is not possible
to make 'stimer' not lose power in the product."
Here, we are temporarily disabling this WARNING.

It is speculated that sleep-wake cycles
might lead to certain profile features of the GPU not functioning correctly.
Further testing will be conducted to check for other potential issues.

Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: I9979bff7c7fb946437889561e90440de1037bb35
2023-12-29 17:57:19 +08:00
Zhen Chen
6b494eb5a1 Mali: bifrost: Fix: When calling devfreq_add_device(), restore passing of '&ondemand_data'
Change-Id: Ia2987763b90223f7333e2a24dacc05840309709c
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2023-12-29 17:57:19 +08:00
Zhen Chen
a94d0b968a MALI: rockchip: upgrade bifrost DDK to g21p0-01eac0, from g18p0-01eac0
NOTE:
For RK3588, the mali_csffw.bin used with this driver MUST be from DDK g21p0-01eac0 correspondingly.

Change-Id: Ifab61806a6a350ba53c5dc0296d20628c28d633a
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2023-12-29 17:57:18 +08:00
Algea Cao
e2f9938790 phy: rockchip-samsung-hdptx-hdmi: Calculate the pll frequency based on the register value
Change-Id: Ifd069b1c26efc6b57065e98a4d694c069c29173f
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2023-12-29 17:57:18 +08:00
Damon Ding
b0e840f8a4 drm/rockchip: analogix_dp: add dual channel mode support
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I5d98ddc887da6c1a36be72d930d8b2312be0e446
2023-12-29 17:57:18 +08:00
Zefa Chen
4de536c973 media: rockchip: vicap: support use reserved mem for aov when run with thunderboot mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ic0dca3b4e8b32c217abece05a6566beb54bc6eaa
2023-12-29 17:57:18 +08:00
Zhang Yubing
730004820b mfd: rkx110_x120: reset dsi tx host when generator pattern
Change-Id: I92b4733152532c62e79d39eabdf2ec99d006a257
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2023-12-29 17:57:18 +08:00
LongChang Ma
bd48aceb6a media: i2c: cam-sleep-wakeup: optimize sensor wakeup workflow for reset
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com>
Change-Id: I3fa6752a404e8b9f70dfd5c75a554f5511e6e49a
2023-12-29 17:57:18 +08:00
Zhang Yubing
9d4ae424d0 mfd: rkx110_x120: disable phy when stop video stream
Change-Id: I4efe4873dafc74d549fc8322fdb35490140eba5b
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2023-12-29 17:57:18 +08:00
Lan Honglin
80bc7372a8 media: i2c: os04d10: add reg list of 1440p@30fps and 360p@120fps
Change-Id: Ifda327acddd93f993c9ce0508ec6b02a9c997cf2
Signed-off-by: Lan Honglin <helin.lan@rock-chips.com>
2023-12-29 17:57:13 +08:00
Lan Honglin
de8d245d36 media: i2c: os04d10: fix adapter fastboot issue
Change-Id: Ia11491a7602eb2a6a1a2453083fa574aaef1ea61
Signed-off-by: Lan Honglin <helin.lan@rock-chips.com>
2023-12-29 17:56:35 +08:00
Finley Xiao
604cec4004 soc: rockchip: rockchip_system_monitor: Fix opp_info NULL pointer
Fixes: feecbd010e ("soc: rockchip: rockchip_system_monitor: Add support to use low temp pvtpll config")
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I17f5dbc2cd2da487f7e5c9f81a89520c6eb53799
2023-12-29 17:56:35 +08:00
Zefa Chen
8a6ab5ba66 media: rockchip: vicap fixes error of access NULL point when pm resume
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I9014a892c0eeb1b84389f8ce2980abf1e9ea6bab
2023-12-29 17:56:35 +08:00
Zefa Chen
3c4b76edbe media: rockchip: vicap fixes error flags of devm_request_irq
to resolve:

Unbalanced enable for IRQ 66
WARNING: CPU: 3 PID: 1589 at kernel/irq/manage.c:691 enable_irq+0x9c/0xf0
Modules linked in:
CPU: 3 PID: 1589 Comm: v4l2-ctl Not tainted 5.10.198 #50
Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
pstate: 60400089 (nZCv daIf +PAN -UAO -TCO BTYPE=--)
pc : enable_irq+0x9c/0xf0
lr : enable_irq+0x9c/0xf0
sp : ffffffc00e53b660
x29: ffffffc00e53b670 x28: 0000000000000001
x27: ffffff810313f610 x26: 0000000000000000
x25: 0000000000000000 x24: 0000000000000001
x23: ffffff81030de600 x22: 0000000000020001
x21: ffffff810310e380 x20: 0000000000000042
x19: ffffff8101193400 x18: ffffffffffffffff
x17: 0000000000000000 x16: 00000000000000f4
x15: 0000000000000004 x14: 0000000000001fff
x13: ffffffc009be2528 x12: 0000000000000003
x11: 00000000ffffdfff x10: c0000000ffffdfff
x9 : 44662b0799533b00 x8 : 44662b0799533b00
x7 : 6f6620656c62616e x6 : ffffffc009d69688
x5 : ffffffc008cee45c x4 : 0000000000000001
x3 : 0000000000000000 x2 : 0000000000000000
x1 : ffffffc00e53b330 x0 : 000000000000001c
Call trace:
 enable_irq+0x9c/0xf0
 csi2_start+0x31c/0x594
 csi2_s_stream+0xf8/0x238
 rkcif_pipeline_set_stream+0x250/0x63c
 rkcif_do_start_stream+0xe64/0x122c
 rkcif_start_streaming+0x1c/0x24
 vb2_start_streaming+0x64/0x134

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I0506b9b49094b6ee22331d38aa028ec46bb2d50d
2023-12-29 17:56:35 +08:00
Damon Ding
732061bcf9 pwm: rockchip: support pwm version 4
Change-Id: I64e270c49e51244a9437f40cdc9e0df5aff1576d
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2023-12-28 09:47:16 +08:00
Damon Ding
0b024bc977 pwm: core: add oneshot_repeat and duty_offset attributes
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I39caf2cc449499afc51097724a28cc2055ab149f
2023-12-28 09:47:16 +08:00
Damon Ding
a8165608c7 pwm: rockchip: support more features
1.support counter, frequency meter, global control and
  wave generator.
2.add struct rockchip_pwm_funcs and modify struct
  rockchip_pwm_data for compatibility and extensibility.
3.rename current .enable/.config/.irq_handler to v1.
4.not to return ERRNO if failed to get irq in probing for
  pwm_v3.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I28c6a2946ccb9072f464397d6b25f4b6803fa8c5
2023-12-28 09:47:16 +08:00
Tao Huang
210fc91d1c driver: rknpu: Fix passing 0 to PTR_ERR in rknpu_devfreq_init()
drivers/rknpu/rknpu_devfreq.c:338 rknpu_devfreq_init() warn: passing zero to 'PTR_ERR'

Fixes: 8e49eef1b5 ("driver: rknpu: Avoid taking an uninitialized lock")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I2faafba822613e45852bb2a5c734eb39b01de8da
2023-12-28 09:39:03 +08:00
Zefa Chen
73c9b3d6a5 media: rockchip: vicap fixes error of rk_csirx_irq1_handler
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iec15d04da87fb82e9bceca25300ebd93547fec45
2023-12-27 16:03:48 +08:00
Zefa Chen
67c83f5d38 media: rockchip: vicap fixes issue of resend the same buffer to isp
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I9c6a92ac43667289642369f13cc46cd810c3fd3c
2023-12-27 16:03:33 +08:00
Zefa Chen
9f585815cc media: rockchip: vicap fixes logic error of skip frame
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ic1428169c8a60786decf3d8926bd86f2df7670e1
2023-12-27 16:02:04 +08:00
Zefa Chen
e917db0dd7 media: rockchip: vicap fixes rdbk buffer not send to isp with single frame mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Idd4e5994a094ed39a5a6f948f57f813b5702f8f8
2023-12-27 16:00:06 +08:00
ZhiZhan Chen
3456ecfd23 arm/configs: rk3308bs_aarch32_mipi_display.config add gt911
Change-Id: Ie5cea049edcf6ff22d8b88960f62a5d36eb2f5a8
Signed-off-by: ZhiZhan Chen <zhizhan.chen@rock-chips.com>
2023-12-27 14:46:50 +08:00
Tao Huang
76f17016d5 media: rockchip: hdmirx: select CEC_CORE
drivers/media/platform/rockchip/hdmirx/rk_hdmirx_cec.c:143:3: error: implicit declaration of function 'cec_transmit_attempt_done' [-Werror,-Wimplicit-function-declaration]
drivers/media/platform/rockchip/hdmirx/rk_hdmirx_cec.c:148:3: error: implicit declaration of function 'cec_received_msg' [-Werror,-Wimplicit-function-declaration]
drivers/media/platform/rockchip/hdmirx/rk_hdmirx_cec.c:224:14: error: implicit declaration of function 'cec_allocate_adapter' [-Werror,-Wimplicit-function-declaration]
drivers/media/platform/rockchip/hdmirx/rk_hdmirx_cec.c:224:12: error: incompatible integer to pointer conversion assigning to 'struct cec_adapter *' from 'int' [-Werror,-Wint-conversion]
drivers/media/platform/rockchip/hdmirx/rk_hdmirx.c:1068:2: error: implicit declaration of function 'cec_queue_pin_hpd_event' [-Werror,-Wimplicit-function-declaration]
drivers/media/platform/rockchip/hdmirx/rk_hdmirx.c:1077:2: error: implicit declaration of function 'cec_queue_pin_hpd_event' [-Werror,-Wimplicit-function-declaration]

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ibad7f45af8ecf9a789d7062a2b33c68c4f1541cb
2023-12-27 14:41:33 +08:00
Finley Xiao
8e49eef1b5 driver: rknpu: Avoid taking an uninitialized lock
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 5 PID: 1 at kernel/locking/mutex.c:604 __mutex_lock_common+0x5fc/0x142c
Modules linked in:
CPU: 5 PID: 1 Comm: swapper/0 Not tainted 6.1.43 #211
Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __mutex_lock_common+0x5fc/0x142c
lr : __mutex_lock_common+0x5fc/0x142c
sp : ffffffc00b06b6a0
x29: ffffffc00b06b710 x28: 0000000000000000 x27: 0000000000000000
x26: 0000000000000000 x25: ffffffc00aee2000 x24: ffffffc0097b2d28
x23: ffffff8108be1780 x22: 0000000000000008 x21: 0000000000000000
x20: 0000000000000000 x19: ffffff81011ca458 x18: ffffffc00b0450b8
x17: 0000000000000013 x16: ffffffffffffffff x15: 0000000000000004
x14: ffffffc00a08bf18 x13: 0000000000003fff x12: 0000000000000003
x11: 00000000ffffbfff x10: c0000000ffffbfff x9 : fcad3029a1246100
x8 : fcad3029a1246100 x7 : 4e5241575f534b43 x6 : ffffffc009579a44
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000000 x1 : ffffffc00b06b430 x0 : 0000000000000028
Call trace:
 __mutex_lock_common+0x5fc/0x142c
 mutex_lock_nested+0x38/0x44
 rockchip_opp_dvfs_lock+0x1c/0x28
 rknpu_devfreq_lock+0x14/0x20
 rknpu_power_on+0x70/0x2a4
 rknpu_probe+0x60c/0x8cc
 platform_probe+0xa8/0xd0
 really_probe+0x174/0x350
 __driver_probe_device+0xa0/0x128
 driver_probe_device+0x44/0x218
 __driver_attach+0xfc/0x1c8
 bus_for_each_dev+0x80/0xcc
 driver_attach+0x24/0x30
 bus_add_driver+0x10c/0x1f8
 driver_register+0x78/0x114
 __platform_driver_register+0x24/0x30
 rknpu_init+0x1c/0x28
 do_one_initcall+0xf8/0x348
 do_initcall_level+0xd0/0x17c
 do_initcalls+0x54/0x94
 do_basic_setup+0x1c/0x28
 kernel_init_freeable+0x16c/0x1f0
 kernel_init+0x20/0x1a0
 ret_from_fork+0x10/0x20

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ic0247477705a9111f5617eb9fbbc438843feb79c
2023-12-26 18:47:09 +08:00