[PATCH v2 0/6] clk: clocking-wizard: modernize probe

From: Harry Austen
Date: Fri Sep 13 2024 - 15:11:25 EST


Improve utilised clk/notifier APIs, making use of device managed versions
of functions and make dynamic reconfiguration support optional (because it is
in hardware).

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

This patchset is based on a previous one [1] ([PATCH v3 0/9] clk:
clocking-wizard: add user clock monitor support), whereby I was attempting to
add support for the user clock monitor functionality. Those three patches (DT
binding, clk driver and UIO driver) have now been removed, with the intention of
getting these simpler tidyup changes merged first, while reworking the design of
the user clock monitor support.

Changes from v1 [2]:
- Invert DT property (patch 5/6)
- Update driver with inverted DT property (patch 6/6)

[1] https://lore.kernel.org/20240826123602.1872-1-hpausten@xxxxxxxxxxxxxx
[2] https://lore.kernel.org/20240831111056.3864-1-hpausten@xxxxxxxxxxxxxx

Harry Austen (6):
clk: clocking-wizard: simplify probe/remove with devres helpers
clk: clocking-wizard: use newer clk_hw API
clk: clocking-wizard: use devres versions of clk_hw API
clk: clocking-wizard: move clock registration to separate function
dt-bindings: clock: xilinx: describe whether dynamic reconfig is
enabled
clk: clocking-wizard: move dynamic reconfig setup behind flag

.../bindings/clock/xlnx,clocking-wizard.yaml | 6 +
drivers/clk/xilinx/clk-xlnx-clock-wizard.c | 281 ++++++++----------
2 files changed, 127 insertions(+), 160 deletions(-)

--
2.46.0