summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDamien Dejean <dam.dejean@gmail.com>2026-03-19 00:54:59 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-21 05:12:46 +0300
commit330296ea9e158758aa65631f5ec64aa74806b7e2 (patch)
treed2bdad3fec1f0beddfd11367403494f3bc89b70a /include/linux
parentc1887257a81bf62f48178d3b9d31e23520d67b2c (diff)
downloadlinux-330296ea9e158758aa65631f5ec64aa74806b7e2.tar.xz
net: phy: realtek: add RTL8224 pair order support
The RTL8224 has a register to configure a pair swap (from ABCD order to DCBA) providing PCB designers more flexbility when wiring the chip. The swap parameter has to be set correctly for each of the 4 ports before the chip can detect a link. After a reset, this register is (unfortunately) left in a random state, thus it has to be initialized. On most of the devices the bootloader does it once for all and we can rely on the value set, on some other it is not and the kernel has to do it. The MDI pair swap can be set in the device tree using the property enet-phy-pair-order. The property is set to 0 to keep the default order (ABCD), or 1 to reverse the pairs (DCBA). Signed-off-by: Damien Dejean <dam.dejean@gmail.com> Link: https://patch.msgid.link/20260318215502.106528-3-dam.dejean@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions