imx6q for lvds

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

imx6q for lvds

888 Views
youhuachen
Contributor I


i have a issue to drive the AUO 1280x800 lvds screen, which color is always blue and the whole screen shifted to right by around 1 inch.

the development platform is Android 5.0 with patch from nxp. the processor is imx6ql.

i used to work on the hdmi screen, which worked perfectly.

i have made some changes on device tree and bootargs. non of them make the screen work correctly.

the following is the lvds channel 0 in the device tree.

        lvds-channel@0 {

                fsl,data-mapping = "spwg";

                fsl,data-width = <18>;

                crtc = "ipu1-di0";

                primary;

                status = "okay";

                display-timings {

                        native-mode = <&timing0>;

                        timing0: auo101evn01 {

                                clock-frequency = <68272200>;

                                hactive = <1280>;

                                vactive = <800>;

                                hback-porch = <28>;

                                hfront-porch = <17>;

                                vback-porch = <13>;

                                vfront-porch = <20>;

                                hsync-len = <20>;

                                vsync-len = <13>;

                               /* de-active = <1>;

                                pixelclk-active = <0>;*/

                        };

                };

Labels (1)
0 Kudos
1 Reply

426 Views
igorpadykov
NXP Employee
NXP Employee

Hi Youhua

please check new display timings as in below linux documantation and example

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindin...

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt

https://community.freescale.com/thread/355690

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos