[PATCH v3 0/8] clk: clocking-wizard: Add static-config clock provider support
From: Shubhrajyoti Datta
Date: Fri Jul 31 2026 - 03:21:10 EST
The Xilinx clocking-wizard IP can be used in a static-config mode
where the hardware is pre-programmed at boot and no dynamic register
access is required. In that case the driver should skip ioremap,
read the fixed multiplier/divisor pairs from the device tree, and
register fixed-factor clocks derived from clk_in1.
This series:
- adds the xlnx,clk-mul-div binding to carry mul/div pairs
- makes the reg property optional for static-config nodes
- skips ioremap when xlnx,static-config is present
- moves clk_in1 acquisition before the static-config check so it
is available in both code paths
- registers fixed-factor output clocks in static-config mode
Changes in v3:
Added reviewed tag
the number of outputs duplication removed
Split notifier into per-clock callbacks
Changes in v2:
Merged the similar patches
Allow check for current dt even if it is unused.
Patch added
Shubhrajyoti Datta (8):
dt-bindings: clock: clocking-wizard: Add static-config mode support
clk: clocking-wizard: Do not map the memory for static-config
clk: clocking-wizard: Move clk_in1 acquisition before static-config
check
clk: clocking-wizard: Add static-config clock provider support
clk: clocking-wizard: Skip s_axi_aclk for static-config
clk: clocking-wizard: Use dev_err_probe() when mapping registers
clk: clocking-wizard: Fix division by zero and unbounded register
write
clk: clocking-wizard: Use separate notifier_block for each clock
.../bindings/clock/xlnx,clocking-wizard.yaml | 53 +++-
drivers/clk/xilinx/clk-xlnx-clock-wizard.c | 229 +++++++++++++++---
2 files changed, 246 insertions(+), 36 deletions(-)
--
2.34.1