cpufreq-set not working

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

cpufreq-set not working

2,174 Views
kishan_dudhatra
Contributor III

Hi,

I am using imx8mm with Kirkstone (5.15.71). I am trying to set the CPU frequency but "/sys/devices/system/cpu/cpufreq" is empty. I also try to run cpufreq-info but getting below error:

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
analyzing CPU 2:
  no or unknown cpufreq driver is active on this CPU
analyzing CPU 3:
  no or unknown cpufreq driver is active on this CPU

Can you please suggest how to set CPU frequency from userspace?

Regards,
Kishan Dudhatra
Labels (1)
Tags (1)
0 Kudos
Reply
5 Replies

1,280 Views
pfiorini
Contributor I

@ nxp team

Same problem. Any Suggestion?

Regards.

Paolo Fiorini.

0 Kudos
Reply

1,457 Views
himanshu_bhavani
Contributor I

Hi @kishan_dudhatra,

One of my colleague is able to resolve the issue.

This is a workaround patch, Please check this patch at your end.

This patch will resolve your issue!

Thanks & Regards,

Himanshu Bhavani

BSP Engineer at Silicon Signals Pvt Ltd | https://siliconsignals.io/

 

0 Kudos
Reply

2,126 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @kishan_dudhatra!

 

Please refer to the attached document in the section 2.5.3 CPU Frequency Scaling (CPUFREQ), there is explained how to change the CPU frequency in user space. 

 

I hope this can help to you.

 

Best regards.

0 Kudos
Reply

2,063 Views
kishan_dudhatra
Contributor III

I refer to the documents but cpufreq is not available.

ls: cannot access '/sys/devices/system/cpu/cpu0/cpufreq': No such file or directory

My goal is to set the CPU frequency from userspace in Kirkstone and it's already worked in Zeus. I also try to enable it from driver side but did not succeed.
Can you please provide more information to enable the control to set the CPU frequency from userspace?

Regards,
Kishan Dudhatra
Tags (1)
0 Kudos
Reply

2,135 Views
kishan_dudhatra
Contributor III

@ nxp team,

Could you please reply?

Regards,
Kishan Dudhatra
0 Kudos
Reply