Re: [PATCH 2/2] gpio: spacemit-k1: Add set_config callback support
From: Anand Moon
Date: Sat Mar 14 2026 - 04:21:23 EST
Hi Junhui,
On Thu, 12 Mar 2026 at 14:14, 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>
> ---
Reviewed-by: Anand Moon <linux.amoon@xxxxxxxxx>
Thanks
-Anand