Devicetree
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] Support unaligned RTL8224 PHY packages
@ 2026-10-05 20:15 Oskari Lemmela
  2026-10-05 20:15 ` [PATCH net-next v2 1/2] dt-bindings: net: realtek,rtl82xx: document RTL8224 packages Oskari Lemmela
  2026-10-05 20:15 ` [PATCH net-next v2 2/2] net: phy: realtek: support unaligned RTL8224 PHY packages Oskari Lemmela
  0 siblings, 2 replies; 8+ messages in thread
From: Oskari Lemmela @ 2026-10-05 20:15 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Heiner Kallweit, Daniel Golle, Javen Xu, Vladimir Oltean,
	Aleksander Jan Bajkowski, Oleksij Rempel, Issam Hamdi, Chukun Pan,
	Jan Hoffmann, Florian Fainelli
  Cc: Russell King, Andrew Lunn, netdev, devicetree, linux-kernel,
	Manuel Stocker, Oskari Lemmela

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/

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-10-08 18:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05 20:15 [PATCH net-next v2 0/2] Support unaligned RTL8224 PHY packages Oskari Lemmela
2026-10-05 20:15 ` [PATCH net-next v2 1/2] dt-bindings: net: realtek,rtl82xx: document RTL8224 packages Oskari Lemmela
2026-10-06 20:23   ` sashiko-bot
2026-10-08  8:18   ` netdev-bot+sashiko
2026-10-05 20:15 ` [PATCH net-next v2 2/2] net: phy: realtek: support unaligned RTL8224 PHY packages Oskari Lemmela
2026-10-08  8:18   ` netdev-bot+sashiko
2026-10-08 17:12     ` Oskari Lemmelä
2026-10-08 18:02       ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox