Re: [PATCH] pinctrl: at91: make it work with current gpiolib
From: Linus Walleij
Date: Fri Aug 23 2024 - 11:33:03 EST
On Wed, Jul 31, 2024 at 1:16 AM Thomas Blocher <thomas.blocher@xxxxxxxxx> wrote:
> pinctrl-at91 currently does not support the gpio-groups devicetree
> property and has no pin-range.
> Because of this at91 gpios stopped working since patch
> commit 2ab73c6d8323fa1e ("gpio: Support GPIO controllers without pin-ranges")
> This was discussed in the patches
> commit fc328a7d1fcce263 ("gpio: Revert regression in sysfs-gpio (gpiolib.c)")
> commit 56e337f2cf132632 ("Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"")
>
> As a workaround manually set pin-range via gpiochip_add_pin_range() until
> a) pinctrl-at91 is reworked to support devicetree gpio-groups
> b) another solution as mentioned in
> commit 56e337f2cf132632 ("Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"")
> is found
>
> Signed-off-by: Thomas Blocher <thomas.blocher@xxxxxxxxx>
No reaction from maintainers so patch applied for fixes now.
Yours,
Linus Walleij