我在 linux5.4.70 中添加了一个新的 st7701 面板。 但是 有 一些 问题, 请帮助我
错误日志:
[8.640692][drm:st7701_get_modes]*错误*==suvine=st7701_get_modes=
[8.702147][drm:st7701_prepare]*错误*==suvine1==[
8.731847][drm:st7701_prepare]*错误*==suvine2==
[ 9.151834] imx_sec_dsim_drv 32e60000。[color=\"#FF0000\"]mipi_dsi:等待 pkthdr tx 完成超时
[9.427834] imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时
NXP i.MX Release Distro 5.4-zeus OK8MP ttymxc1
OK8MP登录:[9.895843] imx_sec_dsim_drv 32e60000.mipi_dsi:等待有效载荷tx完成超时
[10.155855] imx_sec_dsim_drv 32e60000.mipi_dsi:等待有效载荷tx完成
超时[10.415867] imx_sec_dsim_drv 32e60000.mipi_dsi:等待有效负载 tx 完成超时
[10.675848] imx_sec_dsim_drv 32e60000 .mipi_dsi:等待有效负载 tx 完成超时
[10.935836] imx_sec_dsim_drv 32e60000.mipi_dsi:等待有效负载 tx 完成超时
[11.195899] imx_sec_dsim_drv 32e60000.mipi_dsi:等待有效负载 tx 完成超时 [11.455837]
imx_sec_dsim_drv 32e60000.mipi_dsi:等待有效载荷 tx 完成时间out
[11.715831] imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时
[11.975831] imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时
[12.235840]imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时
[12.495823]imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时[12.755838]
imx_sec_dsim_ drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时 [
13.015834] imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时
[13.275838] imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时
[13.535834] imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时[
13.795 840] imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时
[13.920843 ] 审计:type=1701 审计(1626184062.832:6):auid=4294967295 uid=0 gid=0 ses=4294967295 pid=978 comm=\"isp_media_serve\" exe=\"/opt/imx8-isp/bin/isp_media_server\" sig=11资源=1
[14.055832] imx_sec_dsim_drv 32e60000.mipi_dsi:等待 pkthdr tx 完成超时
[14.315836] imx_sec_dsim_drv 32e60000.mipi_dsi:等待有效负载 tx 完成超时 [14.323159
] CPU3 上的 SError 中断,代码 0 xbf000002 -- SError
[14.323162] CPU:3 PID:219通讯:kworker/u8:2 受污染:GCO 5.4.70-2.3.0 #19
[14.323164] 硬件名称:Forlinx OK8MPlus-C 板(DT)
[14.323166] 工作队列:events_unbound commit_work
[14.323168] pstate:80000005(Nzcv daif - PAN -UAO)
[ 14.323170] pc : _raw_spin_unlock_irq+0x1c/0x48
[ 14.323171] lr : wait_for_comple
tion_timeout+0x8c/0x110
[ 14.323173] sp : ffff8000239fbb20 [
14.32317 4] x29: ffff8000239fbb20 x28: ffff800011a36000
[ 14.323177] x27: 0000000000000000 x26: ffff8000120bbce8
[ 14.323183] x25: 0000000000000000 x24: ffff0000f8e20e00
[ 14.323186] x23: 0000000000000002 x22: ffff0000f8e20e00
[ 14.323189] x21: ffff0000f9647df8 x20: ffff0000f9647df0
[ 14.323192] x19: 000000000000003f x18: 0000000000000010
[ 14.323195] x17: 0000000000000000 x16: 0000000000000000
[ 14.323199] x15: ffff0000f8e21270 x14: 756f20656d697420
[ 14.323203] x13: 656e6f6420787420 x12: 64616f6c79617020
[ 14.323207] x11: 74696177203a6973 x10: 645f6970696d2e30
[ 14.323210] x9 : 3030303665323320 x8 : ffff800011b79000
[ 14.323213] x7 : ffff800010698948 x6 : 000000000000028a
[ 14.323216] x5:0000000000000001 x4:ffff0000f9647e00
[14.323219] x3:ffff0000f8e20e00 x2:ffff8000239fbb78
[14.323223] x1:ffff0000f8e20e00 x0:0000000100000001
[14.323227]内核恐慌-不同步:A同步 SError 中断 [14.323230]
CPU:3 PID:219 Comm:kworker/u8:2 受污染:GCO 5.4 .70-2.3.0#19
[14.323231]硬件名称:Forlinx OK8MPlus-C板(DT)
[14.323233]工作队列:events_unbound commit_work
[14.323235]调用跟踪:
[14.323236]dump_backtrace+0x0/0x140
[14.323237]show_st确认+0x14/ 0x20
[ 14.323239] dump_stack+0xb4/0x114
[ 14.323240] panic+0x158/0x324
[ 14.323241] nmi_panic+0x84/0x88 [ 14.323243
] arm64_serror_panic+0x74/0x80
[ 14.32 3244] do_serror+0x80/0x138
[ 14.323246] el1_error+0x84/0xf8
[14.323247]_raw_spin_unlock_irq+0x1c/0x48
[14.323249]sec_mipi_dsim_host_transfer+0x128/0x428
[14.323250]mipi_dsi_device_transfer.isra.0+0x48/0x58 [
14.323252]mipi_d si_dcs_write_buffer+0x68/0xa8
[14.323253] st7701_init_sequence+0x2a4/0x460
[14.323255] st7701_prepare+0x6c /0x80
[14.323256]drm_panel_prepare+0x24/0x38
[14.323258]sec_mipi_dsim_bridge_enable+0x3c/0x4b8
[14.323259]drm_atomic_bridge_enable+0x4c/0x68[
14.323261]drm_atomic_help er_commit_modeset_enables+0x11c/0x230 [14.323263]
lcdifv3_drm_atomic_commit_tail+0x2c /0x68
[14.323264] commit_tail+0x9c/0x138
[ 14.323265] commit_work+0x10/0x18
[ 14.323267] process_one_work+0x198/0x320
[14.323268]worker_thread+0x48/0x420
[14.323269]kthread+0x138/0x158
[14.323271]ret_from_fork+0x10/0x1c
[14.323285]SMP:停止辅助CPU
[14.323287]内核偏移:禁用
[14 .323288] CPU 功能:0x0002,2000200c
[ 14.323289 ] 内存限制:无
数据:
....
&mipi_dsi {
status = \"okay\";
//pmsreg = <0x8644>; //uboot
//计时= <0x203>; //uboot
//计时1 = <0x20d0803>; //uboot
//计时2 = <0x030305>; //uboot
mipi_panel@0 {
compatible = \"techstar,ts8550b\", \"sitronix,st7701\";
pinctrl-名称=“默认”;
pinctrl-0 = <&pinctrl_st7701_reset_io>;
重置-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; /* LCD-RST: */
reg = <0>;
dsi 车道 = <2>;
video-mode = <2>;/* 0:突发模式
* 1:带同步事件的非突发模式
* 2:带同步脉冲的非突发模式
*/
panel-width-mm = <69>;
面板高度-mm = <139>;
VCC
电源= <&ldo2_reg>;
IOVCC 供应 = <&ldo2_reg>;
背光 = <&lm3509>;
状态=“好的”;
};
0