嵌入式爱好者

查看: 39421|回复: 1

[Linux] mipi通信失败

[复制链接]

1

主题

1

帖子

15

积分

i.MX8MM通行证

扫一扫,手机访问本帖
发表于 2020-5-14 11:27:02 | 显示全部楼层 |阅读模式
更换了mipi屏幕,使用ili9881c驱动,

设备树中修改内容如下:

&mipi_dsi {
    status = "okay";
   
    panel@0 {
        /*compatible = "forlinx,mipi7";*/
        compatible = "ilitek,ili9881c";
        reg = <0>;
        reset-gpios = <&gpio1 9 0>;
        dsi-lanes = <4>;
        vddio-mode = <2>;
    };
...
}
在drivers/gpu/drm/panel/中增加panel-ilitek-ili9881c.c,相应修改deconfg,Kconfig,Makefile。
编译通过,烧到板中以后打印信息如下:
[    1.247836] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.254493] [drm] No driver support for vblank timestamp query.
[    1.260528] imx-drm display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    1.268247] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    1.275376] ili9881c start probe
[    1.278731] ili9881c-dsi 32e10000.mipi_dsi.0: 32e10000.mipi_dsi.0 supply power not found, using dummy regulator
[    1.288904] get gpio suc
[    1.288907] find node backlight suc
[    1.295032] add panel suc
[    1.297803] imx-drm display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[    1.309297] imx-drm display-subsystem: fb0:  frame buffer device
[    1.315665] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0
……
[    8.333126] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    8.352641] 8021q: 802.1Q VLAN Support v1.8
[    8.586968] imx_sec_dsim_drv 32e10000.mipi_dsi: wait pkthdr tx done time out
[    8.594168] imx_sec_dsim_drv 32e10000.mipi_dsi: panel disable failed: -16
[    8.858952] imx_sec_dsim_drv 32e10000.mipi_dsi: wait pkthdr tx done time out
[    8.920904] ili9881c  start prepare
[    8.938885] power  panel suc
[    9.098897] reset  gpio suc
[    9.354907] imx_sec_dsim_drv 32e10000.mipi_dsi: wait payload tx done time out
[    9.362068] send cmd 0 times
[    9.365123] imx_sec_dsim_drv 32e10000.mipi_dsi: panel prepare failed: -16
[    9.374332] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.391354] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.452893] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.463703] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.491609] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.502167] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.530326] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.541565] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.569021] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.580252] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.607761] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.618398] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.645975] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.656868] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.684645] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.695288] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.723336] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.733872] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.762061] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.772889] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.800797] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.811492] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.839470] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.850009] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.878203] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
[    9.889162] imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector
……

请问imx_sec_dsim_drv 32e10000.mipi_dsi: no bus formats assigned by connector这个问题需要修改什么可以解决

1.png
2.png

panel-ilitek-ili9881c.rar

3.22 KB, 下载次数: 11, 下载积分: 贡献 1

回复

使用道具 举报

0

主题

100

帖子

289

积分

发表于 2020-6-5 15:09:39 | 显示全部楼层
https://community.nxp.com/thread/523758,目前没有遇到过这种情况,针对您的报错在网上查找了一下,您可以看看
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-21 00:26

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表