[PATCH v2 0/2] w5100: restore GPIO-based link detection
From: Arthur Crépin Leblond
Date: Tue Aug 04 2026 - 14:05:28 EST
Hi,
I am using the W5500 on a Raspberry Pi and rely on the link GPIO for
the carrier detection.
If we could bring it back, I would greatly appreciate.
Thank you!
Arthur Crépin Leblond
Signed-off-by: Arthur Crépin Leblond <arthur@xxxxxxxxxxxxx>
---
Changes in v2:
- Convert device tree binding to YAML
- Use devm_request_threaded_irq instead of request_any_context_irq
- Use devm_gpiod_get_optional instead of gpiod_get_optional
- Call dev_err_probe on gpiod_to_irq failure
- Remove link_irq from priv
- Use a fixed string for the IRQ name
- Remove empty new lines
- Link to v1: https://patch.msgid.link/20260804-wiznet-link-gpio-v1-1-b626fd4f7ccb@xxxxxxxxxxxxx
---
Arthur Crépin Leblond (2):
w5100: restore GPIO-based link detection
dt-bindings: net: convert wiznet,w5x00 to YAML
.../devicetree/bindings/net/wiznet,w5x00.txt | 50 ----------
.../devicetree/bindings/net/wiznet,w5x00.yaml | 103 +++++++++++++++++++++
drivers/net/ethernet/wiznet/w5100.c | 71 ++++++++++++++
3 files changed, 174 insertions(+), 50 deletions(-)