All of lore.kernel.org
 help / color / mirror / Atom feed
* Coupled clk/reset
@ 2017-07-18 10:23 Joel Stanley
  2017-07-18 10:56 ` Benjamin Herrenschmidt
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Joel Stanley @ 2017-07-18 10:23 UTC (permalink / raw)
  To: Philipp Zabel, Michael Turquette, Stephen Boyd
  Cc: linux-clk, Ryan Chen, Linus Walleij, Benjamin Herrenschmidt,
	Andrew Jeffery, Jeremy Kerr

Hello!

I'm taking a stab at a clk and reset driver for the Aspeed SoCs. I've
used the Gemini driver for inspiration so far, which looks to be a
good fit for the clock gating and important clocks (those we need in
order to get the uart and timer source going).

One tricky bit is the datasheet specifies the following for enabling
an IP block ('engine'), whenever the engine is started from the
clocked stopped state:

 1. Enable engine reset
 2. Delay 100us
 3. Enable clock
 4. Delay 10ms
 5. Disable engine reset

How does this dance fit into the reset/clock framework? I need to show
that there is this dependency when enabling a clock.

Cheers,

Joel

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

end of thread, other threads:[~2017-07-19  8:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18 10:23 Coupled clk/reset Joel Stanley
2017-07-18 10:56 ` Benjamin Herrenschmidt
2017-07-18 14:25   ` Philipp Zabel
2017-07-18 14:06 ` Philipp Zabel
2017-07-18 21:14   ` Benjamin Herrenschmidt
2017-07-19  3:08     ` Joel Stanley
2017-07-19  8:10 ` Peter De Schrijver

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.