mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
9de76f55b9
commit
44f62aa1b1
@@ -16,6 +16,7 @@ description:
|
||||
|
||||
allOf:
|
||||
- $ref: ethernet-phy.yaml#
|
||||
- $ref: /schemas/phy/phy-common-props.yaml#
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
@@ -30,12 +31,18 @@ properties:
|
||||
description:
|
||||
Reverse rx polarity of the SERDES. This is the receiving
|
||||
side of the lines from the MAC towards the EN881H.
|
||||
This property is deprecated, for details please refer to
|
||||
Documentation/devicetree/bindings/phy/phy-common-props.yaml
|
||||
deprecated: true
|
||||
|
||||
airoha,pnswap-tx:
|
||||
type: boolean
|
||||
description:
|
||||
Reverse tx polarity of SERDES. This is the transmitting
|
||||
side of the lines from EN8811H towards the MAC.
|
||||
This property is deprecated, for details please refer to
|
||||
Documentation/devicetree/bindings/phy/phy-common-props.yaml
|
||||
deprecated: true
|
||||
|
||||
required:
|
||||
- reg
|
||||
@@ -44,6 +51,8 @@ unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/phy/phy.h>
|
||||
|
||||
mdio {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -51,6 +60,6 @@ examples:
|
||||
ethernet-phy@1 {
|
||||
compatible = "ethernet-phy-id03a2.a411";
|
||||
reg = <1>;
|
||||
airoha,pnswap-rx;
|
||||
rx-polarity = <PHY_POL_INVERT>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user