ARM: dts: gpio-ranges property is now required
authorPhil Elwell <phil@raspberrypi.com>
Mon, 6 Dec 2021 09:22:37 +0000 (09:22 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Dec 2021 03:31:28 +0000 (04:31 +0100)
commite8f24c58d1b69ecf410a673c22f546dc732bb879
tree48dea2031370142889663774f97ea780aa7e5c43
parent54dd5a419f26e994d64754d5f009e36825dec0db
ARM: dts: gpio-ranges property is now required

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")
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20211206092237.4105895-3-phil@raspberrypi.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/bcm2711.dtsi
arch/arm/boot/dts/bcm283x.dtsi