Champs:
#1. The original SDK8.6 is not showing the Max 1.4G.
So, we add this patch: arm64: ti: dts: move 1.4GHZ OPP table to k3-am625
And the "k3conf " can show us the 1.4G.
#2. however, in this condition, the "cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq " will not give us 1.4G, instead it shows 1.25G.
How to fix this?
#3. We also found this config is not set:
./ti_config_fragments/real_time.cfg:CONFIG_CPU_FREQ=n <-- This is not set
But this has.
./arch/arm64/configs/tisdk_am62xx-evm_defconfig:CONFIG_PM_OPP=y
please see the red word below.
Why the reason this is not set
BR Rio
#ifdef CONFIG_CPU_FREQ
struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu);
struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu);
void cpufreq_cpu_put(struct cpufreq_policy *policy);
#else
static inline struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu)
{
return NULL;
}
static inline struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu)
{
return NULL;
}
static inline void cpufreq_cpu_put(struct cpufreq_policy *policy) { }
#endif