How to change dotclk phase

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to change dotclk phase

跳至解决方案
1,476 次查看
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 

标签 (4)
1 解答
1,356 次查看
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

在原帖中查看解决方案

2 回复数
1,357 次查看
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

1,356 次查看
davidfincher
Contributor II

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

0 项奖励
回复