devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vlad Zakharov <Vladislav.Zakharov@synopsys.com>
To: linux-snps-arc@lists.infradead.org
Cc: Vlad Zakharov <Vladislav.Zakharov@synopsys.com>,
	devicetree@vger.kernel.org, Vineet Gupta <vgupta@synopys.com>,
	linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>
Subject: [PATCH 0/3] ARC: get frequency via clock driver instead of reading device tree
Date: Fri,  3 Mar 2017 14:29:59 +0300	[thread overview]
Message-ID: <1488540602-11438-1-git-send-email-vzakhar@synopsys.com> (raw)

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

             reply	other threads:[~2017-03-03 11:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-03 11:29 Vlad Zakharov [this message]
2017-03-03 11:30 ` [PATCH 1/3] ARC: [dts] add input clocks for cpu nodes Vlad Zakharov
2017-03-03 11:30 ` [PATCH 2/3] ARC: [dts] add cpu nodes to ARCHS SMP device tree Vlad Zakharov
2017-03-03 11:30 ` [PATCH 3/3] arc: get rate from clk driver instead of reading " Vlad Zakharov
     [not found] ` <1488540602-11438-1-git-send-email-vzakhar-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
2017-03-05  0:07   ` [PATCH 0/3] ARC: get frequency via clock " Vineet Gupta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1488540602-11438-1-git-send-email-vzakhar@synopsys.com \
    --to=vladislav.zakharov@synopsys.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=robh+dt@kernel.org \
    --cc=vgupta@synopys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).