Toybrick

标题: rk3399prod开发板SDK编译出来usb type-c DP有时不显示 [打印本页]

作者: peng794    时间: 2021-9-29 16:49
标题: rk3399prod开发板SDK编译出来usb type-c DP有时不显示
本帖最后由 peng794 于 2021-10-8 15:48 编辑

你好,

我根据贵公司的wiki kernel https://t.rock-chips.com/wiki.ph ... %80%E5%8F%91/Kernel, 下载了源码,编译工具,以及你们自己编的固件v3.0.

//DP/HDMI显示时的log
novauto@novauto:~$ dmesg | grep fusb
[    1.921273] fusb302 8-0022: GPIO lookup for consumer int-n
[    1.921284] fusb302 8-0022: using device tree for GPIO lookup
[    1.921316] of_get_named_gpiod_flags: parsed 'int-n-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]' - status (0)
[    1.921342] fusb302 8-0022: GPIO lookup for consumer vbus-5v
[    1.921351] fusb302 8-0022: using device tree for GPIO lookup
[    1.921378] of_get_named_gpiod_flags: parsed 'vbus-5v-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]' - status (0)
[    1.921410] fusb302 8-0022: GPIO lookup for consumer vbus-other
[    1.921419] fusb302 8-0022: using device tree for GPIO lookup
[    1.921429] of_get_named_gpiod_flags: can't parse 'vbus-other-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.921440] of_get_named_gpiod_flags: can't parse 'vbus-other-gpio' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.921449] fusb302 8-0022: using lookup tables for GPIO lookup
[    1.921458] fusb302 8-0022: lookup for GPIO vbus-other failed
[    1.921468] fusb302 8-0022: GPIO lookup for consumer discharge
[    1.921476] fusb302 8-0022: using device tree for GPIO lookup
[    1.921486] of_get_named_gpiod_flags: can't parse 'discharge-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.921496] of_get_named_gpiod_flags: can't parse 'discharge-gpio' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.921504] fusb302 8-0022: using lookup tables for GPIO lookup
[    1.921513] fusb302 8-0022: lookup for GPIO discharge failed
[    1.921674] fusb302 8-0022: Can't get property of role, set role to default DRP
[    1.931431] fusb302 8-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
[    1.961161] usbcore: registered new interface driver bfusb
[    2.241305] fusb302 8-0022: CC connected in CC2 as DFP
[    2.568111] fusb302 8-0022: PD connected as DFP, supporting 5V
[    2.656629] fusb302 8-0022: DP config successful, pin_assignment 0x4
[    3.482263] fusb302 8-0022: attention, dp_status 8a
[   14.100467] fusb302 8-0022: attention, dp_status a
[   15.592851] fusb302 8-0022: attention, dp_status 8a
novauto@novauto:~$ dmesg | grep cdn
[    9.142634] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Connected, not enabled. Enabling cdn
[    9.549059] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Connected with sink. Re-train link
[   14.101166] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn
[   15.599324] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Connected with sink. Re-train link
----------------------------------------------------------------------------------------------
novauto@novauto:~$ dmesg | grep hdmi
[    2.134501] i2c i2c-9: of_i2c: modalias failure on /hdmi@ff940000/ports
[    2.135133] dwhdmi-rockchip ff940000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.135962] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    2.140466] rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffffff8008d5b648)
[    2.334727] dwhdmi-rockchip ff940000.hdmi: failed to get edid
[    2.792668] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/hdmi-sound[0]'
[    2.792703] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/hdmi-sound[0]'
[    2.794087] asoc-simple-card hdmi-sound: i2s-hifi <-> ff8a0000.i2s mapping ok
[    2.951055]   #1: rockchip,hdmi
[    7.628342] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    7.629262] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    7.630156] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    7.631014] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    7.631867] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    7.632718] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
novauto@novauto:~$ dmesg | grep fusb
[    1.917502] fusb302 8-0022: GPIO lookup for consumer int-n
[    1.917513] fusb302 8-0022: using device tree for GPIO lookup
[    1.917545] of_get_named_gpiod_flags: parsed 'int-n-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]' - status (0)
[    1.917571] fusb302 8-0022: GPIO lookup for consumer vbus-5v
[    1.917580] fusb302 8-0022: using device tree for GPIO lookup
[    1.917608] of_get_named_gpiod_flags: parsed 'vbus-5v-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]' - status (0)
[    1.917639] fusb302 8-0022: GPIO lookup for consumer vbus-other
[    1.917647] fusb302 8-0022: using device tree for GPIO lookup
[    1.917658] of_get_named_gpiod_flags: can't parse 'vbus-other-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.917669] of_get_named_gpiod_flags: can't parse 'vbus-other-gpio' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.917677] fusb302 8-0022: using lookup tables for GPIO lookup
[    1.917686] fusb302 8-0022: lookup for GPIO vbus-other failed
[    1.917696] fusb302 8-0022: GPIO lookup for consumer discharge
[    1.917704] fusb302 8-0022: using device tree for GPIO lookup
[    1.917714] of_get_named_gpiod_flags: can't parse 'discharge-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.917724] of_get_named_gpiod_flags: can't parse 'discharge-gpio' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.917732] fusb302 8-0022: using lookup tables for GPIO lookup
[    1.917741] fusb302 8-0022: lookup for GPIO discharge failed
[    1.917900] fusb302 8-0022: Can't get property of role, set role to default DRP
[    1.927690] fusb302 8-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
[    1.957423] usbcore: registered new interface driver bfusb
[    2.237546] fusb302 8-0022: CC connected in CC2 as DFP
[    2.539162] fusb302 8-0022: PD connected as DFP, supporting 5V
[    2.626443] fusb302 8-0022: DP config successful, pin_assignment 0x4
[    3.476367] fusb302 8-0022: attention, dp_status 8a
novauto@novauto:~$ dmesg | grep cdn
[    5.149048] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Connected, not enabled. Enabling cdn
novauto@novauto:~$ dmesg | grep vop
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
[    0.292571] iommu: Adding device ff8f0000.vop to group 3
[    0.293157] iommu: Adding device ff900000.vop to group 4
[    2.130501] rockchip-vop ff900000.vop: missing rockchip,grf property
[    2.131506] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008d66dc8)
[    2.132319] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[    2.133170] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008d66dc8)
[    2.348174] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1280x720p60, type: 11
[    2.916684] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopl-supply from device tree
[    2.916695] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopl-supply property in node /power-management@ff310000/power-controller failed
[    3.732643] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply from device tree
[    3.732659] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply property in node /power-management@ff310000/power-controller failed
[    4.465961] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1280x720p60, type: 11
[    5.601146] rockchip-vop ff8f0000.vop: [drm:vop_crtc_enable] Update mode to 1280x720p60, type: 10
[    8.435157] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1360x768p0, type: 11
[    8.536390] rockchip-vop ff8f0000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p0, type: 10
novauto@novauto:~$


//只有HDMI显示
novauto@novauto:~$ dmesg | grep hdmi
[    2.123491] i2c i2c-9: of_i2c: modalias failure on /hdmi@ff940000/ports
[    2.123520] dwhdmi-rockchip ff940000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.123621] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    2.125427] rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffffff8008d5b648)
[    2.130464] dwhdmi-rockchip ff940000.hdmi: failed to get edid
[    2.954180] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/hdmi-sound[0]'
[    2.954232] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/hdmi-sound[0]'
[    2.955765] asoc-simple-card hdmi-sound: i2s-hifi <-> ff8a0000.i2s mapping ok
[    3.669441]   #1: rockchip,hdmi
[    8.590150] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.591021] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.591881] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.592821] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.593707] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
[    8.594630] [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property
novauto@novauto:~$ dmesg | grep fusb
[    1.918108] fusb302 8-0022: GPIO lookup for consumer int-n
[    1.918119] fusb302 8-0022: using device tree for GPIO lookup
[    1.918149] of_get_named_gpiod_flags: parsed 'int-n-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]' - status (0)
[    1.918174] fusb302 8-0022: GPIO lookup for consumer vbus-5v
[    1.918183] fusb302 8-0022: using device tree for GPIO lookup
[    1.918210] of_get_named_gpiod_flags: parsed 'vbus-5v-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]' - status (0)
[    1.918241] fusb302 8-0022: GPIO lookup for consumer vbus-other
[    1.918250] fusb302 8-0022: using device tree for GPIO lookup
[    1.918260] of_get_named_gpiod_flags: can't parse 'vbus-other-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.918271] of_get_named_gpiod_flags: can't parse 'vbus-other-gpio' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.918280] fusb302 8-0022: using lookup tables for GPIO lookup
[    1.918289] fusb302 8-0022: lookup for GPIO vbus-other failed
[    1.918298] fusb302 8-0022: GPIO lookup for consumer discharge
[    1.918306] fusb302 8-0022: using device tree for GPIO lookup
[    1.918316] of_get_named_gpiod_flags: can't parse 'discharge-gpios' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.918326] of_get_named_gpiod_flags: can't parse 'discharge-gpio' property of node '/i2c@ff3e0000/fusb30x@22[0]'
[    1.918335] fusb302 8-0022: using lookup tables for GPIO lookup
[    1.918343] fusb302 8-0022: lookup for GPIO discharge failed
[    1.918495] fusb302 8-0022: Can't get property of role, set role to default DRP
[    1.928289] fusb302 8-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
[    1.957959] usbcore: registered new interface driver bfusb
[    2.274818] fusb302 8-0022: CC connected in CC2 as DFP
[    2.556729] fusb302 8-0022: PD connected as DFP, supporting 5V
[    2.650101] fusb302 8-0022: DP config successful, pin_assignment 0x4
[    3.511121] fusb302 8-0022: attention, dp_status 8a
novauto@novauto:~$ dmesg | grep cdn
[    9.130744] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Connected, not enabled. Enabling cdn
[    9.353005] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Connected with sink. Re-train link
novauto@novauto:~$ dmesg | grep vop
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
[    0.292168] iommu: Adding device ff8f0000.vop to group 3
[    0.292753] iommu: Adding device ff900000.vop to group 4
[    2.122535] rockchip-vop ff900000.vop: missing rockchip,grf property
[    2.122755] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008d66dc8)
[    2.122786] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[    2.122965] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008d66dc8)
[    2.135771] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1280x720p60, type: 11
[    3.619354] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply from device tree
[    3.619382] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply property in node /power-management@ff310000/power-controller failed
[    3.619500] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopl-supply from device tree
[    3.619525] rockchip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopl-supply property in node /power-management@ff310000/power-controller failed
[    4.186499] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1280x720p60, type: 11
[    9.272340] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1360x768p0, type: 11


请帮忙看一下问题

谢谢





欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3