devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: pxa: dts: add gpio-ranges to gpio controller
@ 2018-05-21 22:00 Daniel Mack
  2018-05-21 22:00 ` [PATCH 2/2] ARM: pxa: dts: add pin definitions for extended GPIOs Daniel Mack
  2018-05-22 19:19 ` [PATCH 1/2] ARM: pxa: dts: add gpio-ranges to gpio controller Robert Jarzmik
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Mack @ 2018-05-21 22:00 UTC (permalink / raw)
  To: robert.jarzmik, haojian.zhuang
  Cc: devicetree, robh+dt, Daniel Mack, linux-arm-kernel

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>
---
 arch/arm/boot/dts/pxa3xx.dtsi | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-22 19:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-21 22:00 [PATCH 1/2] ARM: pxa: dts: add gpio-ranges to gpio controller Daniel Mack
2018-05-21 22:00 ` [PATCH 2/2] ARM: pxa: dts: add pin definitions for extended GPIOs Daniel Mack
2018-05-22 19:34   ` Robert Jarzmik
2018-05-22 19:46     ` Daniel Mack
2018-05-22 19:19 ` [PATCH 1/2] ARM: pxa: dts: add gpio-ranges to gpio controller Robert Jarzmik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).