cpufreq: refactor freqs and voltages from latest AOSP version v22