Firefly Open Source Community

Title: Kernel 5.x, LVDS, rockchipdrm problem [Print This Page]

Author: WeX    Time: 2/9/2020 09:46
Title: Kernel 5.x, LVDS, rockchipdrm problem
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:

  1. [   29.355853] rockchip-vop ff930000.vop: Adding to iommu group 0
  2. [   29.362659] rockchip-vop ff940000.vop: Adding to iommu group 1
  3. [   29.371731] rockchip-drm display-subsystem: bound ff930000.vop (ops vop_component_ops [rockchipdrm])
  4. [   29.382206] rockchip-drm display-subsystem: bound ff940000.vop (ops vop_component_ops [rockchipdrm])
  5. [   29.392482] rockchip-lvds ff96c000.lvds: [drm:rockchip_lvds_bind [rockchipdrm]] *ERROR* failed to find panel and bridge node
  6. [   29.405058] rockchip-drm display-subsystem: failed to bind ff96c000.lvds (ops rockchip_lvds_component_ops [rockchipdrm]): -517
  7. [   29.417924] rockchip-drm display-subsystem: master bind failed: -517
Copy the code


DTS:
  1.        
  2. / {
  3. ...
  4. lvds_panel: lvds-panel {
  5.                 compatible = "simple-panel";
  6.                 enable-gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>;
  7.                 bus-format = <0x1009>;
  8.                 rockchip,data-mapping = "vesa";
  9.                 rockchip,data-width = <24>;
  10.                 rockchip,output = "lvds";
  11.                 status = "okay";

  12.                 display-timings {
  13.                         native-mode = <&timing0>;

  14.                         timing0: timing0 {
  15.                                 clock-frequency = <85000000>;
  16.                                 hactive = <1280>;
  17.                                 vactive = <480>;
  18.                                 hback-porch = <24>;
  19.                                 hfront-porch = <368>;
  20.                                 vback-porch = <9>;
  21.                                 vfront-porch = <33>;
  22.                                 hsync-len = <16>;
  23.                                 vsync-len = <3>;
  24.                                 hsync-active = <0>;
  25.                                 vsync-active = <0>;
  26.                                 de-active = <0>;
  27.                                 pixelclk-active = <0>;
  28.                         };
  29.                 };

  30.                 ports {
  31.                         port {
  32.                                 panel_in_lvds: endpoint {
  33.                                         remote-endpoint = <&lvds_out_panel>;
  34.                                 };
  35.                         };
  36.                 };
  37.         };
  38. ...
  39. };

  40. &lvds {
  41.         rockchip,output = "lvds";
  42.         rockchip,panel = <&lvds_panel>;
  43.         status = "okay";

  44.         ports {
  45.                 lvds_out: port@1 {
  46.                         reg = <1>;

  47.                         #address-cells = <1>;
  48.                         #size-cells = <0>;

  49.                         lvds_out_panel: endpoint@0 {
  50.                                 reg = <0>;
  51.                                 remote-endpoint = <&panel_in_lvds>;
  52.                         };
  53.                 };
  54.         };
  55. };
Copy the code

Author: xhx    Time: 4/23/2021 09:20
可能原因:
1.dts配置节点里面compatible = "panel-simple";这个没有起到作用;
2.由于enable-gpios 配置错误或者被其他节点占用;
3.没有配置背光节点。
Author: xhx    Time: 4/23/2021 09:27
举例(平台RK3326+Linux 4.4):
backlight: backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm1 0 25000 0>;
                brightness-levels = <
                          0   1   2   3   4   5   6   7
                        (省略N行)
                        248 249 250 251 252 253 254 255>;
                default-brightness-level = <200>;
                enable-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
        };

panel {
                status = "okay";
                compatible = "simple-panel";
                backlight = <&backlight>;
                power-supply = <&vcc_3v0>;
                init-delay-ms = <20>;

                enable-delay-ms = <20>;
                prepare-delay-ms = <20>;
                unprepare-delay-ms = <20>;
                disable-delay-ms = <20>;
                bus-format = <MEDIA_BUS_FMT_RGB888_1X7X4_SPWG>;
                enable-gpios = <&gpio3 RK_PB5 GPIO_ACTIVE_HIGH>;
                standby-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
                width-mm = <217>;
                height-mm = <136>;
                rockchip,output = "lvds";

                display-timings {
                        native-mode = <&timing0>;

                        timing0: timing0 {
                                clock-frequency = <46000000>;
                                hactive = <1024>;
                                vactive = <600>;
                                hback-porch = <90>;
                                hfront-porch = <160>;
                                vback-porch = <13>;
                                vfront-porch = <12>;
                                hsync-len = <70>;
                                vsync-len = <10>;
                                hsync-active = <0>;
                                vsync-active = <0>;
                                de-active = <0>;
                                pixelclk-active = <0>;

                        };
                };

                port {
                        panel_in_lvds: endpoint {
                                remote-endpoint = <&lvds_out_panel>;
                        };
                };

        };

Author: shelfclogs    Time: 8/27/2024 09:36
This issue occurs equally with calls such as clEnqueueMapBuffer() or clEnqueueReadBuffer(), even when using images clEnqueueMapImage() or clEnqueueReadImage()...

Author: shikshade    Time: 9/19/2024 23:47
A comprehensive e-learning platform offering insights into academic courses, career options, and exam details. At Shikshade, we aim to assist students in making informed decisions about their education and future by providing valuable content on colleges, exams, and diverse educational pathway.



Author: claire24    Time: 11/6/2024 15:10
thanks for the info
Author: Halove    Time: 12/17/2024 21:48
It seems like the issue is with the panel or bridge node not being found when the `rockchipdrm` module loads. Double-check the `lvds_panel` node and ensure the `compatible` property, `remote-endpoint` links, and other references in the Device Tree are correct. Confirm the panel driver for "simple-panel" is enabled in your kernel configuration. Rebuild and re-test.
Author: seents    Time: 12/19/2024 16:26
It seems you are facing an issue with Kernel 5.x and the rockchipdrm driver related to LVDS. Have you tried checking the configuration settings or ensuring the driver is compatible with your specific hardware?
Author: yashk4480    Time: 12/31/2025 17:29
With a focus on innovation and quality, Airo Shot Blast Equipments delivers reliable shot blasting machines that meet the demands of heavy engineering, automotive, and metal fabrication industries.
Author: arthurs113    Time: 1/14/2026 13:16
This article gave me new perspectives, thank you for sharing! The New DS0-001 test guide materials questions were a key part of my success—promotion and salary raise—and today, I’m sharing them for free!
Author: nickada136    Time: 2/14/2026 10:43
I’m thankful for your article, it made a lasting impression. The C_CPE_2409 valid practice questions book questions were instrumental in my promotion and raise, and I’m sharing them with you today at no cost!
Author: willbel349    Time: 2/17/2026 05:01
This article gave me new perspectives, thank you for sharing! Preparing for the D-PE-FN-01 brain exam exam. Hoping for a good outcome!
Author: carlsha860    Time: 2/17/2026 12:16
Google인증 Security-Operations-Engineer시험을 준비하기 위해 잠도 설쳐가면서 많이 힘들죠? Itcertkr덤프가 고객님의 곁을 지켜드립니다. Itcertkr에서 제공해드리는Google인증 Security-Operations-Engineer덤프는 실제Google인증 Security-Operations-Engineer시험문제를 연구하여 만든 공부자료이기에 최고의 품질을 자랑합니다. Itcertkr덤프를 열심히 공부하여 멋진 IT전문가의 꿈을 이루세요.
Author: fagifo    Time: 5/13/2026 15:02
I went over this website and I believe you have a lot of wonderful information, saved to my bookmarks
슬롯사이트

Author: fagifo    Time: 5/14/2026 20:46
Stunning! Such an astonishing and accommodating post this is. I super love it. It's so great thus amazing. I am simply stunned. I trust that you keep on doing your work like this later on moreover 888카지노



Author: jexetod    Time: 5/14/2026 22:05
Hi! This is my first visit to your blog! We are a team of volunteers and new initiatives in the same niche. Blog gave us useful information to work. You have done an amazing job 레드벨벳카지노



Author: jexetod    Time: 5/16/2026 14:47
귀하의 블로그가 너무 놀랍습니다. 나는 내가보고있는 것을 쉽게 발견했다. 또한 콘텐츠 품질이 굉장합니다. 넛지 주셔서 감사합니다!
네임드카지노 평생 도메인



Author: fagifo    Time: 5/16/2026 15:20
This article was written by a real thinking writer.I agree many of the with the solid points made by the writer. 띵벳 평생도메인


Author: fagifo    Time: 5/16/2026 15:53
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking 아벤카지노



Author: fagifo    Time: 5/16/2026 17:57
Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards나루토카지노


Author: fagifo    Time: 5/16/2026 19:24
This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck. 레드불카지노
Author: fagifo    Time: 5/16/2026 19:43
am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work 온카114


Author: fagifo    Time: 5/16/2026 22:06
블로그 검색에서 관련 정보를 검색하는 동안이 게시물을 찾았습니다. 좋은 게시물입니다. 계속 게시하고 정보를 업데이트하세요. 룰라토토




Author: jexetod    Time: 5/17/2026 18:11
You have a very nice blog. Thank you for sharing. 해외야구중계







Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1