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

"Arnd Bergmann" <[email protected]>
Newsgroups org.kernel.vger.netdev,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, Aug 4, 2026, at 19:40, Arthur Crépin Leblond wrote:
> Commit dacf281771a9 ("w5100: remove unused gpio link detection")
> dropped the link_gpio/link_irq handling on the grounds that no
> devicetree user passed a "link" GPIO at the time.
>
> This isn't a plain revert of that removal. The link GPIO is now
> bound from the device tree link-gpios property using the resource
> managed GPIO descriptors.
>
> The link IRQ is also requested with devm_request_threaded_irq()
> instead of request_any_context_irq(), so it is released automatically
> on driver removal or probe failure.
>
> Signed-off-by: Arthur Crépin Leblond <[email protected]>

Reviewed-by: Arnd Bergmann <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.