Re: [PATCH 2/2] gpio: spacemit-k1: Add set_config callback support

From: Linus Walleij

Date: Thu Mar 19 2026 - 09:00:33 EST


On Fri, Mar 13, 2026 at 3:05 PM Bartosz Golaszewski <brgl@xxxxxxxxxx> wrote:
> On Thu, Mar 12, 2026 at 9:43 AM Junhui Liu <junhui.liu@xxxxxxxxxxxxx> wrote:
> >
> > Assign gpiochip_generic_config() to the set_config() callback to support
> > pin configuration through the GPIO subsystem. This allows users to
> > configure GPIO pin attributes like pull-up/down when specifying a GPIO
> > line in the Device Tree.
> >
> > Signed-off-by: Junhui Liu <junhui.liu@xxxxxxxxxxxxx>

> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
>
> Linus, please take it through the pinctrl tree.

OK done.

Yours,
Linus Walleij