summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDamien Dejean <dam.dejean@gmail.com>2026-03-19 00:55:01 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-21 05:12:46 +0300
commitbeed9c0e9b53c98bc66d28d46fbe38c347e9aa74 (patch)
treec0f3a5d9180522dadd58026b0a441d67ac8ec3cc /include/linux
parent58ffb5910f32e5b387d4af31ee21851c40eb31b5 (diff)
downloadlinux-beed9c0e9b53c98bc66d28d46fbe38c347e9aa74.tar.xz
net: phy: realtek: add RTL8224 polarity support
The RTL8224 has a register to configure the polarity of every pair of each port. It provides device designers more flexbility when wiring the chip. Unfortunately, the register is left in an unknown state after a reset. Thus on devices where the bootloader don't initialize it, the driver has to do it to detect and use a link. The MDI polarity swap can be set in the device tree using the property enet-phy-pair-polarity. The u32 value is a bitfield where bit[0..3] control the polarity of pairs A..D. Signed-off-by: Damien Dejean <dam.dejean@gmail.com> Link: https://patch.msgid.link/20260318215502.106528-5-dam.dejean@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions