]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
dt-bindings: net: dsa: microchip: add mdio-parent-bus property for internal MDIO
authorOleksij Rempel <o.rempel@pengutronix.de>
Wed, 6 Nov 2024 07:59:37 +0000 (08:59 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 00:04:31 +0000 (16:04 -0800)
Introduce `mdio-parent-bus` property in the ksz DSA bindings to
reference the parent MDIO bus when the internal MDIO bus is attached to
it, bypassing the main management interface.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241106075942.1636998-3-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml

index a4e463819d4d78785e97031078481fe447a002f5..121a4bbd147be0494a4d01fd70da305a051beef3 100644 (file)
@@ -84,6 +84,15 @@ properties:
   mdio:
     $ref: /schemas/net/mdio.yaml#
     unevaluatedProperties: false
+    properties:
+      mdio-parent-bus:
+        $ref: /schemas/types.yaml#/definitions/phandle
+        description:
+          Phandle pointing to the MDIO bus controller connected to the
+          secondary MDIO interface. This property should be used when
+          the internal MDIO bus is accessed via a secondary MDIO
+          interface rather than the primary management interface.
+
     patternProperties:
       "^ethernet-phy@[0-9a-f]$":
         type: object