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?
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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);
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!
-----------------------------------------------------------------------------------------------------------------------