AnsweredAssumed Answered

rm67191 driver error

Question asked by tan yd on Mar 20, 2020
Latest reply on Mar 22, 2020 by Joan Xie

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?

 

Outcomes