]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: net: ethernet-phy: add property enet-phy-pair-polarity
authorDamien Dejean <dam.dejean@gmail.com>
Wed, 18 Mar 2026 21:55:00 +0000 (22:55 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Mar 2026 02:12:46 +0000 (19:12 -0700)
commit58ffb5910f32e5b387d4af31ee21851c40eb31b5
treea60a04a568508c358b3e25eb023898f4fe9fb8f7
parent330296ea9e158758aa65631f5ec64aa74806b7e2
dt-bindings: net: ethernet-phy: add property enet-phy-pair-polarity

Add the property enet-phy-pair-polarity to describe the polarity of the
PHY pairs. To ease PCB designs some manufacturers allow to wire the
pairs with a reverse polarity and provide a way to configure it.

The property 'enet-phy-pair-polarity' sets the polarity of each pair.
Bit 0 to 3 configure the polarity or pairs A to D, if set to 1 the
polarity is reversed for this pair.

Signed-off-by: Damien Dejean <dam.dejean@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260318215502.106528-4-dam.dejean@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/ethernet-phy.yaml