完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
3288最强功能之一就是双屏异显,7.1以上不需要打补丁,RK已经把补丁打好,只需要配置dts以及build.prop变量即可。
1.配置dts支持mipi+edp双屏显示: 首先是mipi的dts配置 &dsi0 { status = "okay"; //rockchip,lane-rate = <400>; panel: panel { compatible = "simple-panel-dsi"; reg = <0>; backlight = <&backlight>; //enable-gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>; //gpio7_a3 mark //reset-gpios = <&gpio7 4 GPIO_ACTIVE_LOW>; power-supply = <&vcc_lcd>; dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET|MIPI_DSI_MODE_VIDEO_HBP)>; dsi,format = dsi,lanes = <4>; reset-delay-ms = <20>; init-delay-ms = <20>; enable-delay-ms = <120>; prepare-delay-ms = <120>; status = "okay"; panel-init-sequence = [ 05 78 01 11 05 14 01 29 ]; panel-exit-sequence = [ 05 64 01 28 05 96 01 10 ]; disp_timings: display-timings { native-mode = <&timing0>; timing0: timing0 { clock-frequency = <95000000>; hactive = <1920>; vactive = <1080>; hfront-porch = <48>; hsync-len = <32>; hback-porch = <80>; vfront-porch = <10>; vsync-len = <5>; vback-porch = <16>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; }; }; }; }; &dsi1 { status = "disabled"; }; &route_dsi0 { status = "okay"; connect = <&vopl_out_dsi0>; }; &dsi0_in_vopl { status = "okay"; }; &dsi0_in_vopb { status = "disabled"; }; edp显示的配置: &edp_panel { ; //backlight = <&backlight1>; //backlight = <&backlight> enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>; enable-delay-ms = <10>; pinctrl-0 = <&lcd_cs>; power-supply = <&vcc_lcd>; status = "okay"; display-timings { native-mode = <&F402>; F402: timing0 { clock-frequency = <88266000>; hactive = <1600>; vactive = <900>; hfront-porch = <270>; hsync-len = <100>; hback-porch = <100>; vfront-porch = <20>; vsync-len = <20>; vback-porch = <30>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; }; }; }; &edp { status = "okay"; }; &edp_phy { status = "okay"; }; &route_edp { status = "okay"; connect = <&vopb_out_edp>; }; &edp_in_vopb { status = "okay"; }; &edp_in_vopl { status = "disabled"; }; 双屏由于需要两个背光控制,所以需要写两个backlight节点,我在edp这里,并没有绑定backlight节点,但可以在Hardware通过节点直接调节。直接在这里绑定backlight节点,会导致系统无法跑起来,没有仔细研究,因此没有做绑定 2.设置build.prop变量 sys.hwc.device.primary=eDP sys.hwc.device.extend=DSI |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1944 浏览 1 评论
synopsys 的design ware:DW_fpv_div,浮点数除法器,默认32位下,想提升覆盖率(TMAX),如果用功能case去提升覆盖率呢?
2435 浏览 1 评论
RK3588 GStreamer调试四路鱼眼摄像头四宫格显示报错
5221 浏览 1 评论
【飞凌嵌入式OK3576-C开发板体验】RKNN神经网络-YOLO图像识别
254 浏览 0 评论
【飞凌嵌入式OK3576-C开发板体验】SSH远程登录网络配置及CAN通讯
1336 浏览 0 评论
浏览过的版块 |
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-23 18:12 , Processed in 0.638541 second(s), Total 73, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号