Re: [PATCH] gpio: regmap: Use generic request/free ops

From: Linus Walleij
Date: Tue Jan 14 2025 - 07:35:25 EST


On Tue, Jan 7, 2025 at 9:17 PM Sander Vanheule <sander@xxxxxxxxxxxxx> wrote:

> Set the gpiochip request and free ops to the generic implementations.
> This way a user can provide a gpio-ranges property defined for a pinmux,
> easing muxing of gpio functions. Provided that the pin controller
> implementents the pinmux op .gpio_request_enable(), pins will
> automatically be muxed to their GPIO function when requested.
>
> Signed-off-by: Sander Vanheule <sander@xxxxxxxxxxxxx>
> ---
> Álvaro has submitted a similar patch today. My implementation's impact
> is more limited, but I hadn't gotten around to submitting it yet.

This is fine, I'll check Álvaros two patches, if his patch is equivalent
I can apply just the pinctrl patch.

Yours,
Linus Walleij