How to change dotclk phase

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

How to change dotclk phase

Jump to solution
1,058 Views
davidfincher
Contributor II

My board is i.Mx6DL, use lcd  800x480,RGB data begins with the falling edge of dotclk,how can I change the pixclk phase? thanks 

Labels (4)
1 Solution
938 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi David,

I believe, the parent clock is not mapped.  You need to set the parent for LDB_DI0_SEL.

In IPU clock selection section, add the below changes in "~/linux-imx/arch/arm/mach-imx/clk-imx6q.c" file.

 

   /* ipu clock initialization */
   imx_clk_set_parent(clk[IMX6QDL_CLK_LDB_DI0_SEL], clk[IMX6QDL_CLK_PLL5_VIDEO_DIV]);

 

or

One can look at hsync-active,vsync-active in &lcdif {

linux-2.6-imx.git - Freescale i.MX Linux Tree

then add timings for syncs using as example lvds:

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

 

Regards

View solution in original post

2 Replies
939 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi David,

I believe, the parent clock is not mapped.  You need to set the parent for LDB_DI0_SEL.

In IPU clock selection section, add the below changes in "~/linux-imx/arch/arm/mach-imx/clk-imx6q.c" file.

 

   /* ipu clock initialization */
   imx_clk_set_parent(clk[IMX6QDL_CLK_LDB_DI0_SEL], clk[IMX6QDL_CLK_PLL5_VIDEO_DIV]);

 

or

One can look at hsync-active,vsync-active in &lcdif {

linux-2.6-imx.git - Freescale i.MX Linux Tree

then add timings for syncs using as example lvds:

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

 

Regards

938 Views
davidfincher
Contributor II

Thank U.I changed it with videomode in mxc_lcdif.c

0 Kudos
Reply