Re: [PATCH v2] mfd: si476x: Modernize GPIO handling

From: Bartosz Golaszewski

Date: Mon Jun 08 2026 - 10:19:40 EST


On Mon, 8 Jun 2026 10:57:34 +0200, Linus Walleij <linusw@xxxxxxxxxx> said:
> The SI476X driver depends on the legacy GPIO API. As it only
> really use a single GPIO for reset, and this can be easily converted
> to use a GPIO descriptor, modernize the driver.
>
> The "reset" GPIO is obtained from a device property, such as a
> device tree ("reset-gpios", which is standard, but this hardware has
> no DT bindings as of now) or a software node for static platforms.
>
> Out-of-tree users can easily adopt to providing a GPIO descriptor
> this way.
>
> Signed-off-by: Linus Walleij <linusw@xxxxxxxxxx>
> ---
> Changes in v2:
> - Rebase on v7.1-rc1
> - Link to v1: https://lore.kernel.org/r/20260327-mfd-si476x-v1-1-93298ca35d6d@xxxxxxxxxx
> ---

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>