luckfox-pico-ultra w 开发板连接3.5寸屏不显示
Posted: 2025-05-16 6:46
老师,你好,我用ultry w 开发板连接我自己的3.5寸屏,只有背光亮但是不显示,开机Log中出现rockchip-rgb ff000000.syscon:rgb: [drm:rockchip_rgb_bind] *ERROR* failed to find panel or bridge: -517 错误。
下面是dts 中panel 节点描述,附件是显示屏和驱动IC规格书。请教老师如何解决?谢谢
panel: panel {
compatible = "simple-panel";
backlight = <&backlight>;
reset-gpios = <&gpio0 RK_PA1 GPIO_ACTIVE_LOW>;
reset-delay-ms = <200>;
status = "okay";
bus-format = <MEDIA_BUS_FMT_RGB666_1X18>;
width-mm = <85>;
height-mm = <85>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <30000000>;
hactive = <480>; //<720>;
vactive = <800>; //<720>;
hback-porch = <40>;
hfront-porch = <40>;
vback-porch = <20>;
vfront-porch = <20>;
hsync-len = <20>;
vsync-len = <12>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
port {
panel_in_rgb: endpoint {
remote-endpoint = <&rgb_out_panel>;
};
};
};
下面是dts 中panel 节点描述,附件是显示屏和驱动IC规格书。请教老师如何解决?谢谢
panel: panel {
compatible = "simple-panel";
backlight = <&backlight>;
reset-gpios = <&gpio0 RK_PA1 GPIO_ACTIVE_LOW>;
reset-delay-ms = <200>;
status = "okay";
bus-format = <MEDIA_BUS_FMT_RGB666_1X18>;
width-mm = <85>;
height-mm = <85>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <30000000>;
hactive = <480>; //<720>;
vactive = <800>; //<720>;
hback-porch = <40>;
hfront-porch = <40>;
vback-porch = <20>;
vfront-porch = <20>;
hsync-len = <20>;
vsync-len = <12>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
port {
panel_in_rgb: endpoint {
remote-endpoint = <&rgb_out_panel>;
};
};
};