mbox series

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

Message ID 20240831111056.3864-1-hpausten@protonmail.com (mailing list archive)
Headers show
Series clk: clocking-wizard: modernize probe | expand

Message

Harry Austen Aug. 31, 2024, 11:12 a.m. UTC
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. These remaining six patches are unchanged from
the aforementioned patchset.

[1] https://lore.kernel.org/20240826123602.1872-1-hpausten@protonmail.com

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  |   7 +
 drivers/clk/xilinx/clk-xlnx-clock-wizard.c    | 281 ++++++++----------
 2 files changed, 128 insertions(+), 160 deletions(-)