All of lore.kernel.org
 help / color / mirror / Atom feed
From: mturquette@linaro.org (Mike Turquette)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/3] clk: bcm281xx: don't disable unused peripheral clocks
Date: Sun, 23 Feb 2014 17:13:35 -0800	[thread overview]
Message-ID: <20140224011335.22529.77418@quantum> (raw)
In-Reply-To: <20140220205615.GF5038@beef>

Quoting Matt Porter (2014-02-20 12:56:15)
> On Fri, Feb 14, 2014 at 12:29:19PM -0600, Alex Elder wrote:
> > Add the CLK_IGNORE_UNUSED flag when setting up a peripheral clock.
> > This prevents unused clocks from getting disabled, and by doing
> > this we can use the common clock code even before we've resolved
> > all the spots that need to get a reference to their clock.
> > 
> > Signed-off-by: Alex Elder <elder@linaro.org>
> > Reviewed-by: Matt Porter <mporter@linaro.org>
> 
> Mike: if you'll provide your ack on this patch, we would like to take
> the entire series through arm-soc for 3.15 as we originally agreed
> for 3.14. Patches 1 and 3 are the original two you acked for 3.14
> but had to be dropped late in the merge window.

Acked-by: Mike Turquette <mturquette@linaro.org>

> 
> Thanks,
> Matt
> 
> > ---
> >  drivers/clk/bcm/clk-kona-setup.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/clk/bcm/clk-kona-setup.c b/drivers/clk/bcm/clk-kona-setup.c
> > index f1e88fe..c7607fe 100644
> > --- a/drivers/clk/bcm/clk-kona-setup.c
> > +++ b/drivers/clk/bcm/clk-kona-setup.c
> > @@ -579,7 +579,7 @@ static int peri_clk_setup(struct ccu_data *ccu, struct peri_clk_data *data,
> >                       struct clk_init_data *init_data)
> >  {
> >       init_data->ops = &kona_peri_clk_ops;
> > -     init_data->flags = 0;
> > +     init_data->flags = CLK_IGNORE_UNUSED;
> >  
> >       return clk_sel_setup(data->clocks, &data->sel, init_data);
> >  }
> > -- 
> > 1.7.9.5
> > 

WARNING: multiple messages have this Message-ID (diff)
From: Mike Turquette <mturquette@linaro.org>
To: Matt Porter <mporter@linaro.org>, "Alex Elder" <elder@linaro.org>
Cc: bcm@fixthebug.org, "Tim Kryger" <tim.kryger@linaro.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] clk: bcm281xx: don't disable unused peripheral clocks
Date: Sun, 23 Feb 2014 17:13:35 -0800	[thread overview]
Message-ID: <20140224011335.22529.77418@quantum> (raw)
In-Reply-To: <20140220205615.GF5038@beef>

Quoting Matt Porter (2014-02-20 12:56:15)
> On Fri, Feb 14, 2014 at 12:29:19PM -0600, Alex Elder wrote:
> > Add the CLK_IGNORE_UNUSED flag when setting up a peripheral clock.
> > This prevents unused clocks from getting disabled, and by doing
> > this we can use the common clock code even before we've resolved
> > all the spots that need to get a reference to their clock.
> > 
> > Signed-off-by: Alex Elder <elder@linaro.org>
> > Reviewed-by: Matt Porter <mporter@linaro.org>
> 
> Mike: if you'll provide your ack on this patch, we would like to take
> the entire series through arm-soc for 3.15 as we originally agreed
> for 3.14. Patches 1 and 3 are the original two you acked for 3.14
> but had to be dropped late in the merge window.

Acked-by: Mike Turquette <mturquette@linaro.org>

> 
> Thanks,
> Matt
> 
> > ---
> >  drivers/clk/bcm/clk-kona-setup.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/clk/bcm/clk-kona-setup.c b/drivers/clk/bcm/clk-kona-setup.c
> > index f1e88fe..c7607fe 100644
> > --- a/drivers/clk/bcm/clk-kona-setup.c
> > +++ b/drivers/clk/bcm/clk-kona-setup.c
> > @@ -579,7 +579,7 @@ static int peri_clk_setup(struct ccu_data *ccu, struct peri_clk_data *data,
> >                       struct clk_init_data *init_data)
> >  {
> >       init_data->ops = &kona_peri_clk_ops;
> > -     init_data->flags = 0;
> > +     init_data->flags = CLK_IGNORE_UNUSED;
> >  
> >       return clk_sel_setup(data->clocks, &data->sel, init_data);
> >  }
> > -- 
> > 1.7.9.5
> > 

  reply	other threads:[~2014-02-24  1:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1392402560-12929-1-git-send-email-elder@linaro.org>
2014-02-14 18:29 ` [PATCH v2 1/3] clk: bcm281xx: add initial clock framework support Alex Elder
2014-02-14 18:29   ` Alex Elder
2014-02-14 18:29   ` Alex Elder
2014-02-14 18:29 ` [PATCH v2 2/3] clk: bcm281xx: don't disable unused peripheral clocks Alex Elder
2014-02-14 18:29   ` Alex Elder
2014-02-20 20:56   ` Matt Porter
2014-02-20 20:56     ` Matt Porter
2014-02-24  1:13     ` Mike Turquette [this message]
2014-02-24  1:13       ` Mike Turquette
2014-02-14 18:29 ` [PATCH v2 3/3] ARM: dts: bcm281xx: define real clocks Alex Elder
2014-02-14 18:29   ` Alex Elder

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=20140224011335.22529.77418@quantum \
    --to=mturquette@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.