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


Groups > linux.kernel > #1435866

Re: [PATCH RFC 6/7] clk: imx: pllv3: convert to prepare_hw and set_rate_hw

From Fabio Estevam <festevam@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH RFC 6/7] clk: imx: pllv3: convert to prepare_hw and set_rate_hw
Date 2016-07-02 22:40 +0200
Message-ID <rQzRM-8a7-9@gated-at.bofh.it> (permalink)
References <rQhLb-5rO-3@gated-at.bofh.it> <rQzRM-8a7-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Dong,

On Wed, Jun 29, 2016 at 10:52 AM, Dong Aisheng <aisheng.dong@nxp.com> wrote:

Thanks for working on this series.

Tested the whole series on a mx7d-sdb and it does fix the several clk
warnings that we currently have.

> +static int clk_pllv3_set_rate_done(struct clk_hw *hw)
> +{
> +       struct clk_pllv3 *pll = to_clk_pllv3(hw);
> +       u32 val = readl_relaxed(pll->base) & pll->powerdown;

I had to change this to:

--- a/drivers/clk/imx/clk-pllv3.c
+++ b/drivers/clk/imx/clk-pllv3.c
@@ -108,7 +108,7 @@ static long clk_pllv3_round_rate(struct clk_hw *hw, unsigned
 static int clk_pllv3_set_rate_done(struct clk_hw *hw)
 {
        struct clk_pllv3 *pll = to_clk_pllv3(hw);
-       u32 val = readl_relaxed(pll->base) & pll->powerdown;
+       u32 val = readl_relaxed(pll->base) & pll->power_bit;

,so that it can build against linux-next.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH RFC 6/7] clk: imx: pllv3: convert to prepare_hw and set_rate_hw Fabio Estevam <festevam@gmail.com> - 2016-07-02 22:40 +0200

csiph-web