]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: net: pcs: mediatek,sgmiisys: deprecate "mediatek,pnswap"
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 19 Jan 2026 09:12:18 +0000 (11:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Jan 2026 03:46:58 +0000 (19:46 -0800)
Reference the common PHY properties, and update the example to use them.
Note that a PCS subnode exists, and it seems a better container of the
polarity description than the SGMIISYS node that hosts "mediatek,pnswap".
So use that.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260119091220.1493761-4-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/pcs/mediatek,sgmiisys.yaml

index 1bacc0eeff7573bb190d87a52103bf2ce1df7374..b8478416f8eff257b7b7985601ff78c96db6c07a 100644 (file)
@@ -39,12 +39,17 @@ properties:
     const: 1
 
   mediatek,pnswap:
-    description: Invert polarity of the SGMII data lanes
+    description:
+      Invert polarity of the SGMII data lanes.
+      This property is deprecated, for details please refer to
+      Documentation/devicetree/bindings/phy/phy-common-props.yaml.
     type: boolean
+    deprecated: true
 
   pcs:
     type: object
     description: MediaTek LynxI HSGMII PCS
+    $ref: /schemas/phy/phy-common-props.yaml#
     properties:
       compatible:
         const: mediatek,mt7988-sgmii