DE mode display configuration problem under linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DE mode display configuration problem under linux

2,743 Views
turkersezgin
Contributor III

Hello everyone,

I have 15,6 inches dsplay which is running on DE mode. I made some modification in dtsi file.

Kernel version is 3.14.28.

My display is G156BGE - L01. It works single LVDS channel. I want to understand how to work this display with DE mode.

My dtsi file is here;. I added last 4 lines. After burn the image to my board, I had a view on the display but it is very dark. Backlight intensity is lower. How can i set this display? Please can you help me?

ldb {
    status = "okay";

    lvds-channel@0 {
        fsl,data-mapping = "spwg";
        fsl,data-width = <18>;
        primary;
        status = "okay";

        display-timings {
            native-mode = <&timing0>;
            timing0: hsd100pxn1 {
                clock-frequency = <96000000>;
                hactive = <1366>;
                vactive = <768>;
                hback-porch = <68>;
                hfront-porch = <44>;
                vback-porch = <13>;
                vfront-porch = <8>;
                hsync-len = <134 194 204>;
                vsync-len = <50 60 76>;

                de-active = <1>;
                hsync-active = <0>;
                vsync-active = <0>;
                pixelclk-active = <1>;
            };
        };
    };  

Thanks. Have a nice day.

Best regards.

3 Replies

1,979 Views
turkersezgin
Contributor III

I did this modification. Display is working with some problems. When it is booting, boot image looks very bad. After boot, everything is readable but there is only a problem about backlight with fsl,data-width = <18>.

If I make fsl,data-width = <24>, backlight is normal but charcters are not readable.

If I make pixelclk-active = <1>, there is no view on the display after boot.

I have to pixelclk-active = <0> for view on the display.

 

This is my last modification;

ldb {
    status = "okay";

 

    lvds-channel@0 {
        fsl,data-mapping = "spwg";
        fsl,data-width = <18>;
        primary;
        status = "okay";

 

        display-timings {
            native-mode = <&timing0>;
            timing0: hsd100pxn1 {
                clock-frequency = <96000000>;
                hactive = <1366>;
                vactive = <768>;
                hback-porch = <68>;
                hfront-porch = <44>;
                vback-porch = <13>;
                vfront-porch = <8>;
                hsync-len = <134 194 204>;
                vsync-len = <50 60 76>;

 

                de-active = <1>;
                hsync-active = <0>;
                vsync-active = <0>;
                pixelclk-active = <0>;
            };
        };
    };  

I hope, we will solve this problem with togethar :smileyhappy:

Thanks a lot.

Best regards,

0 Kudos

1,979 Views
igorpadykov
NXP Employee
NXP Employee

Hi turker

what board and bsp used in the case, had you tried latest nxp bsps

described on

http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i....

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,980 Views
turkersezgin
Contributor III

Hi Igor,

firstly thanks for your reply.

I have custom board with imx6 quad.

I used 3.14.28_1.0.0 linux kernel. Now I will try it with 4.1.15_1.0.0.

in dtsi file, I wrote these;

                de-active = <1>;
                hsync-active = <0>;
                vsync-active = <0>;
                pixelclk-active = <1>;

at this point, kernel version is important?

0 Kudos