[PATCH v2 0/2] w5100: restore GPIO-based link detection

Arthur Crépin Leblond <[email protected]> Tue, 04 Aug 2026 19:40:55 +0200
Newsgroups gmane.linux.drivers.devicetree,gmane.linux.network,gmane.linux.kernel
Message-ID <[email protected]>
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 <[email protected]>
---
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-DpnjX2utV7UsV2N9l4h3zg@public.gmane.org
---
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(-)