How to enhance NAND Flash clock in i.MX6UL

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

How to enhance NAND Flash clock in i.MX6UL

跳至解决方案
1,998 次查看
lintunghui
Contributor I

Has anyone modified the Flash clock clock in iMX6UL? I have some

problem in enhancing NAND Flash speed. I see the kerenl patch in iMX6DL

with kernel 3.0.35. The patch only use clk_set_rate to enhance enfc_clk. And

it works. So if I want to enhance the NAND Flash clock in iMX6UL with kernel 4.1.15,

what should I have to modify? 

I already tried to use clk_set_rate to set gpmi_io clock, but it not works.

Should I modify dtb file or other setting?

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

Check the Chapter 33 of the attached document. Check the driver source code at drivers/mtd/nand/, as described in the chapter.


Have a great day,
Artur

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,734 次查看
lintunghui
Contributor I

Thank for your answer

in kernel source code

drivers/mtd/nand/gpmi-nand/gpmi-nand.c

function gpmi_get_clks

The function set gpmi clock here, modify and it finally worked

clk_set_rate(r->clock[0], 22000000);

0 项奖励
回复
1,735 次查看
art
NXP Employee
NXP Employee

Check the Chapter 33 of the attached document. Check the driver source code at drivers/mtd/nand/, as described in the chapter.


Have a great day,
Artur

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

0 项奖励
回复