Firefly开源社区

RK3399Pro Android 下EDP调试不通

19

积分

0

威望

0

贡献

技术小白

积分
19
发表于 2021-3-26 10:02:59     
WIKI里面有个EDP的修改办法,但是kernel/arch/arm64/boot/dts/rockchip/rk3399pro-firefly-aiojd4-edp.dts这个文件找不到。请问有高手指点一下怎么改吗?
回复

使用道具 举报

19

积分

0

威望

0

贡献

技术小白

积分
19
发表于 2021-3-31 10:04:31     
有技术支持吗?
回复

使用道具 举报

2895

积分

12

威望

22

贡献

注册会员

Rank: 8Rank: 8

积分
2895
发表于 2021-3-31 10:43:44     

可以参考rk3399pro-firefly-aioc-edp.dts
回复

使用道具 举报

19

积分

0

威望

0

贡献

技术小白

积分
19
发表于 2021-4-1 11:20:28     
leung先森 发表于 2021-3-31 10:43
可以参考rk3399pro-firefly-aioc-edp.dts

我现在参考了这个文件,但是EDP不亮。
        Line 285: [    0.870472] rockchip-drm display-subsystem: failed to bind ff970000.edp (ops rockchip_dp_component_ops): -517
        Line 287: [    0.873347] edp-panel supply power not found, using dummy regulator
        Line 288: [    0.873414] panel-simple edp-panel: GPIO lookup for consumer enable
        Line 289: [    0.873424] panel-simple edp-panel: using device tree for GPIO lookup
        Line 290: [    0.873465] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/edp-panel[0]' - status (0)
        Line 292: [    0.873494] panel-simple edp-panel: GPIO lookup for consumer reset
        Line 293: [    0.873503] panel-simple edp-panel: using device tree for GPIO lookup
        Line 294: [    0.873512] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/edp-panel[0]'
        Line 295: [    0.873521] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/edp-panel[0]'
        Line 296: [    0.873529] panel-simple edp-panel: using lookup tables for GPIO lookup
        Line 297: [    0.873538] panel-simple edp-panel: lookup for GPIO reset failed
        Line 298: [    0.873548] panel-simple edp-panel: GPIO lookup for consumer enable-5v
        Line 299: [    0.873555] panel-simple edp-panel: using device tree for GPIO lookup
        Line 300: [    0.873564] of_get_named_gpiod_flags: can't parse 'enable-5v-gpios' property of node '/edp-panel[0]'
        Line 301: [    0.873573] of_get_named_gpiod_flags: can't parse 'enable-5v-gpio' property of node '/edp-panel[0]'
        Line 302: [    0.873582] panel-simple edp-panel: using lookup tables for GPIO lookup
        Line 303: [    0.873590] panel-simple edp-panel: lookup for GPIO enable-5v failed
        Line 304: [    0.873598] panel-simple edp-panel: GPIO lookup for consumer enable-tc
        Line 305: [    0.873606] panel-simple edp-panel: using device tree for GPIO lookup
        Line 306: [    0.873615] of_get_named_gpiod_flags: can't parse 'enable-tc-gpios' property of node '/edp-panel[0]'
        Line 307: [    0.873623] of_get_named_gpiod_flags: can't parse 'enable-tc-gpio' property of node '/edp-panel[0]'
        Line 308: [    0.873631] panel-simple edp-panel: using lookup tables for GPIO lookup
        Line 309: [    0.873639] panel-simple edp-panel: lookup for GPIO enable-tc failed
        Line 837: [    1.557567] rockchip-dp ff970000.edp: no DP phy configured
        Line 838: [    1.557646] rockchip-dp ff970000.edp: GPIO lookup for consumer hpd
        Line 839: [    1.557658] rockchip-dp ff970000.edp: using device tree for GPIO lookup
        Line 840: [    1.557672] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/edp@ff970000[0]'
        Line 841: [    1.557683] of_get_named_gpiod_flags: can't parse 'hpd-gpio' property of node '/edp@ff970000[0]'
        Line 842: [    1.557694] rockchip-dp ff970000.edp: using lookup tables for GPIO lookup
        Line 843: [    1.557706] rockchip-dp ff970000.edp: lookup for GPIO hpd failed
        Line 844: [    1.558501] i2c i2c-9: of_i2c: modalias failure on /edp@ff970000/ports
        Line 845: [    1.558835] rockchip-drm display-subsystem: bound ff970000.edp (ops rockchip_dp_component_ops)
        Line 864: [    1.831367] edp clock: 76000, i=0
        Line 1560: [    3.670702] edp clock: 76000, i=0
        Line 1561: [    3.672233] edp clock: 76000, i=0
        Line 1582: [    5.055196] rockchip-dp ff970000.edp: [drm:analogix_dp_link_start] Enable downspread on the sink
        Line 1583: [    5.058496] rockchip-dp ff970000.edp: Link Training Clock Recovery success
        Line 1584: [    5.061180] rockchip-dp ff970000.edp: Link Training success!
        Line 1834: [    9.426625] edp clock: 76000, i=0
        Line 1835: [    9.427111] edp clock: 76000, i=0
        Line 1836: [    9.862700] edp clock: 76000, i=0
        Line 1862: [   11.036878] edp clock: 76000, i=0

不知道问题在哪,HDMI能亮,EDP就不行。然后运行kris@eco:~/rk3399/rockdev/rk3399_mid-eng$ adb shell
rk3399_mid:/ # cat /d/dri/0/summary  
结果都是disable。
不知道问题在哪。能帮忙指点一下吗~
回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表