Hi Sir,
Is there any way to control (modify/enable) clock on Linux?
Solved! Go to Solution.
Hello, @Jeff-CF-Huang
Thanks for the feedback
From the BSP perspective, seems no such functions in Linux, sorry for your inconvenience.
Best Regards
Chenyin
View solution in original post
For what we are able to see, the clocks seem to be enabled under ATF(From BSP view). We are not seeing anything under Linux to modify/enable clocks.
We want to configure the clock dynamically in the Linux kernel, including enabling, disabling, and changing the rate.
Thanks for the questions。
Sorry that I am not quite catching you, would you please help to clarify the questions? Which clock you were referring to?
I can get the clk summary at /sys/kernel/debug/clk.enable prepare protect duty hardwareclock count count count rate accuracy phase cycle enable-------------------------------------------------------------------------------------------------------pcf85063-clkout 0 0 0 0 0 0 50000 Yllce_per 0 0 0 80000000 0 0 50000 Yllce_sys 0 0 0 198309214 0 0 50000 YBut, I can't find a file node to enable/disable the clock.For example:I want to enable the clk of qspi_flash1x & qspi_flash2x.