All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] clk: fixed-mmio: Add optional ready registers
@ 2025-05-28 14:09 Edgar E. Iglesias
  2025-05-28 14:09 ` [PATCH v2 1/2] dt-bindings: clk: fixed-mmio-clock: Add optional ready reg Edgar E. Iglesias
  2025-05-28 14:09 ` [PATCH v2 2/2] clk: fixed-mmio: Add optional poll for clk readiness Edgar E. Iglesias
  0 siblings, 2 replies; 4+ messages in thread
From: Edgar E. Iglesias @ 2025-05-28 14:09 UTC (permalink / raw)
  To: mturquette, sboyd, robh, krzk+dt, conor+dt, jank
  Cc: edgar.iglesias, linux-clk, devicetree, linux-kernel

From: "Edgar E. Iglesias" <edgar.iglesias@amd.com>

I'm not sure if this is a good idea but while doing some stuff in emulation
I had a need to wait for a fixed-mmio-clock to go ready before using
devices it drives. I figured it may be useful to have a generic way to
describe a simple polling for readiness.

Cheers,
Edgar

ChangeLog:

v1 -> v2:
* dt-binding: Add unit suffix, ready-timeout -> ready-timeout-us
* example: Remove unused label and renamed to clock@


Edgar E. Iglesias (2):
  dt-bindings: clk: fixed-mmio-clock: Add optional ready reg
  clk: fixed-mmio: Add optional poll for clk readiness

 .../bindings/clock/fixed-mmio-clock.yaml      | 37 ++++++++++++++++++-
 drivers/clk/clk-fixed-mmio.c                  | 35 ++++++++++++++++++
 2 files changed, 71 insertions(+), 1 deletion(-)


base-commit: feacb1774bd5eac6382990d0f6d1378dc01dd78f
-- 
2.43.0


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

end of thread, other threads:[~2025-05-28 14:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-28 14:09 [PATCH v2 0/2] clk: fixed-mmio: Add optional ready registers Edgar E. Iglesias
2025-05-28 14:09 ` [PATCH v2 1/2] dt-bindings: clk: fixed-mmio-clock: Add optional ready reg Edgar E. Iglesias
2025-05-28 14:19   ` Rob Herring
2025-05-28 14:09 ` [PATCH v2 2/2] clk: fixed-mmio: Add optional poll for clk readiness Edgar E. Iglesias

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.