Re: [PATCH RTF 0/2] gpiolib: of: Handle threecell gpios

Yixun Lan
2025-02-23T03:23:18Z

Hi Linus Walleij:

On 11:28 Tue 18 Feb , Linus Walleij wrote:
> This adds some code in the gpiolib OF core to deal with
> several gpio chip instances per OF node.
>
> The change was prompted by the need of the Spacemit GPIO
> controller.
>
this patch works for me, many thanks
I will send a patch v6 of spacemit's gpio on top of this

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> Linus Walleij (2):
> gpiolib: of: Use local variables
> gpiolib: of: Handle threecell GPIO chips
>
> drivers/gpio/gpiolib-of.c | 126 ++++++++++++++++++++++++++++++++++++--------
> include/linux/gpio/driver.h | 24 ++++++++-
> 2 files changed, 126 insertions(+), 24 deletions(-)
> ---
> base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
> change-id: 20250217-gpio-ranges-fourcell-85888ad219da
>
> Best regards,
> --
> Linus Walleij <linus.walleij@linaro.org>
>

--
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55