[PATCH v2 0/2] w5100: restore GPIO-based link detection
Arthur Crépin Leblond <[email protected]>
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.linux-devicetree,org.kernel.vger.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/[email protected] --- 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(-)