Dear NXP,
I trying to increase CPU frequency for IMX8QM-MEK. I want to add this configuration in source. Will you please provide the exact steps to add and test CPU frequency.
Thanks & Regards,
Vinoth S,
Hi vinothkumars,
You can refer to this case and see the patch.
https://community.nxp.com/t5/i-MX-Processors/Lower-CPU-frequency-on-imx8mm/m-p/955456
The new dtsi CPU frequency node is like this:
a53_opp_table: opp-table {
compatible = "operating-points-v2";
opp-shared;
opp-1200000000 {
opp-hz = /bits/ 64 <1200000000>;
opp-microvolt = <850000>;
opp-supported-hw = <0xe>, <0x7>;
clock-latency-ns = <150000>;
opp-suspend;
};
opp-1600000000 {
opp-hz = /bits/ 64 <1600000000>;
opp-microvolt = <900000>;
opp-supported-hw = <0xc>, <0x7>;
clock-latency-ns = <150000>;
opp-suspend;
};
opp-1800000000 {
opp-hz = /bits/ 64 <1800000000>;
opp-microvolt = <1000000>;
opp-supported-hw = <0x8>, <0x3>;
clock-latency-ns = <150000>;
opp-suspend;
};
};
Best Regards,
Zhiming
Hi Zhiming,
Thank you for the quick reply.
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
600000 800000 1000000 1200000
I have to set 1.2 GHZ as CPU0 frequency,
So, I able to set by
# echo 1200000 > sys/devices/system/cpu/cpu0/cpufre/scaling_setspeed
I have to verify this configuration give any effect or not in boot.
Thanks & Regards,
Vinoth S,
Hi,
cpufreq-info can help you check your CPU frequency.
If you use that commands in linux shell, when you restart your board ,the CPU frequency will become default.You can add the commad into init.rc so that you can increase your frequency in usr layer when you start your board next time.
nxf65025 ,
Thank you for the reply
cpufreq-info - unable to execute this command. I am working in Android.
Will you please provide some patch to add in init.rc
Thanks & Regards,
Vinoth S,