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

Linus Walleij linusw at kernel.org
Thu Mar 19 05:54:01 PDT 2026


On Fri, Mar 13, 2026 at 3:05 PM Bartosz Golaszewski <brgl at kernel.org> wrote:
> On Thu, Mar 12, 2026 at 9:43 AM Junhui Liu <junhui.liu at pigmoral.tech> 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 at pigmoral.tech>

> Acked-by: Bartosz Golaszewski <bartosz.golaszewski at oss.qualcomm.com>
>
> Linus, please take it through the pinctrl tree.

OK done.

Yours,
Linus Walleij



More information about the linux-riscv mailing list