Skip to content

clk: en7523: add support for Airoha AN7589

John Crispin linux-clk linux-devicetree lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: arm: airoha: add AN7589 chip SCUDocumentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml+1 -00 replies
2/6dt-bindings: clock: airoha: add AN7589Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml include/dt-bindings/clock/en7523-clk.h include/dt-bindings/reset/airoha,an7589-reset.h+92 -30 replies
3/6clk: en7523: decouple base clock count from clock ID countdrivers/clk/clk-en7523.c+4 -10 replies
4/6clk: en7523: add support for Airoha AN7589drivers/clk/clk-en7523.c+323 -00 replies
5/6dt-bindings: clock: airoha: allow MDIO controllers under the SCUDocumentation/devicetree/bindings/clock/airoha,en7523-scu.yaml+12 -00 replies
6/6clk: en7523: populate SCU child devicesdrivers/clk/clk-en7523.c+6 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] clk: en7523: add support for Airoha AN7589

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/[email protected]

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

Signature · 1 line
2.34.1