ARM: pxa: dts: add gpio-ranges to gpio controller
authorDaniel Mack <daniel@zonque.org>
Mon, 21 May 2018 22:00:43 +0000 (00:00 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 25 May 2018 21:16:18 +0000 (23:16 +0200)
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>
arch/arm/boot/dts/pxa3xx.dtsi

index 982d1a6..a13ac52 100644 (file)
                        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;