mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-09-09 00:06:08 +08:00
Import pending series introducing support for standalone PCS drivers. This has previously already been used by the airoha target, and is also the base for the closer-to-upstream patches for MediaTek MT7988 10G SerDes support. In order to not having to diverge from upstream also backport series for standardized handling for PHY and PCS SerDes pair polarity. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
41 lines
1.5 KiB
Diff
41 lines
1.5 KiB
Diff
From 9f841922ebd0a34c78fc1984dc9abcb346704c58 Mon Sep 17 00:00:00 2001
|
|
From: Vladimir Oltean <vladimir.oltean@nxp.com>
|
|
Date: Mon, 19 Jan 2026 11:12:18 +0200
|
|
Subject: [PATCH 1/3] 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: 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>
|
|
---
|
|
.../devicetree/bindings/net/pcs/mediatek,sgmiisys.yaml | 7 ++++++-
|
|
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
--- a/Documentation/devicetree/bindings/net/pcs/mediatek,sgmiisys.yaml
|
|
+++ b/Documentation/devicetree/bindings/net/pcs/mediatek,sgmiisys.yaml
|
|
@@ -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
|