Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: airoha,en8811h: deprecate "airoha,pnswap-rx" and "airoha,pnswap-tx"

Reference the common PHY properties, and update the example to use them.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260119091220.1493761-2-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Vladimir Oltean and committed by
Jakub Kicinski
44f62aa1 9de76f55

+10 -1
+10 -1
Documentation/devicetree/bindings/net/airoha,en8811h.yaml
··· 16 16 17 17 allOf: 18 18 - $ref: ethernet-phy.yaml# 19 + - $ref: /schemas/phy/phy-common-props.yaml# 19 20 20 21 properties: 21 22 compatible: ··· 31 30 description: 32 31 Reverse rx polarity of the SERDES. This is the receiving 33 32 side of the lines from the MAC towards the EN881H. 33 + This property is deprecated, for details please refer to 34 + Documentation/devicetree/bindings/phy/phy-common-props.yaml 35 + deprecated: true 34 36 35 37 airoha,pnswap-tx: 36 38 type: boolean 37 39 description: 38 40 Reverse tx polarity of SERDES. This is the transmitting 39 41 side of the lines from EN8811H towards the MAC. 42 + This property is deprecated, for details please refer to 43 + Documentation/devicetree/bindings/phy/phy-common-props.yaml 44 + deprecated: true 40 45 41 46 required: 42 47 - reg ··· 51 44 52 45 examples: 53 46 - | 47 + #include <dt-bindings/phy/phy.h> 48 + 54 49 mdio { 55 50 #address-cells = <1>; 56 51 #size-cells = <0>; ··· 60 51 ethernet-phy@1 { 61 52 compatible = "ethernet-phy-id03a2.a411"; 62 53 reg = <1>; 63 - airoha,pnswap-rx; 54 + rx-polarity = <PHY_POL_INVERT>; 64 55 }; 65 56 };