mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 06:01:53 +02:00
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] commit2ab73c6d83("gpio: Support GPIO controllers without pin-ranges") Fixes:2ab73c6d83("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>
This commit is contained in:
parent
54dd5a419f
commit
e8f24c58d1
|
|
@ -576,6 +576,8 @@ &gpio {
|
|||
<GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
gpio-ranges = <&gpio 0 0 58>;
|
||||
|
||||
gpclk0_gpio49: gpclk0_gpio49 {
|
||||
pin-gpclk {
|
||||
pins = "gpio49";
|
||||
|
|
|
|||
|
|
@ -126,6 +126,8 @@ gpio: gpio@7e200000 {
|
|||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
gpio-ranges = <&gpio 0 0 54>;
|
||||
|
||||
/* Defines common pin muxing groups
|
||||
*
|
||||
* While each pin can have its mux selected
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user