- 积分
- 15
贡献98
飞刀28 FD
注册时间2019-11-28
在线时间4 小时
扫一扫,手机访问本帖
|
更换了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这个问题需要修改什么可以解决
|
|