"cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6.36

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

"cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6.36

Jump to solution
1,583 Views
arun_mozhi_thevan
Contributor I

When i run "cpufreq-info" command on yocto , i got the below error.

Below i have add what are the configurations are enbaled in defconfig
CONFIG_CPUSETS=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_ARM_PSCI_CPUIDLE=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
CONFIG_CPUFREQ_DT=y
CONFIG_ACPI_CPPC_CPUFREQ=m
CONFIG_ARM_SCPI_CPUFREQ=y
CONFIG_ARM_IMX_CPUFREQ_DT=y
CONFIG_ARM_SCMI_CPUFREQ=y
CONFIG_QORIQ_CPUFREQ=y
CONFIG_CPU_THERMAL=y
CONFIG_LEDS_TRIGGER_CPU=y
CONFIG_CORESIGHT_CPU_DEBUG=m


Please suggest me any fixes?
cpufreq-info.png

Labels (2)
0 Kudos
Reply
1 Solution
1,523 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @arun_mozhi_thevan!

Unfortunately in general in i.MX93 the Cpu frecuency is managed by lpm (Low power Module) and we use the lpm driver in iMX93 and is the reason that we obtain the error using that command.

You can use the mhz command instead.

 

Best Regards!

Chavira

View solution in original post

0 Kudos
Reply
5 Replies
1,533 Views
arun_mozhi_thevan
Contributor I

Hi ,
i could not able to find  mode directory
ls /sys/devices/platform/imx93-lpm/
driver_override of_node/ subsystem/ uevent
modalias power/ supplier:platform:44450000.clock-controller/ waiting_for_supplier

Please suggest me any fix ?

 

0 Kudos
Reply
1,563 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @arun_mozhi_thevan!

Thank you for contacting NXP Support!

 

Try with the command mhz.

The result should be the next:

Chavira_0-1733161307212.png

 

Best Regards!

Chavira

 

0 Kudos
Reply
1,558 Views
arun_mozhi_thevan
Contributor I

Hi @Chavira 

Why we could not able to use cpufreq-info command on imx93 custom board ?


0 Kudos
Reply
1,524 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @arun_mozhi_thevan!

Unfortunately in general in i.MX93 the Cpu frecuency is managed by lpm (Low power Module) and we use the lpm driver in iMX93 and is the reason that we obtain the error using that command.

You can use the mhz command instead.

 

Best Regards!

Chavira

0 Kudos
Reply
1,505 Views
arun_mozhi_thevan
Contributor I
thanks for the help
0 Kudos
Reply