完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
1 找到 在要编译的rk3288-evb-android-rk808-edp.dts
加入以下edp dts配置: /dts-v1/; #include "rk3288-evb.dtsi" #include "rk3288-android.dtsi" #include #include #include 。。。。。。。。 // added for edp start <<< &edp { status = "okay"; }; &edp_phy { status = "okay"; }; &route_edp { status = "okay"; }; &edp_in_vopb { status = "okay"; }; &edp_in_vopl { status = "disabled"; }; &edp_panel { // compatible = "simple-panel"; ; backlight = <&backlight>; power-supply = <&vcc_lcd>; status = "okay"; disp_timings: display-timings { native-mode = <&edp_panel_name>; edp_panel_name: timing0 { clock-frequency = <158000000>; hactive = <1920>; vactive = <1080>; hfront-porch = <48>; hsync-len = <4>; hback-porch = <310>; vfront-porch = <3>; vsync-len = <4>; vback-porch = <60>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <0>; }; }; }; // added edp end >>> 。。。。。。。。 2.编译kernel,烧写固件,绑定edp成功会有以下log出现 [ 1.535994] rockchip-drm display-subsystem: bound ff970000.dp (ops rockchip_dp_component_ops) [ 1.536006] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). 在rk3288.dtsi中可以知道edp地址是ff970000 。。。。。。。。。。 edp: dp@ff970000 { compatible = "rockchip,rk3288-dp"; reg = <0x0 0xff970000 0x0 0x4000>; interrupts = clocks = <&cru SCLK_EDP>, <&cru PCLK_EDP_CTRL>; clock-names = "dp", "pclk"; power-domains = <&power RK3288_PD_VIO>; phys = <&edp_phy>; phy-names = "dp"; resets = <&cru SRST_EDP>; reset-names = "dp"; rockchip,grf = <&grf>; status = "disabled"; ports { #address-cells = <1>; #size-cells = <0>; edp_in: port@0 { reg = <0>; #address-cells = <1>; #size-cells = <0>; edp_in_vopb: endpoint@0 { reg = <0>; remote-endpoint = <&vopb_out_edp>; }; edp_in_vopl: endpoint@1 { reg = <1>; remote-endpoint = <&vopl_out_edp>; }; }; }; }; 。。。。。。。。。 |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
rk1126实现BT601输入,输入不带IIC接口的驱动程序
1137 浏览 0 评论
1170 浏览 1 评论
2263 浏览 3 评论
RK3568 Android11让系统ntp校准时间生效,需要设置些什么
3028 浏览 1 评论
5022 浏览 2 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-16 06:55 , Processed in 0.515224 second(s), Total 42, Slave 36 queries .
Powered by 电子发烧友网
© 2015 www.ws-dc.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号