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] clk: palmas: add clock driver for palmas
Date: Fri, 04 Oct 2013 12:35:45 -0700	[thread overview]
Message-ID: <20131004193545.4343.15596@quantum> (raw)
In-Reply-To: <20131004164139.GR27287@sirena.org.uk>

Quoting Mark Brown (2013-10-04 09:41:39)
> On Thu, Oct 03, 2013 at 06:00:07PM +0530, Laxman Dewangan wrote:
> 
> > +     Optional subnode properties:
> > +     ti,clock-boot-enable: Enable clock at the time of booting.
> 
> Shouldn't this be a generic clock subsystem thing?  It seems like
> something that might be desired for nearly any clock.

The best solution is to have a driver claim the clock with clk_get and
enable it with clk_prepare_enable. I gave more detail in my reply to
Laxman.

Regards,
Mike

WARNING: multiple messages have this Message-ID (diff)
From: Mike Turquette <mturquette@linaro.org>
To: Mark Brown <broonie@kernel.org>, Laxman Dewangan <ldewangan@nvidia.com>
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
	pawel.moll@arm.com, ijc+devicetree@hellion.org.uk,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	rob.herring@calxeda.com, rob@landley.net,
	grant.likely@linaro.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] clk: palmas: add clock driver for palmas
Date: Fri, 04 Oct 2013 12:35:45 -0700	[thread overview]
Message-ID: <20131004193545.4343.15596@quantum> (raw)
In-Reply-To: <20131004164139.GR27287@sirena.org.uk>

Quoting Mark Brown (2013-10-04 09:41:39)
> On Thu, Oct 03, 2013 at 06:00:07PM +0530, Laxman Dewangan wrote:
> 
> > +     Optional subnode properties:
> > +     ti,clock-boot-enable: Enable clock at the time of booting.
> 
> Shouldn't this be a generic clock subsystem thing?  It seems like
> something that might be desired for nearly any clock.

The best solution is to have a driver claim the clock with clk_get and
enable it with clk_prepare_enable. I gave more detail in my reply to
Laxman.

Regards,
Mike

  reply	other threads:[~2013-10-04 19:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-03 12:30 [PATCH] clk: palmas: add clock driver for palmas Laxman Dewangan
2013-10-03 12:30 ` Laxman Dewangan
2013-10-03 12:30 ` Laxman Dewangan
2013-10-04 16:41 ` Mark Brown
2013-10-04 16:41   ` Mark Brown
2013-10-04 19:35   ` Mike Turquette [this message]
2013-10-04 19:35     ` Mike Turquette
2013-10-04 20:52     ` Mark Brown
2013-10-04 20:52       ` Mark Brown
2013-10-04 19:35 ` Mike Turquette
2013-10-04 19:35   ` Mike Turquette

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=20131004193545.4343.15596@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.