devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Elaine Zhang <zhangqing@rock-chips.com>
To: mturquette@baylibre.com, sboyd@codeaurora.org, heiko@sntech.de
Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
	robh+dt@kernel.org, mark.rutland@arm.com,
	devicetree@vger.kernel.org, xxx@rock-chips.com,
	xf@rock-chips.com, huangtao@rock-chips.com,
	shawn.lin@rock-chips.com, andy.yan@rock-chips.com,
	Elaine Zhang <zhangqing@rock-chips.com>
Subject: [PATCH v3 5/9] clk: rockchip: fix up the pll clks error for rv1108 SoC
Date: Tue,  8 Aug 2017 15:17:55 +0800	[thread overview]
Message-ID: <1502176675-32228-1-git-send-email-zhangqing@rock-chips.com> (raw)
In-Reply-To: <1502176547-30817-1-git-send-email-zhangqing@rock-chips.com>

fix up the lock_shift describe error.
remove the ROCKCHIP_PLL_SYNC_RATE flag for gpll.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 drivers/clk/rockchip/clk-rv1108.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/clk/rockchip/clk-rv1108.c b/drivers/clk/rockchip/clk-rv1108.c
index 3c670db16e18..9c6bad0da140 100644
--- a/drivers/clk/rockchip/clk-rv1108.c
+++ b/drivers/clk/rockchip/clk-rv1108.c
@@ -148,11 +148,11 @@ enum rv1108_plls {
 
 static struct rockchip_pll_clock rv1108_pll_clks[] __initdata = {
 	[apll] = PLL(pll_rk3399, PLL_APLL, "apll", mux_pll_p, 0, RV1108_PLL_CON(0),
-		     RV1108_PLL_CON(3), 8, 31, 0, rv1108_pll_rates),
+		     RV1108_PLL_CON(3), 8, 0, 0, rv1108_pll_rates),
 	[dpll] = PLL(pll_rk3399, PLL_DPLL, "dpll", mux_pll_p, 0, RV1108_PLL_CON(8),
-		     RV1108_PLL_CON(11), 8, 31, 0, NULL),
+		     RV1108_PLL_CON(11), 8, 1, 0, NULL),
 	[gpll] = PLL(pll_rk3399, PLL_GPLL, "gpll", mux_pll_p, 0, RV1108_PLL_CON(16),
-		     RV1108_PLL_CON(19), 8, 31, ROCKCHIP_PLL_SYNC_RATE, rv1108_pll_rates),
+		     RV1108_PLL_CON(19), 8, 2, 0, rv1108_pll_rates),
 };
 
 #define MFLAGS CLK_MUX_HIWORD_MASK
-- 
1.9.1

  parent reply	other threads:[~2017-08-08  7:17 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-08  7:15 [PATCH v3 0/9] clk: rockchip: support clk for RV1108 Soc Elaine Zhang
2017-08-08  7:15 ` [PATCH v3 1/9] clk: rockchip: add more clk ids for rv1108 Elaine Zhang
2017-08-08 15:35   ` Heiko Stuebner
2017-08-08  7:15 ` [PATCH v3 2/9] clk: rockchip: rename the clk id for HCLK_I2S1_2CH Elaine Zhang
2017-08-08 15:35   ` Heiko Stuebner
     [not found] ` <1502176547-30817-1-git-send-email-zhangqing-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2017-08-08  7:15   ` [PATCH v3 3/9] clk: rockchip: fix up the indentation stuff for RV1108 SoC Elaine Zhang
2017-08-08 15:35     ` Heiko Stuebner
2017-08-08  7:18   ` [PATCH v3 6/9] clk: rockchip: support more clks for rv1108 Elaine Zhang
2017-08-08 15:36     ` Heiko Stuebner
2017-08-08  7:19   ` [PATCH v3 8/9] clk: rockchip: rename some of clks for rv1108 SoC Elaine Zhang
2017-08-08 15:36     ` Heiko Stuebner
2017-08-08  7:15 ` [PATCH v3 4/9] clk: rockchip: support more rates for cpuclk Elaine Zhang
2017-08-08 15:10   ` Heiko Stuebner
2017-08-08  7:17 ` Elaine Zhang [this message]
2017-08-08 15:11   ` [PATCH v3 5/9] clk: rockchip: fix up the pll clks error for rv1108 SoC Heiko Stuebner
2017-08-08  7:18 ` [PATCH v3 7/9] clk: rockchip: fix up some clks describe " Elaine Zhang
2017-08-08 15:36   ` Heiko Stuebner
2017-08-08  7:19 ` [PATCH v3 9/9] clk: rockchip: add some critical clocks " Elaine Zhang
2017-08-08 15:37   ` Heiko Stuebner

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=1502176675-32228-1-git-send-email-zhangqing@rock-chips.com \
    --to=zhangqing@rock-chips.com \
    --cc=andy.yan@rock-chips.com \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=huangtao@rock-chips.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=shawn.lin@rock-chips.com \
    --cc=xf@rock-chips.com \
    --cc=xxx@rock-chips.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).