public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Barada <peter.barada@gmail.com>
To: Kevin Hilman <khilman@deeprootsystems.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: How to enable sys_clkout1 for use by brf6300
Date: Wed, 22 Sep 2010 10:40:28 -0400	[thread overview]
Message-ID: <1285166428.3138.0.camel@thunk> (raw)
In-Reply-To: <874odkxpe1.fsf@deeprootsystems.com>

On Mon, 2010-09-20 at 11:04 -0700, Kevin Hilman wrote:
> Hi Peter,
> 
> Peter Barada <peter.barada@gmail.com> writes:
> 
> > I have a brf6300 that requires sys_clkout1, and I have it working fine
> > right now, but if I enable CONFIG_OMAP_RESET_CLOCKS, then
> > sys_clkou1 is disabled.
> 
> Yes, any unused clocks will be disabled.  Where "unused" means it has a
> zero use-count (nobody has called clk_enable)
> 
> > How do I tell the system that I need sys_clkout1 enabled for the
> > brf6300 chip to work?  Should I use "clk = clk_get(NULL,
> > "sys_clkout1"); clk_enable(clk)'"?
> 
> Yes.
> 
> Did that not work for you?

No, that worked fine.  Next challenge is to add into the brf6300 driver
proper suspend/resume support to allow
disabling/enabling the clock.

Thanks!

> Kevin



      reply	other threads:[~2010-09-22 14:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-19 16:46 How to enable sys_clkout1 for use by brf6300 Peter Barada
2010-09-20 18:04 ` Kevin Hilman
2010-09-22 14:40   ` Peter Barada [this message]

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=1285166428.3138.0.camel@thunk \
    --to=peter.barada@gmail.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox