完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
1 找到 在要编译的rk3288-evb-android-rk808-edp.dts
加入以下lvds dts配置: /dts-v1/; #include "rk3288-evb.dtsi" #include "rk3288-android.dtsi" #include #include #include 。。。。。。。。 // added for lvds start <<< &route_lvds { status = "okay"; }; &lvds { status = "okay"; }; &lvds_in_vopl { status = "okay"; }; &lvds_in_vopb { status = "disabled"; }; &lvds_panel { status = "okay"; ; backlight = ; //bus-format = ; enable-gpios = ;//使能引脚 enable-delay-ms = <10>; rockchip,data-mapping = "vesa"; //rockchip,data-mapping = "jeida"; rockchip,data-width = <24>; rockchip,output = "duallvds"; display-timings { native-mode = ; lvds_panel_name: timing0 { creen-type = ; lvds-format = ; out-face = ; clock-frequency = <148000000>; hactive = <1920>; vactive = <1080>; hback-porch = <100>; hfront-porch = <160>; vback-porch = <25>; vfront-porch = <10>; hsync-len = <1>; vsync-len = <1>; hsync-active = <20>; vsync-active = <10>; de-active = <0>; pixelclk-active = <0>; }; }; }; // added lvds end <<< 。。。。。。。。 注:从原理图可以知道该lvds的enable-gpios 是GPIO7_A3 2.编译kernel,烧写固件,绑定lvds成功会有以下log出现 [ 2.236060] rockchip-drm display-subsystem: bound ff96c000.lvds (ops rockchip_lvds_component_ops) [ 2.236091] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). 在rk3288.dtsi中可以知道lvds地址是 ff96c000 。。。。。。。。。。。。。。。 lvds: lvds@ff96c000 { compatible = "rockchip,rk3288-lvds"; reg = <0x0 0xff96c000 0x0 0x4000>; clocks = ; clock-names = "pclk_lvds"; power-domains = ; rockchip,grf = ; status = "disabled"; ports { #address-cells = <1>; #size-cells = <0>; lvds_in: port@0 { reg = <0>; #address-cells = <1>; #size-cells = <0>; lvds_in_vopb: endpoint@0 { reg = <0>; remote-endpoint = ; }; lvds_in_vopl: endpoint@1 { reg = <1>; remote-endpoint = ; }; }; }; }; |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
【飞凌嵌入式OK3576-C开发板体验】SSH远程登录网络配置及CAN通讯
197 浏览 0 评论
2057 浏览 3 评论
rk1126实现BT601输入,输入不带IIC接口的驱动程序
3829 浏览 0 评论
2340 浏览 1 评论
3577 浏览 3 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-9-30 16:22 , Processed in 0.531451 second(s), Total 69, Slave 53 queries .
Powered by 电子发烧友网
© 2015 www.ws-dc.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号