I'm currently utilizing Yocto's Kirkstone (last LTS) version with kernel 5.15.60 for my imx8mp project.
I need help in expanding the available frequency ranges,
root@imx8mp:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_available_frequencies
1200000 1600000
root@imx8mp:/sys/devices/system/cpu/cpu0/cpufreq# cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], please.
analyzing CPU 0:
driver: cpufreq-dt
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 0 1 2 3
maximum transition latency: 182 us.
hardware limits: 1.20 GHz - 1.60 GHz
available frequency steps: 1.20 GHz, 1.60 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
current policy: frequency should be within 1.20 GHz and 1.60 GHz.
The governor "powersave" may decide which speed to use
within this range.
I'm attempting to reduce the CPU frequency to 0.8GHz.
To achieve this, I've tried editing the `a53_opp_table` in the `imx8mp.dtsi` file without success:
a53_opp_table: opp-table {
compatible = "operating-points-v2";
opp-shared;
+ opp-800000000 {
+ opp-hz = /bits/ 64 <800000000>;
+ opp-microvolt = <850000>;
+ /* opp-supported-hw = <0x??>, <0x??>; */
+ clock-latency-ns = <150000>;
+ opp-suspend;
+ };
opp-1200000000 {
opp-hz = /bits/ 64 <1200000000>;
opp-microvolt = <850000>;
opp-supported-hw = <0x8a0>, <0x7>;
clock-latency-ns = <150000>;
opp-suspend;
};
opp-1600000000 {
opp-hz = /bits/ 64 <1600000000>;
opp-microvolt = <950000>;
opp-supported-hw = <0xa0>, <0x7>;
clock-latency-ns = <150000>;
opp-suspend;
};
opp-1800000000 {
opp-hz = /bits/ 64 <1800000000>;
opp-microvolt = <1000000>;
opp-supported-hw = <0x20>, <0x3>;
clock-latency-ns = <150000>;
opp-suspend;
};
};
Adding this entry does not have any effect. Could you please advise if there are additional configurations that need to be modified? which are the correct values for opp-supported-hw option?
Additionally, it seems that the 1.8GHz frequency is not active, leading me to believe that further adjustments might be necessary.
Thank you for your prompt assistance.
Best regards