# Re: \[PATCH 2/3\] \[v5 net-next\] p54spi: convert to devicetree

- From: Bartosz Golaszewski \<brgl@kernel.org\>
- Date: 2026-05-11 11:31:03 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/05/8995091
- Thread: https://ratatoskr.run/netdev/2026/05/8035834/t.md

```text
On Thu, 7 May 2026 23:24:50 +0200, Arnd Bergmann [ref] said:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The Prism54 SPI driver hardcodes GPIO numbers and expects users to
> pass them as module parameters, apparently a relic from its life as a
> staging driver. This works because there is only one user, the Nokia
> N8x0 tablet.
>
> Convert this to the gpio descriptor interface and DT based probing
> to improve this and simplify the code at the same time.
>
> Acked-by: Christian Lamparter <redacted>
> Reviewed-by: Linus Walleij <linusw@kernel.org>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---

Reviewed-by: Bartosz Golaszewski <redacted>
```
