[PATCH] pinctrl: at91: make it work with current gpiolib

Linus Walleij linus.walleij at linaro.org
Fri Aug 23 08:32:37 PDT 2024


On Wed, Jul 31, 2024 at 1:16 AM Thomas Blocher <thomas.blocher at ek-dev.de> 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 at ek-dev.de>

No reaction from maintainers so patch applied for fixes now.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list