Skip to content
Commit ef81f7d4 authored by Phil Elwell's avatar Phil Elwell Committed by Greg Kroah-Hartman
Browse files

ARM: dts: gpio-ranges property is now required

[ Upstream commit c8013355 ]

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 2ab73c6d ("gpio: Support GPIO controllers without
    pin-ranges")

Link: https://lore.kernel.org/r/20220104170247.956760-1-linus.walleij@linaro.org
Fixes: 2ab73c6d ("gpio: Support GPIO controllers without pin-ranges")
Fixes: 266423e6

 ("pinctrl: bcm2835: Change init order for gpio hogs")
Reported-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Reported-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reported-by: default avatarJan Kiszka <jan.kiszka@web.de>
Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20211206092237.4105895-3-phil@raspberrypi.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f63fa1a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment