[PATCH v5 0/2] clk: clocking-wizard: add user clock monitor support

From: Harry Austen

Date: Fri Feb 27 2026 - 13:19:28 EST


Add support for the clock monitor functionality added in version 6.0 of the
Xilinx clocking wizard IP core, through use of devcoredump.

This is a follow up from a patchset I submitted quite a while ago [1],
where I was attempting to utilise the UIO subsystem instead. Stephen Boyd
suggested use of devcoredump instead [2] and I have finally got round to
giving this a go.

This is currently untested on hardware, so any help testing this would be
much appreciated!

v4 -> v5:
- Add Krzysztof's R-b tag to patch 1
- Fix patch 2 by moving dev_coredumpv() after iowrite32()
v3 -> v4:
- Patches 1-4,8-9 dropped, as they were submitted/accepted separately [3]
- Patch 7 removed, as no longer creating a new UIO driver
- DT binding patch mostly unchanged. Slight rework (removed allOf) and
rebase, so removed Krzysztof's R-b tag just in case
- Clock monitor support patch now reworked to make use of devcoredump
- Rebased on top of clk-next
v2 -> v3:
- Move kernel doc variable comment to bottom in clk_hw transition patch (2)
- Remove extra line (and add Krzysztof's R-b tag) in binding patch (5)
- Add Krzysztof's A-b tag to dynamic reconfig binding patch (8)
v1 -> v2:
- Split and improve clk_hw+devres transition patch (2+3)
- Fix/improve DT binding patches (5+8)
- Utilise auxiliary bus in monitor support patch (6)
- Add dedicated UIO driver for monitor support (7)

[1]: https://lore.kernel.org/linux-clk/20240826123602.1872-1-hpausten@xxxxxxxxxxxxxx/
[2]: https://lore.kernel.org/linux-clk/1bd17a02bab46391872e4934895b83e8.sboyd@xxxxxxxxxx/
[3]: https://lore.kernel.org/linux-clk/20240913191037.2690-1-hpausten@xxxxxxxxxxxxxx/

Harry Austen (2):
dt-bindings: clock: xilinx: add description of user monitor interrupt
clk: clocking-wizard: add user clock monitor support

.../bindings/clock/xlnx,clocking-wizard.yaml | 24 ++++++-
drivers/clk/xilinx/Kconfig | 1 +
drivers/clk/xilinx/clk-xlnx-clock-wizard.c | 69 +++++++++++++++++--
3 files changed, 89 insertions(+), 5 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f

--
2.53.0