Question, i.MX51 Display clock setting

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

Question, i.MX51 Display clock setting

跳至解决方案
1,129 次查看
Aemj
Contributor IV

Dear team,

I would like to ask bout DSP_CLK setting of i.MX51.

My customer wants to change DSP_CLK setting of i.MX51.

Now they are using display interface of i.MX51 to output display data with DSP_CLK’s FALLING edge.

And they want to change it to output display data with DSP_CLK’s RISING edge.

It is possible?

They are using your LinuxBSP(L.2.6.31 base) and they believe that they should modify the source code as below to achieve that.

In source file ipu_common.c, and in ipu_pixel_clk_set_rate() function,

_raw_writel((dev/16)<< 16, DI_BS_CLKGEN1(clk->id));

The above statement should change as below;

_raw_writel(((dev/16)*2)<< 16 | (dev/16) , DI_BS_CLKGEN1(clk->id));

Is it true?

Thanks,

Miyamoto

标签 (1)
0 项奖励
回复
1 解答
1,011 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Miyamoto

display clock polarity can be changed with register DI0_GENERAL,
bit - 17 di0_polarity_disp_clk DI0 Output Clock’s polarity, described in
Table 42-201. DI0_GENERAL Field Descriptions i.MX51 Reference Manual
http://www.freescale.com/files/dsp/doc/ref_manual/MCIMX51RM.pdf
Setting can be added to ipu_probe() (example of DI_GENERAL usage
can be found in function _ipu_pixel_clk_set_parent)

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,012 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Miyamoto

display clock polarity can be changed with register DI0_GENERAL,
bit - 17 di0_polarity_disp_clk DI0 Output Clock’s polarity, described in
Table 42-201. DI0_GENERAL Field Descriptions i.MX51 Reference Manual
http://www.freescale.com/files/dsp/doc/ref_manual/MCIMX51RM.pdf
Setting can be added to ipu_probe() (example of DI_GENERAL usage
can be found in function _ipu_pixel_clk_set_parent)

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

0 项奖励
回复