linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Keeping a clock enabled during suspend
@ 2016-02-03 17:04 Fabio Estevam
  2016-02-18  1:38 ` Michael Turquette
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2016-02-03 17:04 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: linux-clk, Michael Turquette, peter.chen, Lee Jones

Hi,

I am trying to implement a workaround for a mx25 USB erratum issue
(ENGcm08333), where I need to keep the USB clock turned on when the
system enters in suspend.

Is it possible to indicate that a clock needs to be kept enabled in
suspend with the current clock framework?

I saw this attempt from Lee Jones:
https://lkml.org/lkml/2015/4/8/9

Any suggestions?

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keeping a clock enabled during suspend
  2016-02-03 17:04 Keeping a clock enabled during suspend Fabio Estevam
@ 2016-02-18  1:38 ` Michael Turquette
  2016-02-22 17:18   ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Turquette @ 2016-02-18  1:38 UTC (permalink / raw)
  To: Fabio Estevam, Stephen Boyd; +Cc: linux-clk, peter.chen, Lee Jones

Quoting Fabio Estevam (2016-02-03 09:04:07)
> Hi,
> =

> I am trying to implement a workaround for a mx25 USB erratum issue
> (ENGcm08333), where I need to keep the USB clock turned on when the
> system enters in suspend.
> =

> Is it possible to indicate that a clock needs to be kept enabled in
> suspend with the current clock framework?
> =

> I saw this attempt from Lee Jones:
> https://lkml.org/lkml/2015/4/8/9

That link didn't resolve for me but I'm guessing those are the CRITICAL
clk patches.

That flag is designed to keep a clock on always, so it may do what you
want, but I'd like to know more first.

Where does your clock get cut? Is there a clk_disable call in a suspend
callback that does this to your USB clk?

Regards,
Mike

> =

> Any suggestions?
> =

> Thanks,
> =

> Fabio Estevam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keeping a clock enabled during suspend
  2016-02-18  1:38 ` Michael Turquette
@ 2016-02-22 17:18   ` Fabio Estevam
  0 siblings, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2016-02-22 17:18 UTC (permalink / raw)
  To: Michael Turquette; +Cc: Stephen Boyd, linux-clk, peter.chen, Lee Jones

On Wed, Feb 17, 2016 at 11:38 PM, Michael Turquette
<mturquette@baylibre.com> wrote:

> That link didn't resolve for me but I'm guessing those are the CRITICAL
> clk patches.
>
> That flag is designed to keep a clock on always, so it may do what you
> want, but I'd like to know more first.

Yes, let me give it a try with CLK_IS_CRITICAL once it reaches
linux-next. I think that should solve this issue, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-22 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-03 17:04 Keeping a clock enabled during suspend Fabio Estevam
2016-02-18  1:38 ` Michael Turquette
2016-02-22 17:18   ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).