[PATCH v4 2/3 net-next] p54spi: convert to devicetree
Linus Walleij
linusw at kernel.org
Tue May 5 03:37:12 PDT 2026
On Thu, Apr 30, 2026 at 10:13 AM Arnd Bergmann <arnd at kernel.org> wrote:
> From: Arnd Bergmann <arnd at 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 <chunkeey at gmail.com>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list