[PATCH] ARM: dts: gpio-ranges property is now required

Stefan Wahren stefan.wahren at i2se.com
Sat Jan 8 13:04:06 PST 2022


Hi Olof,

Am 04.01.22 um 18:02 schrieb Linus Walleij:
> From: Phil Elwell <phil at raspberrypi.com>
>
> Since [1], added in 5.7, the absence of a gpio-ranges property has
> prevented GPIOs from being restored to inputs when released.
> Add those properties for BCM283x and BCM2711 devices.
>
> [1] commit 2ab73c6d8323 ("gpio: Support GPIO controllers without
>     pin-ranges")
>
> Fixes: 2ab73c6d8323 ("gpio: Support GPIO controllers without pin-ranges")
> Fixes: 266423e60ea1 ("pinctrl: bcm2835: Change init order for gpio hogs")
> Reported-by: Stefan Wahren <stefan.wahren at i2se.com>
> Reported-by: Florian Fainelli <f.fainelli at gmail.com>
> Reported-by: Jan Kiszka <jan.kiszka at web.de>
> Signed-off-by: Phil Elwell <phil at raspberrypi.com>
> Acked-by: Florian Fainelli <f.fainelli at gmail.com>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
> Link: https://lore.kernel.org/r/20211206092237.4105895-3-phil@raspberrypi.com
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> Hi SoC maintainers, please apply this directly for fixes, the
> missing patch is wreacking havoc in the RPi world.

this patch has been send to soc at kernel.org in order to fix a regression
[1] caused by "pinctrl: bcm2835: Change init order for gpio hog". Would
be great to get it into 5.16

[1] -
https://lore.kernel.org/all/ec60b52b-7a59-266d-9608-11c0da9053a6@i2se.com/





More information about the linux-arm-kernel mailing list