Skip to content

Commit

Permalink
ARM: pxa: dts: add gpio-ranges to gpio controller
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Mack authored and Robert Jarzmik committed May 25, 2018
1 parent 60cc43f commit e41f768
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/pxa3xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e41f768

Please sign in to comment.