[PATCH v2 00/10] clk: add support for Airoha AN7583 clock
From: Christian Marangi <ansuelsmth@gmail.com>
Date: 2025-06-17 13:05:25
Also in:
linux-clk, lkml
This small series introduce some cleanup and support for clock and reset of Airoha AN7583. The implementation is similar to EN7581 but AN7583 introduce new reset and more clock divisor support. Also AN7583 require some additional tune for clock rate so we introduce support of .set_rate in the driver. Changes v2: - Add .set_rate support - Rework DT to EN7581 implementation (clock driver is parent) - Add additional cleanup patch - Merge binding with schema patch - Add chip_scu phandle Christian Marangi (10): clk: en7523: convert driver to regmap API clk: en7523: generalize register clocks function clk: en7523: convert to full clk_hw implementation clk: en7523: add support for .set_rate clk: en7523: permit to reference Chip SCU from phandle dt-bindings: clock: airoha: Document new property airoha,chip-scu clk: en7523: reword and clean clk_probe variables clk: en7523: add support for probing SCU child dt-bindings: clock: airoha: Document support for AN7583 clock clk: en7523: add support for Airoha AN7583 clock .../bindings/clock/airoha,en7523-scu.yaml | 17 + drivers/clk/clk-en7523.c | 739 ++++++++++++++---- include/dt-bindings/clock/en7523-clk.h | 3 + .../dt-bindings/reset/airoha,an7583-reset.h | 61 ++ 4 files changed, 680 insertions(+), 140 deletions(-) create mode 100644 include/dt-bindings/reset/airoha,an7583-reset.h -- 2.48.1