相同固件,不同设备大核最高可设置主频为什么不一致?有的是2.2G、有的是2.3G。
//第一种大核主频最高2256000
cat /sys/devices/system/cpu/cpufreq/policy4/scaling_available_frequencies
408000 600000 816000 1008000 1200000 1416000 1608000 1800000 2016000 2208000 2256000
//第二种大核主频最高2304000
cat /sys/devices/system/cpu/cpufreq/policy4/scaling_available_frequencies
408000 600000 816000 1008000 1200000 1416000 1608000 1800000 2016000 2208000 2304000
看dts,这些频率都没有disable掉。
opp-2256000000 {
opp-supported-hw = <0xfd 0x13>;
opp-hz = <0x00 0x8677d400>;
opp-microvolt = <0xf4240 0xf4240 0xf4240 0xf4240 0xf4240 0xf4240>;
clock-latency-ns = <0x9c40>;
};
opp-2304000000 {
opp-supported-hw = <0xfd 0x24>;
opp-hz = <0x00 0x89544000>;
opp-microvolt = <0xf4240 0xf4240 0xf4240 0xf4240 0xf4240 0xf4240>;
clock-latency-ns = <0x9c40>;
};
opp-2352000000 {
opp-supported-hw = <0xfd 0x48>;
opp-hz = <0x00 0x8c30ac00>;
opp-microvolt = <0xf4240 0xf4240 0xf4240 0xf4240 0xf4240 0xf4240>;
clock-latency-ns = <0x9c40>;
};
opp-2400000000 {
opp-supported-hw = <0xfd 0x80>;
opp-hz = <0x00 0x8f0d1800>;
opp-microvolt = <0xf4240 0xf4240 0xf4240 0xf4240 0xf4240 0xf4240>;
clock-latency-ns = <0x9c40>;
};