i.MX6 Linux BSP CPU frequency governor.

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

i.MX6 Linux BSP CPU frequency governor.

Jump to solution
7,522 Views
satoshishimoda
Senior Contributor I

Hi community,

I have a question about i.MX6 Linux BSP (Yocto BSP).

I want to know how the each governor of CPUFREQ driver controls CPU frequency.

My current understanding is as below.

Would you check my understanding and let me know how governors control when conservative or ondemand mode?

conservative : ?

ondemand     : ?

userspace    : Set frequency to the value written in /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed (?)

powersave    : Keep min frequency (?)

interactive  : Enable DVFS (default?)

performance  : Keep max frequency

Best Regards,

Satoshi Shimoda

0 Kudos
1 Solution
2,486 Views
igorpadykov
NXP Employee
NXP Employee

HI Satoshi

cpu freq governors are general linux attributes and described in common linux docs :

3.2. Using CPUfreq Governors

https://wiki.archlinux.org/index.php/CPU_frequency_scaling

https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt

as for i.MX6 implementation one can look at sources given in attached

Linux Manual Chapter 24 CPU Frequency Scaling (CPUFREQ) Driver

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
2,487 Views
igorpadykov
NXP Employee
NXP Employee

HI Satoshi

cpu freq governors are general linux attributes and described in common linux docs :

3.2. Using CPUfreq Governors

https://wiki.archlinux.org/index.php/CPU_frequency_scaling

https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt

as for i.MX6 implementation one can look at sources given in attached

Linux Manual Chapter 24 CPU Frequency Scaling (CPUFREQ) Driver

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos