Thread (9 messages) flat view 9 messages, 5 authors, 4d ago
COOLING4d

Revision v2 of 2 in this series.

Revisions (2)
  1. v2 current
  2. v3 [diff vs current]

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

From: Arthur Crépin Leblond <hidden>
Date: 2026-08-04 17:58:29
Also in: linux-devicetree, lkml

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 <redacted>
---
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@marmottus.net
---
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(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help