RK3399Pro Android 下EDP调试不通
WIKI里面有个EDP的修改办法,但是kernel/arch/arm64/boot/dts/rockchip/rk3399pro-firefly-aiojd4-edp.dts这个文件找不到。请问有高手指点一下怎么改吗? 有技术支持吗? sleeping 发表于 2021-3-31 10:04有技术支持吗?
可以参考rk3399pro-firefly-aioc-edp.dts 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' - 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'
Line 295: [ 0.873521] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/edp-panel'
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'
Line 301: [ 0.873573] of_get_named_gpiod_flags: can't parse 'enable-5v-gpio' property of node '/edp-panel'
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'
Line 307: [ 0.873623] of_get_named_gpiod_flags: can't parse 'enable-tc-gpio' property of node '/edp-panel'
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'
Line 841: [ 1.557683] of_get_named_gpiod_flags: can't parse 'hpd-gpio' property of node '/edp@ff970000'
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: 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。
不知道问题在哪。能帮忙指点一下吗~
sleeping 发表于 2021-4-1 11:20
我现在参考了这个文件,但是EDP不亮。
Line 285: [ 0.870472] rockchip-drm display-subsystem: fai ...
问题解决了吗,我也遇到同样的问题,指点一下 EDP的设备树节点配置错了,或者没有配置,导致一部分的GPIO匹配失败了。建议看回驱动源码,反推GPIO 引脚配置要求。(无非是理清需要的引脚别名,找对对应的引脚,配置好输入还是输出,输出的话是高电平还是低电平。)上面的报错主要是引脚匹配失败的报错,先适配好引脚,再看看是否有进一步的报错。
页:
[1]