[PATCH 0/3] ARC: get frequency via clock driver instead of reading device tree
Vlad Zakharov
Vladislav.Zakharov at synopsys.com
Fri Mar 3 03:29:59 PST 2017
This patch series replaces reading device tree with getting CPU
clock frequency via clock driver in show_cpuinfo function.
In order to achieve this we also add cpu nodes to device tree which
describes SMP system and add "clocks" properties to all ARC cpu nodes.
Vlad Zakharov (3):
ARC: [dts] add input clocks for cpu nodes
ARC: [dts] add cpu nodes to ARCHS SMP device tree
arc: get rate from clk driver instead of reading device tree
arch/arc/boot/dts/skeleton.dtsi | 1 +
arch/arc/boot/dts/skeleton_hs.dtsi | 1 +
arch/arc/boot/dts/skeleton_hs_idu.dtsi | 21 ++++++++++++++++++++-
arch/arc/kernel/setup.c | 17 +++++++++++++----
4 files changed, 35 insertions(+), 5 deletions(-)
--
2.7.4
More information about the linux-snps-arc
mailing list