ARM: dts: msm: Add clock-krait and msm-cpufreq device for msm8974
The clock-krait device is a more accurate and detailed representation of
the Krait subsystem clock tree than the acpuclk device. Registering and
probing this device allows the use of standard clock APIs to control CPU/L2
clocks. So, replace the acpuclk device with a clock-krait device.
When exposing the CPU/L2 clock tree through clock APIs, the cpufreq driver
has to handle the L2 and memory BW voting. So, add the msm-cpufreq device
to provide the required data and to avoid breaking cpufreq functionality.
To make sure the switchover doesn't break power management code, also set
the PM device flag that indicates cpu clocks are controlled through
standard clock APIs.
Also update clock 8974 lookup table for clock-krait device.
Change-Id: Idf417c8a9af9bfc2e7697644d6c2d7d28bf8fb4e
Signed-off-by:
Saravana Kannan <skannan@codeaurora.org>
Loading
Please register or sign in to comment