Hello,
I am working with a imx6 dual lite digi board. I need to use a LVDS custom display.
I used the kit's display that digi provides and worked fine but when I want to use other monitors those don't work.
When I connect one of those displays It shows dark image, another display that I connect don't show anything.
The dtb file has the next configuration:
&ldb { lvds-channel@0 { fsl,data-mapping = "spwg"; fsl,data-width = <18>; display-timings { native-mode = <&g101evn010_1>; /* Fusion 10" F10A-0102 */ hsd101pfw2_1: timing@0 { clock-frequency = <45000000>; hactive = <1024>; vactive = <600>; hfront-porch = <0>; hback-porch = <0>; hsync-len = <176>; vback-porch = <0>; vfront-porch = <0>; vsync-len = <25>; }; /* AUO G101EVN01.0 */ g101evn010_1: timing@1 { clock-frequency = <68930000>; hactive = <1280>; vactive = <800>; hfront-porch = <120>; hback-porch = <0>; hsync-len = <8>; vback-porch = <10>; vfront-porch = <0>; vsync-len = <6>; hsync-active = <1>; vsync-active = <1>; de-active = <1>; pixelclk-active = <0>; }; }; }; I changed timing@1 configuration, hactive, vactive and clock-frequency but the display It shows the same way. I read that maybe can be backlight configuration but I put a backlight configuration but Its not made difference, I dont know if I did it well. I have a 4.6 kernel version. I have to use a lvds-hdmi hardware adapter I dont know if tuhis is the problem. If someone can help me. Regards.
Hi emmanuel
digi has blog on that subject
also one can try nxp linux from linux-imx - i.MX Linux kernel
and use nxp community useful links like:
How to change SABRE-SD screen resolution in LOLLIPOP(5.0.0?
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for reply,
Yes I have read the digi documentation about adding a custom display, I have read my displays documentation and I have made the configuration in dtb, I think that I have made well.
Display datasheet has the next values:
------------------------------------------------------------------------------------
vertical section: period -> Min = 1034 , Typ = 1066, Max = 2048
Active -> Min = 1024, Typ = 1024, Max = 1024
Blanking -> Min = 10, Typ = 42, Max = 1024
---------------------------------------------------------------------------------------
Horizontal section: period -> Min = 750 , Typ = 844, Max = 2048
Active -> Min = 640, Typ = 640, Max = 640
Blanking -> Min = 110, Typ = 204, Max = 1408
----------------------------------------------------------------------------------------
Clock: Frequency: Min = 40, Typ = 54, Max = 70 (MHz)
Frame Rate: Min = 49, Typ = 60, Max = 76 (Hz)
----------------------------------------------------------------------------------------
So in the dtb file I did:
clock-frequency = <54000000>;
hactive = <1024>;
vactive = <640>;
hfront-porch = <0>;
hback-porch = <0>;
hsync-len = <204>;
vback-porch = <0>;
vfront-porch = <0>;
vsync-len = <42>;
But the display dont works.
I am usin a lvds to hdmi adapter, I use the lvds connector of imx6 but is connected to hdmi display connector, I dont know if is for this reason that the diplay is not working.
You have some idea to fix this?
Thanks,
Regards
Emmanuel
Sorry dtb text pasted badly, here is:
&ldb { lvds-channel@0 { fsl,data-mapping = "spwg"; fsl,data-width = <18>; display-timings { native-mode = <&g101evn010_1>; /* Fusion 10" F10A-0102 */ hsd101pfw2_1: timing@0 { clock-frequency = <45000000>; hactive = <1024>; vactive = <600>; hfront-porch = <0>; hback-porch = <0>; hsync-len = <176>; vback-porch = <0>; vfront-porch = <0>; vsync-len = <25>; }; /* AUO G101EVN01.0 */ g101evn010_1: timing@1 { clock-frequency = <68930000>; hactive = <1280>; vactive = <800>; hfront-porch = <120>; hback-porch = <0>; hsync-len = <8>; vback-porch = <10>; vfront-porch = <0>; vsync-len = <6>; hsync-active = <1>; vsync-active = <1>; de-active = <1>; pixelclk-active = <0>; }; }; };