Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2b975260 authored by Saravana Kannan's avatar Saravana Kannan Committed by Stephen Boyd
Browse files

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: default avatarSaravana Kannan <skannan@codeaurora.org>
parent 0dbcc053
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment