[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250528140917.876453-1-edgar.iglesias@gmail.com>
Date: Wed, 28 May 2025 16:09:15 +0200
From: "Edgar E. Iglesias" <edgar.iglesias@...il.com>
To: mturquette@...libre.com,
sboyd@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
jank@...ence.com
Cc: edgar.iglesias@....com,
linux-clk@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] clk: fixed-mmio: Add optional ready registers
From: "Edgar E. Iglesias" <edgar.iglesias@....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
Powered by blists - more mailing lists