* How to enable sys_clkout1 for use by brf6300
@ 2010-09-19 16:46 Peter Barada
2010-09-20 18:04 ` Kevin Hilman
0 siblings, 1 reply; 3+ messages in thread
From: Peter Barada @ 2010-09-19 16:46 UTC (permalink / raw)
To: linux-omap
All,
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.
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)'"?
Thanks in advance!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to enable sys_clkout1 for use by brf6300
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
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Hilman @ 2010-09-20 18:04 UTC (permalink / raw)
To: Peter Barada; +Cc: linux-omap
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?
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to enable sys_clkout1 for use by brf6300
2010-09-20 18:04 ` Kevin Hilman
@ 2010-09-22 14:40 ` Peter Barada
0 siblings, 0 replies; 3+ messages in thread
From: Peter Barada @ 2010-09-22 14:40 UTC (permalink / raw)
To: Kevin Hilman; +Cc: linux-omap
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-22 14:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox