[PATCH net-next v7 0/3] w5100: restore GPIO-based link detection

From: Arthur Crepin Leblond

Date: Fri Sep 04 2026 - 09:27:59 EST


Hi,

In the previous version of the w5100 driver, the LINKLED pin could be
wired to a GPIO to detect the link status changes via an interrupt.
This only works on w5500 as it is the only one documenting its LINKLED
pin to hold the link status (on w5100 the LINKLED pin is changing with
RX/TX activity).

This series of patches is bringing back the link status detection on
w5500 using the Link Status bit of the PHY Configuration Register.
Additionally, the LINKLED pin can also be wired to detect link status
changes and read the register in the interrupt handler.

Arthur Crepin Leblond

Signed-off-by: Arthur Crepin Leblond <arthur@xxxxxxxxxxxxx>
---
- Link to v6: https://patch.msgid.link/20260831-wiznet-link-gpio-v6-0-abee6c5c966e@xxxxxxxxxxxxx
- Link to v5: https://patch.msgid.link/20260813-wiznet-link-gpio-v5-0-ac8046f24413@xxxxxxxxxxxxx
- Link to v4: https://patch.msgid.link/20260811-wiznet-link-gpio-v4-0-4d5f7da885a8@xxxxxxxxxxxxx
- Link to v3: https://patch.msgid.link/20260806-wiznet-link-gpio-v3-0-532d4a143805@xxxxxxxxxxxxx
- Link to v2: https://patch.msgid.link/20260804-wiznet-link-gpio-v2-0-3b1d0c870f35@xxxxxxxxxxxxx
- Link to v1: https://patch.msgid.link/20260804-wiznet-link-gpio-v1-1-b626fd4f7ccb@xxxxxxxxxxxxx
---
Arthur Crepin Leblond (3):
dt-bindings: net: wiznet,w5100: convert to DT schema
dt-bindings: net: wiznet,w5100: add link status interrupt
w5100: detect carrier state using link status bit and optional interrupt

.../devicetree/bindings/net/wiznet,w5100.yaml | 71 ++++++++++++
.../devicetree/bindings/net/wiznet,w5x00.txt | 50 ---------
drivers/net/ethernet/wiznet/w5100.c | 123 +++++++++++++++++++--
3 files changed, 183 insertions(+), 61 deletions(-)