diff options
author | Daniel Mack <daniel@zonque.org> | 2018-05-22 00:00:43 +0200 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2018-05-25 23:16:18 +0200 |
commit | e41f76830dbd5ee3443e5905c4fd3b543672b33e (patch) | |
tree | ddc296fa870a7dbfd322750d413f296f1d388276 | |
parent | Linux 4.17-rc1 (diff) | |
download | linux-e41f76830dbd5ee3443e5905c4fd3b543672b33e.tar.xz linux-e41f76830dbd5ee3443e5905c4fd3b543672b33e.zip |
ARM: pxa: dts: add gpio-ranges to gpio controller
The PXA GPIO driver calls out to the pinctrl driver for claiming pins
unless the config has CONFIG_PINCTRL unset. IOW, if a pinctrl driver is
active, it must be visible to the GPIO driver.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
-rw-r--r-- | arch/arm/boot/dts/pxa3xx.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi index 982d1a62661d..a13ac52e4fd2 100644 --- a/arch/arm/boot/dts/pxa3xx.dtsi +++ b/arch/arm/boot/dts/pxa3xx.dtsi @@ -148,6 +148,7 @@ compatible = "intel,pxa3xx-gpio"; reg = <0x40e00000 0x10000>; clocks = <&clks CLK_GPIO>; + gpio-ranges = <&pinctrl 0 0 128>; interrupt-names = "gpio0", "gpio1", "gpio_mux"; interrupts = <8 9 10>; gpio-controller; |