rm67191 driver error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rm67191 driver error

1,283 Views
tanyid
Contributor I

board : imx8mini 

dts     : fsl-imx8mm-evk-revb-rm67191.dtb

when I add RM67191 driver, it's worng,the message:

[ 1.095476] io scheduler kyber registered
[ 1.111138] imx-sdma 30bd0000.dma-controller: no iram assigned, using external mem
[ 1.117969] imx-sdma 30bd0000.dma-controller: Falling back to user helper
[ 1.123039] imx-sdma 302c0000.dma-controller: no iram assigned, using external mem
[ 1.134125] imx-sdma 302b0000.dma-controller: no iram assigned, using external mem
[ 1.144122] mxs-dma 33000000.dma-apbh: initialized
[ 1.147897] Bus freq driver module loaded
[ 1.155640] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.161568] SuperH (H)SCI(F) driver initialized
[ 1.164475] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 30, base_baud = 5000000) is a IMX
[ 1.173331] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 31, base_baud = 5000000) is a IMX
[ 1.181990] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 32, base_baud = 1500000) is a IMX
[ 1.193044] console [ttymxc1] enabled
[ 1.193044] console [ttymxc1] enabled
[ 1.197522] bootconsole [ec_imx6q0] disabled
[ 1.197522] bootconsole [ec_imx6q0] disabled
[ 1.206854] msm_serial: driver initialized
[ 1.220316] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.226953] [drm] No driver support for vblank timestamp query.
[ 1.232956] imx-drm display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[ 1.240627] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[ 1.247764] rad_panel_probe.........................................................
[ 1.255642] imx-drm display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[ 1.325831] ------------[ cut here ]------------
[ 1.325849] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/bridge/sec-dsim.c:1738 sec_mipi_dsim_irq_handler+0x180/0x210
[ 1.325851] Modules linked in:
[ 1.325860] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.98 #3
[ 1.325862] Hardware name: FSL i.MX8MM EVK RevB board (DT)
[ 1.325865] task: ffff000009532580 task.stack: ffff000009520000
[ 1.325870] PC is at sec_mipi_dsim_irq_handler+0x180/0x210
[ 1.325878] LR is at __handle_irq_event_percpu+0x5c/0x148
[ 1.325881] pc : [<ffff0000086b2540>] lr : [<ffff00000811bafc>] pstate: 000001c5
[ 1.325883] sp : ffff000008003e60
[ 1.325886] x29: ffff000008003e60 x28: ffff000009532580
[ 1.325891] x27: 0000000000000001 x26: ffff0000092254d0
[ 1.325896] x25: ffff0000096c6b43 x24: ffff80007684dc00
[ 1.325900] x23: 0000000000000039 x22: ffff000008003f0c
[ 1.325905] x21: 0000000000000000 x20: ffff800076c5c818
[ 1.325910] x19: 0000000000200004 x18: 0000000000000007
[ 1.325915] x17: 0000000000000001 x16: 0000000000000019
[ 1.325919] x15: 0000000000000033 x14: 000000000000004c
[ 1.325924] x13: 0000000000000000 x12: 0000000000000001
[ 1.325929] x11: 0000000000000000 x10: 0000000000000040
[ 1.325933] x9 : ffff000009542fe8 x8 : ffff800074000248
[ 1.325938] x7 : ffff800074000270 x6 : 0000000000000000
[ 1.325943] x5 : ffff800074000248 x4 : 0000800074a4a000
[ 1.325947] x3 : ffff000008003f40 x2 : ffff0000086b23c0
[ 1.325952] x1 : 00000000f1370000 x0 : 000000008011010f
[ 1.325957] Call trace:
[ 1.325962] Exception stack(0xffff000008003d20 to 0xffff000008003e60)
[ 1.325967] 3d20: 000000008011010f 00000000f1370000 ffff0000086b23c0 ffff000008003f40
[ 1.325972] 3d40: 0000800074a4a000 ffff800074000248 0000000000000000 ffff800074000270
[ 1.325976] 3d60: ffff800074000248 ffff000009542fe8 0000000000000040 0000000000000000
[ 1.325980] 3d80: 0000000000000001 0000000000000000 000000000000004c 0000000000000033
[ 1.325985] 3da0: 0000000000000019 0000000000000001 0000000000000007 0000000000200004
[ 1.325989] 3dc0: ffff800076c5c818 0000000000000000 ffff000008003f0c 0000000000000039
[ 1.325994] 3de0: ffff80007684dc00 ffff0000096c6b43 ffff0000092254d0 0000000000000001
[ 1.325999] 3e00: ffff000009532580 ffff000008003e60 ffff00000811bafc ffff000008003e60
[ 1.326003] 3e20: ffff0000086b2540 00000000000001c5 ffff000008003e60 ffff0000086b24dc
[ 1.326008] 3e40: 0000ffffffffffff ffff0000081314e0 ffff000008003e60 ffff0000086b2540
[ 1.326013] [<ffff0000086b2540>] sec_mipi_dsim_irq_handler+0x180/0x210
[ 1.326018] [<ffff00000811bafc>] __handle_irq_event_percpu+0x5c/0x148
[ 1.326023] [<ffff00000811bc04>] handle_irq_event_percpu+0x1c/0x58
[ 1.326027] [<ffff00000811bc88>] handle_irq_event+0x48/0x78
[ 1.326033] [<ffff00000811fa88>] handle_fasteoi_irq+0xa8/0x180
[ 1.326038] [<ffff00000811ac1c>] generic_handle_irq+0x24/0x38
[ 1.326043] [<ffff00000811b29c>] __handle_domain_irq+0x5c/0xb8
[ 1.326048] [<ffff000008081960>] gic_handle_irq+0x78/0x174
[ 1.326051] Exception stack(0xffff000009523dd0 to 0xffff000009523f10)
[ 1.326055] 3dc0: 0000000000000000 0000000000000000
[ 1.326059] 3de0: 0000000000000001 0000000000000000 ffff000009513388 ffff000009523f00
[ 1.326064] 3e00: 0000800074a4a000 0000000000000000 0000000000000002 ffff000009523e90
[ 1.326068] 3e20: 0000000000000980 0000000000000000 0000000000000001 0000000000000000
[ 1.326072] 3e40: 000000000000004c 0000000000000033 0000000000000019 0000000000000001
[ 1.326077] 3e60: 0000000000000007 ffff00000950d018 ffff000009528000 ffff000009528000
[ 1.326081] 3e80: ffff000009518cc0 ffff000009528e9c 0000000000000000 0000000000000000
[ 1.326086] 3ea0: ffff000009532580 0000000000000400 00000000417e0018 ffff000009523f10
[ 1.326090] 3ec0: ffff00000808581c ffff000009523f10 ffff000008085820 0000000000000145
[ 1.326094] 3ee0: 0000000000000000 00000000bdf11c64 ffffffffffffffff ffff000008141ad4
[ 1.326098] 3f00: ffff000009523f10 ffff000008085820
[ 1.326103] [<ffff000008083230>] el1_irq+0xb0/0x124
[ 1.326108] [<ffff000008085820>] arch_cpu_idle+0x10/0x18
[ 1.326113] [<ffff00000810c928>] do_idle+0x120/0x1e0
[ 1.326118] [<ffff00000810cb84>] cpu_startup_entry+0x24/0x28
[ 1.326125] [<ffff000008dd0898>] rest_init+0xd0/0xe0
[ 1.326132] [<ffff0000093e0b70>] start_kernel+0x398/0x3ac
[ 1.326138] ---[ end trace ed470cc67c2be523 ]---
[ 1.326145] imx_sec_dsim_drv 32e10000.mipi_dsi: LP RX timeout
[ 1.581073] imx_sec_dsim_drv 32e10000.mipi_dsi: wait payload tx done time out
[ 1.581082] panel-raydium-rm67191 32e10000.mipi_dsi.0: [drm:rad_panel_enable] *ERROR* Failed to set tear scanline (-16)
[ 1.581087] imx_sec_dsim_drv 32e10000.mipi_dsi: panel enable failed: -16
[ 1.659991] Console: switching to colour frame buffer device 135x120
[ 2.130270] imx-drm display-subsystem: fb0: frame buffer device
[ 2.136580] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0
[ 2.149734] loop: module loaded
[ 2.156875] fsl-flexspi 30bb0000.flexspi: mt25qu256 (32768 Kbytes)

How to solve this problem?

0 Kudos
Reply
2 Replies

1,158 Views
kaney
Contributor I

The BSP version is Yocto Linux 5.4.47_2.2.0

I have the same problem, when eable rm67191 mipi-dsi panel, use below device tree: 

imx8mm-evk-rm67191.dtb

[ 2.549264] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[ 2.559161] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[ 2.567464] panel-raydium-rm67191 32e10000.mipi_dsi.0: 32e10000.mipi_dsi.0 supply v3p3 not found, using dummy regulator
[ 2.578305] panel-raydium-rm67191 32e10000.mipi_dsi.0: 32e10000.mipi_dsi.0 supply v1p8 not found, using dummy regulator
[ 2.589188] imx-drm soc@0:bus@32c00000:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[ 2.599236] [drm] Initialized imx-drm 1.0.0 20120507 for soc@0:bus@32c00000:display-subsystem on minor 0
[ 2.638751] random: fast init done
[ 2.658569] ------------[ cut here ]------------
[ 2.658585] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/bridge/sec-dsim.c:1769 sec_mipi_dsim_irq_handler+0x194/0x218
[ 2.658587] Modules linked in:
[ 2.658595] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.47-2.2.0+g5ec03d0 #1
[ 2.658597] Hardware name: FSL i.MX8MM EVK board (DT)
[ 2.658601] pstate: 00000085 (nzcv daIf -PAN -UAO)
[ 2.658606] pc : sec_mipi_dsim_irq_handler+0x194/0x218
[ 2.658614] lr : __handle_irq_event_percpu+0x64/0x170
[ 2.658615] sp : ffff800010003e60
[ 2.658619] x29: ffff800010003e60 x28: 0000000000000060
[ 2.658624] x27: ffff8000114b20f0 x26: ffff800011b0a704
[ 2.658630] x25: ffff800011a02580 x24: ffff0000763b4400
[ 2.658635] x23: 0000000000000037 x22: ffff800010003f24
[ 2.658641] x21: 0000000000000000 x20: ffff000077600080
[ 2.658647] x19: 0000000000200003 x18: 0000000000000000
[ 2.658653] x17: 0000000000000000 x16: 0000000000000000
[ 2.658658] x15: 0000000000000000 x14: ffff800011a02580
[ 2.658664] x13: ffff800011a02580 x12: ffff80006c382000
[ 2.658670] x11: 0000000034d4d91d x10: 0000000000000040
[ 2.658674] x9 : ffff800011a11c80 x8 : ffff800011a11c78
[ 2.658680] x7 : ffff000074000428 x6 : 0000000000000000
[ 2.658685] x5 : ffff000074000248 x4 : ffff80006c382000
[ 2.658691] x3 : ffff800010003f60 x2 : ffff800010749698
[ 2.658697] x1 : 00000000f1370000 x0 : 000000008011040e
[ 2.658703] Call trace:
[ 2.658709] sec_mipi_dsim_irq_handler+0x194/0x218
[ 2.658713] __handle_irq_event_percpu+0x64/0x170
[ 2.658719] handle_irq_event_percpu+0x30/0x88
[ 2.658725] handle_irq_event+0x44/0xc8
[ 2.658732] handle_fasteoi_irq+0xb4/0x160
[ 2.658736] generic_handle_irq+0x24/0x38
[ 2.658740] __handle_domain_irq+0x60/0xb8
[ 2.658745] gic_handle_irq+0x5c/0x148
[ 2.658748] el1_irq+0xb8/0x180
[ 2.658754] cpuidle_enter_state+0x84/0x360
[ 2.658757] cpuidle_enter+0x34/0x48
[ 2.658762] call_cpuidle+0x18/0x38
[ 2.658765] do_idle+0x1e0/0x280
[ 2.658769] cpu_startup_entry+0x20/0x40
[ 2.658774] rest_init+0xd4/0xe0
[ 2.658781] arch_call_rest_init+0xc/0x14
[ 2.658784] start_kernel+0x418/0x44c
[ 2.658787] ---[ end trace 2727000a38e64047 ]---
[ 2.658795] imx_sec_dsim_drv 32e10000.mipi_dsi: LP RX timeout
[ 2.916479] imx_sec_dsim_drv 32e10000.mipi_dsi: wait payload tx done time out
[ 2.916490] panel-raydium-rm67191 32e10000.mipi_dsi.0: [drm:rad_panel_enable] *ERROR* Failed to set tear scanline (-16)
[ 2.916495] imx_sec_dsim_drv 32e10000.mipi_dsi: panel enable failed: -16

0 Kudos
Reply

1,177 Views
joanxie
NXP TechSupport
NXP TechSupport

what bsp version do you use? did you try fsl-imx8mm-evk-rm67191.dtb? any difference?

0 Kudos
Reply