Files
linux/drivers
Thomas Blocher f03b3fe7d7 pinctrl: at91: make it work with current gpiolib
[ Upstream commit 752f387faa ]

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 2ab73c6d83 ("gpio: Support GPIO controllers without pin-ranges")
This was discussed in the patches
commit fc328a7d1f ("gpio: Revert regression in sysfs-gpio (gpiolib.c)")
commit 56e337f2cf ("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 56e337f2cf ("Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"")
is found

Signed-off-by: Thomas Blocher <thomas.blocher@ek-dev.de>
Link: https://lore.kernel.org/5b992862-355d-f0de-cd3d-ff99e67a4ff1@ek-dev.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-08 16:20:25 +01:00
..
2023-09-23 10:59:52 +02:00
2024-09-12 11:03:53 +02:00
2024-11-08 16:20:25 +01:00
2023-11-20 10:30:12 +01:00
2024-02-23 08:24:54 +01:00
2024-08-19 05:33:26 +02:00
2023-07-27 08:37:19 +02:00