🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
3 messages
3 total messages Started by John Crispin Thu, 12 Nov 2026 19:09
[PATCH net-next] dt-bindings: net: airoha: add AN7589 MDIO controller
#15406
Author: John Crispin
Date: Thu, 12 Nov 2026 19:09
63 lines
8671 bytes
The AN7589 carries the AN7583 SCU MDIO controller three times, the
third one at offset 0xd8. Document it as a fallback pair on the AN7583
compatible. Allow the new offset for the AN7589 only.

Signed-off-by: John Crispin <john@phrozen.org>
---
 .../bindings/net/airoha,an7583-mdio.yaml      | 25 +++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/airoha,an7583-mdio.yaml b/Documentation/devicetree/bindings/net/airoha,an7583-mdio.yaml
index 3e7e68ec1560..41dc295ce6cf 100644
--- a/Documentation/devicetree/bindings/net/airoha,an7583-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/airoha,an7583-mdio.yaml
@@ -17,14 +17,20 @@ description:
   The other 2 (that this schema describe) live under the SCU
   register supporting both C22 and C45 PHYs.
 
+  The Airoha AN7589 has a third controller of this kind under the SCU.
+
 $ref: mdio.yaml#
 
 properties:
   compatible:
-    const: airoha,an7583-mdio
+    oneOf:
+      - const: airoha,an7583-mdio
+      - items:
+          - const: airoha,an7589-mdio
+          - const: airoha,an7583-mdio
 
   reg:
-    enum: [0xc8, 0xcc]
+    maxItems: 1
 
   clocks:
     maxItems: 1
@@ -41,6 +47,21 @@ required:
   - clocks
   - resets
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: airoha,an7589-mdio
+    then:
+      properties:
+        reg:
+          enum: [0xc8, 0xcc, 0xd8]
+    else:
+      properties:
+        reg:
+          enum: [0xc8, 0xcc]
+
 unevaluatedProperties: false
 
 examples:

base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
-- 
2.34.1
Re: [PATCH net-next] dt-bindings: net: airoha: add AN7589 MDIO controller
#15895
Author: Conor Dooley
Date: Fri, 13 Nov 2026 17:23
20 lines
8525 bytes
--LaveC2wcX/zNZ4tD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable

--LaveC2wcX/zNZ4tD
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCavdHqgAKCRB4tDGHoIJi
0tpnAP9yAFlYqwDm7yxaqDfyZRlXlw8+nCFPcF/jQZgD5ClffwD7BlqYknPKbQYr
80C9yL0KANz2RmKCiSuqoeHdwPhjyw0=
=QahQ
-----END PGP SIGNATURE-----

--LaveC2wcX/zNZ4tD--
Re: [PATCH net-next] dt-bindings: net: airoha: add AN7589 MDIO controller
#17599
Author: patchwork-bot+netdevbpf
Date: Tue, 17 Nov 2026 02:50
26 lines
8901 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 12 Nov 2026 20:09:28 +0100 you wrote:
> The AN7589 carries the AN7583 SCU MDIO controller three times, the
> third one at offset 0xd8. Document it as a fallback pair on the AN7583
> compatible. Allow the new offset for the AN7589 only.
> 
> Signed-off-by: John Crispin <john@phrozen.org>
> ---
>  .../bindings/net/airoha,an7583-mdio.yaml      | 25 +++++++++++++++++--
>  1 file changed, 23 insertions(+), 2 deletions(-)
> 
> [...]

Here is the summary with links:
  - [net-next] dt-bindings: net: airoha: add AN7589 MDIO controller
    https://git.kernel.org/netdev/net-next/c/7f2ae640555a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads