]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: gpio-ranges property is now required
authorPhil Elwell <phil@raspberrypi.com>
Tue, 4 Jan 2022 17:02:47 +0000 (18:02 +0100)
committerOlof Johansson <olof@lixom.net>
Sat, 8 Jan 2022 21:28:28 +0000 (13:28 -0800)
commit4687c1c29f02897dff097d1b0b5eac617b2b028e
treec1fe1d010180a468017f030a016c7e9f7a0d762c
parent848ecbea8b4c65e2a04e6fdc691b11ad4a94d1c5
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 7e6393e4f9f0 ("gpio: Support GPIO controllers without
    pin-ranges")

Link: https://lore.kernel.org/r/20220104170247.956760-1-linus.walleij@linaro.org
Fixes: 7e6393e4f9f0 ("gpio: Support GPIO controllers without pin-ranges")
Fixes: 312d32a815ce ("pinctrl: bcm2835: Change init order for gpio hogs")
Reported-by: Stefan Wahren <stefan.wahren@i2se.com>
Reported-by: Florian Fainelli <f.fainelli@gmail.com>
Reported-by: Jan Kiszka <jan.kiszka@web.de>
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>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/bcm2711.dtsi
arch/arm/boot/dts/bcm283x.dtsi