Commit 9f841922 authored by Vladimir Oltean's avatar Vladimir Oltean Committed by Jakub Kicinski
Browse files

dt-bindings: net: pcs: mediatek,sgmiisys: deprecate "mediatek,pnswap"



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: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260119091220.1493761-4-vladimir.oltean@nxp.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 66d8a334
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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