|
Posted at 2/9/2020 09:46:18
Hello! Has anyone tried to run the 5.x kernel with lvds panel support? I can't get lvds to work ( I have enabled lvds in DT, but when rockchipdrm module is loading I get this messages:
- [ 29.355853] rockchip-vop ff930000.vop: Adding to iommu group 0
- [ 29.362659] rockchip-vop ff940000.vop: Adding to iommu group 1
- [ 29.371731] rockchip-drm display-subsystem: bound ff930000.vop (ops vop_component_ops [rockchipdrm])
- [ 29.382206] rockchip-drm display-subsystem: bound ff940000.vop (ops vop_component_ops [rockchipdrm])
- [ 29.392482] rockchip-lvds ff96c000.lvds: [drm:rockchip_lvds_bind [rockchipdrm]] *ERROR* failed to find panel and bridge node
- [ 29.405058] rockchip-drm display-subsystem: failed to bind ff96c000.lvds (ops rockchip_lvds_component_ops [rockchipdrm]): -517
- [ 29.417924] rockchip-drm display-subsystem: master bind failed: -517
Copy the code
DTS:
-
- / {
- ...
- lvds_panel: lvds-panel {
- compatible = "simple-panel";
- enable-gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>;
- bus-format = <0x1009>;
- rockchip,data-mapping = "vesa";
- rockchip,data-width = <24>;
- rockchip,output = "lvds";
- status = "okay";
- display-timings {
- native-mode = <&timing0>;
- timing0: timing0 {
- clock-frequency = <85000000>;
- hactive = <1280>;
- vactive = <480>;
- hback-porch = <24>;
- hfront-porch = <368>;
- vback-porch = <9>;
- vfront-porch = <33>;
- hsync-len = <16>;
- vsync-len = <3>;
- hsync-active = <0>;
- vsync-active = <0>;
- de-active = <0>;
- pixelclk-active = <0>;
- };
- };
- ports {
- port {
- panel_in_lvds: endpoint {
- remote-endpoint = <&lvds_out_panel>;
- };
- };
- };
- };
- ...
- };
- &lvds {
- rockchip,output = "lvds";
- rockchip,panel = <&lvds_panel>;
- status = "okay";
- ports {
- lvds_out: port@1 {
- reg = <1>;
- #address-cells = <1>;
- #size-cells = <0>;
- lvds_out_panel: endpoint@0 {
- reg = <0>;
- remote-endpoint = <&panel_in_lvds>;
- };
- };
- };
- };
Copy the code |
|