linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Georgi Djakov <georgi.djakov@linaro.org>
To: sboyd@codeaurora.org, agross@codeaurora.org
Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org,
	bjorn.andersson@sonymobile.com, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.org
Subject: [PATCH v5 2/6] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators
Date: Thu,  3 Dec 2015 16:02:52 +0200	[thread overview]
Message-ID: <1449151376-25930-3-git-send-email-georgi.djakov@linaro.org> (raw)
In-Reply-To: <1449151376-25930-1-git-send-email-georgi.djakov@linaro.org>

Currently the rates of the xo and sleep clocks are hard-coded in the
GCC driver, but this is a board layout description that actually should
be in the DT. Moving them into DT also allows us to insert the RPM
controlled clocks between the DT and GCC clocks.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 80cf15087d01..d577127cc81e 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -95,6 +95,20 @@
 			     <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
 	};
 
+	clocks {
+		xo_board: xo_board {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <19200000>;
+		};
+
+		sleep_clk: sleep_clk {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <32768>;
+		};
+	};
+
 	soc: soc {
 		#address-cells = <1>;
 		#size-cells = <1>;

  parent reply	other threads:[~2015-12-03 14:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03 14:02 [PATCH v5 0/6] Add initial support for RPM clocks Georgi Djakov
2015-12-03 14:02 ` [PATCH v5 1/6] clk: qcom: Add support for SMD-RPM Clocks Georgi Djakov
2015-12-07 10:42   ` Georgi Djakov
2015-12-28  2:08   ` Bjorn Andersson
2015-12-03 14:02 ` Georgi Djakov [this message]
2015-12-03 14:02 ` [PATCH v5 3/6] arm64: dts: qcom: msm8916: Add RPMCC DT node Georgi Djakov
2015-12-03 14:02 ` [PATCH v5 4/6] clk: qcom: Add support for RPM Clocks Georgi Djakov
2015-12-03 14:02 ` [PATCH v5 5/6] arm: dts: qcom: apq8064: Add fixed rate on-board oscillators Georgi Djakov
2015-12-03 14:02 ` [PATCH v5 6/6] arm: dts: qcom: apq8064: Add RPMCC DT node Georgi Djakov

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=1449151376-25930-3-git-send-email-georgi.djakov@linaro.org \
    --to=georgi.djakov@linaro.org \
    --cc=agross@codeaurora.org \
    --cc=bjorn.andersson@sonymobile.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@codeaurora.org \
    /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).