ARM: topology: Allow to set the frequency through a clock

Started by Maxime Ripard on Jun 30, 2014

DORMANTno replies

Revision v2 (2 revisions archived).

Revisions (2)
  1. resend
  2. v2 current

open the first message on its own page

Message details and related content
Hi,

This patch series add the possibility for the topology code to get the
CPU frequency through a DT clock handle instead of needing a
clock-frequency property.

Indeed, this information can be quite redundant if the clock tree
defined in the DT is already describing the CPU parent clock.

Maxime

Changes from v1:
  - Rebased on top of 3.16
  - Reworked a bit the code in the first patch as requested by Rob
    Herring

Maxime Ripard (2):
  ARM: topology: Use a clock if possible to get the CPU frequency
  ARM: sunxi: Add clocks node to the CPU nodes

 arch/arm/boot/dts/sun6i-a31.dtsi |  4 ++++
 arch/arm/boot/dts/sun7i-a20.dtsi |  2 ++
 arch/arm/kernel/topology.c       | 25 ++++++++++++++++++-------
 3 files changed, 24 insertions(+), 7 deletions(-)

-- 
2.0.0
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help