How can i get the 28MHZ ldb_di0_clk

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

How can i get the 28MHZ ldb_di0_clk

1,454 次查看
kingliu
Contributor II

I want to connect the imx6 to a lvds panel .The lcd need the 28MHZ pixclock.

But no matter what how I set the static struct fb_videomode ldb_modedb[] table .

the ldb_di0_clk always is 38MHZ.

I find the reason:

The ldb_di0_clk romaps is 

        pll2_528_bus_main_clk  ->  pll2_pfd_352M  ->  ldb_di0_clk

The  range of divisor form pll2_528_bus_main_clk  to pll2_pfd_352M is 12-35.

Refer to the IMX6DQRM.pdf CCM_ANALOG_PFD_528n

29–24 PFD3_FRAC  This field controls the fractional divide value. The resulting frequency shall be 528*18/PFD3_FRAC where

                                   PFD3_FRAC is in the range 12-35.

528M *18 /35 = 271M

The  range of divisor form  pll2_pfd_352M  to ldb_di0_clk is only 3.5 or 7.

Refer to the IMX6DQRM.pdf  CCM_CSCMR2

ldb_di0_ipu_div Control for divider of ldb clock for IPU di0 0 divide by 3.5  1 divide by 7(default)


271M /7 =38M


So  if i want to generate the 28M clk,

Can i  change the ldb_dio_clk romap?

How to do it?



标签 (2)
标记 (4)
0 项奖励
回复
2 回复数

1,183 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Let me delve into this. I will see what I can do.

Best Regards,

Alejandro

0 项奖励
回复

1,183 次查看
Igor
Contributor III

Hi all,

I have the same problem: can you give me some advice to solve that?

Thanks a lot,

Igor

0 项奖励
回复