Vybrid CPU frequency modification commands

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Vybrid CPU frequency modification commands

Jump to solution
1,638 Views
juangutierrez
NXP Employee
NXP Employee

Are there any Linux commands for changing the CPU frequency on Vybrid?

i.MX has a set of echo commands, do we have anything similar to that with Vybrid?

If not, what's the best way to change the CPU frequency on the fly?

Labels (3)
0 Kudos
Reply
1 Solution
1,293 Views
timesyssupport
Senior Contributor II

Hello Juan,

In the Timesys 3.0 Linux kernel for Vybrid, there is no way to change the frequency on the fly. You will need to modify kernel source to do so. Kernel 3.10+ will have better support for clocking, so on-the-fly frequency change may be a possilbility.

Thanks,

Timesys Support

View solution in original post

0 Kudos
Reply
4 Replies
1,293 Views
juangutierrez
NXP Employee
NXP Employee

So, is there any other way to modify on the fly the frequencies? or this is only possible modifying directly on the kernel with something like:

clk = clk_get(NULL, "pll1_main_clk");

clk_set_rate(clk, rate);

0 Kudos
Reply
1,294 Views
timesyssupport
Senior Contributor II

Hello Juan,

In the Timesys 3.0 Linux kernel for Vybrid, there is no way to change the frequency on the fly. You will need to modify kernel source to do so. Kernel 3.10+ will have better support for clocking, so on-the-fly frequency change may be a possilbility.

Thanks,

Timesys Support

0 Kudos
Reply
1,293 Views
timesyssupport
Senior Contributor II

Hello Juan,

In the current Linux BSP for Vybrid, there are no userspace commands for changing the CPU frequency.

We have had several inquiries about this, and will be reviewing this as a possibility as we update the supported Vybrid kernel to 3.10 or newer, planned for end of Q1. I will let you know when I have more information available.

Thanks,

Timesys Support

1,293 Views
juangutierrez
NXP Employee
NXP Employee

timesyssupport can help on this, please?

0 Kudos
Reply