[PATCH 0/6] clk: en7523: add support for Airoha AN7589
From: John Crispin
Date: Tue Nov 24 2026 - 05:12:57 EST
The Airoha AN7589 SCU is the EN7581 one with wider mux fields, new
base rate tables, new clocks and a third reset bank. This series adds
its clocks and resets to the en7523 driver.
Patch 1 adds the compatible of the AN7589 chip SCU. Patch 2 adds the
binding of the clock controller, the clock IDs and the reset header.
Patch 3 lets a SoC have fewer clock descriptors than clock IDs, which
the AN7589 needs because it has no GSW clock. Patch 4 adds the AN7589
clocks and resets.
Patches 5 and 6 are for the MDIO controllers, which live in the SCU
register space and are children of the clock controller node. Patch 5
allows the child nodes in the binding and patch 6 creates their
devices. The AN7583 MDIO controllers use the same path.
The series depends on the series "clk: add support for Airoha AN7583
clock" v15 [1]. That series makes #phy-cells required for the AN7583.
The AN7589 provides no serdes PHY, so patch 2 moves this requirement
into a rule for the AN7583 alone.
[1] https://lore.kernel.org/r/20261121212738.170775-1-ansuelsmth@xxxxxxxxx
John Crispin (6):
dt-bindings: arm: airoha: add AN7589 chip SCU
dt-bindings: clock: airoha: add AN7589
clk: en7523: decouple base clock count from clock ID count
clk: en7523: add support for Airoha AN7589
dt-bindings: clock: airoha: allow MDIO controllers under the SCU
clk: en7523: populate SCU child devices
.../bindings/arm/airoha,en7581-chip-scu.yaml | 1 +
.../bindings/clock/airoha,en7523-scu.yaml | 30 +-
drivers/clk/clk-en7523.c | 335 +++++++++++++++++-
include/dt-bindings/clock/en7523-clk.h | 9 +
.../dt-bindings/reset/airoha,an7589-reset.h | 68 ++++
5 files changed, 438 insertions(+), 5 deletions(-)
create mode 100644 include/dt-bindings/reset/airoha,an7589-reset.h
base-commit: 3191063649dbf7c0d0b768e1f3655e4c5fc6edb5
prerequisite-patch-id: cb7f4047f6de36dd2c1eb612c407847cb48b3be7
prerequisite-patch-id: 94ab63d8aa9fd575c8addab53d7fe6ab6064a31d
prerequisite-patch-id: 6ef84d4bdb8a219a1a0677cfb372b229c3ef6c0a
prerequisite-patch-id: 463419d96297c209bff6ce0e587c470877e547d7
prerequisite-patch-id: cdf4f7496650724d242508706b4857ce4ca6d6ef
--
2.34.1