Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363737 > unrolled thread

[PATCH 05/17] clk: qcom: ipq4019: add some fixed clocks for ddrppl and fepll

Started byMatthew McClintock <mmcclint@codeaurora.org>
First post2016-03-23 23:10 +0100
Last post2016-03-30 01:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 05/17] clk: qcom: ipq4019: add some fixed clocks for ddrppl and fepll Matthew McClintock <mmcclint@codeaurora.org> - 2016-03-23 23:10 +0100
    Re: [PATCH 05/17] clk: qcom: ipq4019: add some fixed clocks for  ddrppl and fepll Stephen Boyd <sboyd@codeaurora.org> - 2016-03-30 01:40 +0200

#1363737 — [PATCH 05/17] clk: qcom: ipq4019: add some fixed clocks for ddrppl and fepll

FromMatthew McClintock <mmcclint@codeaurora.org>
Date2016-03-23 23:10 +0100
Subject[PATCH 05/17] clk: qcom: ipq4019: add some fixed clocks for ddrppl and fepll
Message-ID<rfZ8u-1se-7@gated-at.bofh.it>
Drivers for these don't exist yet so we will add them as fixed clocks
so we don't BUG() if we change clocks that reference these clocks.

Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
---
 drivers/clk/qcom/gcc-ipq4019.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/clk/qcom/gcc-ipq4019.c b/drivers/clk/qcom/gcc-ipq4019.c
index 38ada8d..f0b0a5a 100644
--- a/drivers/clk/qcom/gcc-ipq4019.c
+++ b/drivers/clk/qcom/gcc-ipq4019.c
@@ -1316,6 +1316,16 @@ MODULE_DEVICE_TABLE(of, gcc_ipq4019_match_table);
 
 static int gcc_ipq4019_probe(struct platform_device *pdev)
 {
+	struct device *dev = &pdev->dev;
+
+	clk_register_fixed_rate(dev, "fepll125", "xo", 0, 200000000);
+	clk_register_fixed_rate(dev, "fepll125dly", "xo", 0, 200000000);
+	clk_register_fixed_rate(dev, "fepllwcss2g", "xo", 0, 200000000);
+	clk_register_fixed_rate(dev, "fepllwcss5g", "xo", 0, 200000000);
+	clk_register_fixed_rate(dev, "fepll200", "xo", 0, 200000000);
+	clk_register_fixed_rate(dev, "fepll500", "xo", 0, 200000000);
+	clk_register_fixed_rate(dev, "ddrpllapss", "xo", 0, 666000000);
+
 	return qcom_cc_probe(pdev, &gcc_ipq4019_desc);
 }
 
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

[toc] | [next] | [standalone]


#1366788 — Re: [PATCH 05/17] clk: qcom: ipq4019: add some fixed clocks for ddrppl and fepll

FromStephen Boyd <sboyd@codeaurora.org>
Date2016-03-30 01:40 +0200
SubjectRe: [PATCH 05/17] clk: qcom: ipq4019: add some fixed clocks for ddrppl and fepll
Message-ID<riboS-53f-3@gated-at.bofh.it>
In reply to#1363737
On 03/23, Matthew McClintock wrote:
> Drivers for these don't exist yet so we will add them as fixed clocks
> so we don't BUG() if we change clocks that reference these clocks.
> 
> Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
> ---

Applied to clk-fixes

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web