AnsweredAssumed Answered

RGB display, screen flipped vertically.

Question asked by Arun Kamath on Jul 5, 2017
Latest reply on Jul 14, 2017 by Arun Kamath

Hi,

 

I am using a RGB interface display of 45 pins which we have connected to the iMX7 sabre board with a adapter since the RGB interface on the sabre is 50 pins. I have set the  lcdif device tree to configure the display as below based on the display data sheet. but the display seems to be flipped vertically (mirrored vertically, picture attached). Has anyone faced similar issue? is there any setting in the driver that I am missing that needs to be set for the RGB interface?

 

&lcdif {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat
&pinctrl_lcdif_ctrl>;
enable-gpio = <&gpio_spi 7 GPIO_ACTIVE_LOW>;
display = <&display0>;
status = "okay";

display0: display {
bits-per-pixel = <24>;
bus-width = <24>;

display-timings {
native-mode = <&timing_wvga>;
/* WVGA Timing*/
timing_wvga: 800x480 {
clock-frequency = <33300000>;
hactive = <800>;
vactive = <480>;
hback-porch = <46>;
hfront-porch = <210>;
vback-porch = <23>;
vfront-porch = <22>;
hsync-len = <20>;
vsync-len = <10>;

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

 

Thanks for your response.

 

Regards

Arun

 

imx7s lcd imx7s display rgb rgbinterface

Attachments

Outcomes