# \[PATCH v2 0/2\] ARM: topology: Allow to set the frequency through a clock

- Revision v2 (2 revisions archived).
- List: linux-arm-kernel
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-arm-kernel/2014/06/8093361/t

## \[PATCH v2 0/2\] ARM: topology: Allow to set the frequency through a clock

- From: Maxime Ripard \<hidden\>
- Date: 2014-06-30 10:12:21 
- Message: https://ratatoskr.run/linux-arm-kernel/2014/06/8093361.md

```text
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
```
