AnsweredAssumed Answered

AUO P370IVN02.0 (lvds 1920x540) with an iMX6

Question asked by Alexandr Vvedensky on Aug 3, 2017

Hi, guys! Will you assist me in integrating a screen AUO P370IVN02.0 (lvds 1920x540) with
an iMX6?

The data sheet  AUO P370IVN02.0

buildroot-2016.11 kernel 4.1.15-2.0.0 

I can’t get the correct image on the screen:

 

It just seems that one of the lvds channels is horizontally indented…So, there is the effect of pixel doubling. What could you advise me to do in this situation? Thank you so much for your assistance!

 

I applied 3.3V to the 7th port of the screen (i.e. the mode NS)

The 5th port is GND (i.e. the mode 8BIT)

 

video=mxcfb0:dev=ldb,if=RGB24 ldb=spl0 fbmem=24M

# fbset

mode "1920x540-60"

# D: 78.697 MHz, H: 35.101 kHz, V: 60.002 Hz

geometry 1920 540 1920 540 16

timings 12707 150 150 20 20 22 5

accel false

rgba 5/11,6/5,5/0,0/0

endmode

# cat /sys/class/graphics/fb0/modes

U:1920x540p-60

imx6dl-sodimm.dts

&ldb {

status = "okay";

split-mode;

 

lvds-channel@0 {

fsl,data-mapping = "spwg";

fsl,data-width = <24>;

primary;

status = "okay";

 

display-timings {

native-mode = <&timing0>;

timing0: hsd100pxn1 {

clock-frequency = <78694200>;

hactive = <1920>;

vactive = <540>;

hback-porch = <150>;

hfront-porch = <150>;

vback-porch = <20>;

vfront-porch = <20>;

hsync-len = <22>;

vsync-len = <5>;

};

};

};

 

lvds-channel@1 {

fsl,data-mapping = "spwg";

fsl,data-width = <24>;

status = "okay";

 

display-timings {

native-mode = <&timing1>;

timing1: hsd100pxn1 {

clock-frequency = <78694200>;

hactive = <1920>;

vactive = <540>;

hback-porch = <150>;

hfront-porch = <150>;

vback-porch = <20>;

vfront-porch = <20>;

hsync-len = <22>;

vsync-len = <5>;

};

};

};

};

Outcomes