[PATCH net-next v2 0/2] Support unaligned RTL8224 PHY packages
DORMANTno replies
From: Oskari Lemmela <hidden>
Date: 2026-10-05 20:23:41
Also in:
linux-devicetree, lkml
RTL8224 packages contain four PHYs at consecutive MDIO addresses, but their first address need not be a multiple of four. The Hasivo S1100WP-8GT-2S+ uses two such packages at addresses 1-4 and 5-8. This series documents how to describe RTL8224 packages using the existing ethernet-phy-package binding and extends the driver to use the explicit package base when provided. The package-relative port index selects the MDI pair order and polarity fields. Existing configurations without a package node retain the aligned-address assumption. The package-addressing change was tested on a Hasivo S1100WP-8GT-2S+ using an OpenWrt kernel. The rebased net-next version has not been runtime-tested. Changes since v1: - Target net-next, as suggested by Andrew Lunn. - Remove the Fixes tag and describe the change as extending support rather than fixing a regression. - Rebased on net-next/main - Add a separate DT binding documentation patch with an unaligned four-port package example, placed before the driver patch. The driver behavior is unchanged from v1; the rebase only updates patch context. v1: https://lore.kernel.org/netdev/20261004204637.721148-1-oskari@lemmela.net/ (local) Manuel Stocker (1): net: phy: realtek: support unaligned RTL8224 PHY packages Oskari Lemmela (1): dt-bindings: net: realtek,rtl82xx: document RTL8224 packages .../bindings/net/realtek,rtl82xx.yaml | 52 +++++++++++++++++-- drivers/net/phy/realtek/realtek_main.c | 49 +++++++++++++++-- 2 files changed, 93 insertions(+), 8 deletions(-) base-commit: 8b4e7209c842d8cb9516f1f5ef0a88aa2d8831a6 -- 2.55.0