Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1491102 > unrolled thread

[PATCH] ARM: dts: pxa: fix gpio0 and gpio1 interrupts

Started byRobert Jarzmik <robert.jarzmik@free.fr>
First post2016-09-26 09:30 +0200
Last post2016-10-08 11:40 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: dts: pxa: fix gpio0 and gpio1 interrupts Robert Jarzmik <robert.jarzmik@free.fr> - 2016-09-26 09:30 +0200
    Re: [PATCH] ARM: dts: pxa: fix gpio0 and gpio1 interrupts Robert Jarzmik <robert.jarzmik@free.fr> - 2016-10-08 11:40 +0200

#1491102 — [PATCH] ARM: dts: pxa: fix gpio0 and gpio1 interrupts

FromRobert Jarzmik <robert.jarzmik@free.fr>
Date2016-09-26 09:30 +0200
Subject[PATCH] ARM: dts: pxa: fix gpio0 and gpio1 interrupts
Message-ID<slywp-UK-15@gated-at.bofh.it>
Since gpio-pxa was redesigned to differenciate gpio0, gpio1 and the
gpio-mux interrupt as in the hardware IP, the device-tree description
should be amended so that interrupts from gpio0 and gpio1 can be mapped
to consumers.

This is especially true on lubbock and mainstone devices where gpio0 is
multiplexed on pxa_cplds for ethernet, sa1111, usb udc, and other
devices.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 arch/arm/boot/dts/pxa2xx.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/pxa2xx.dtsi b/arch/arm/boot/dts/pxa2xx.dtsi
index 3ff077ca4400..e4ebcde17837 100644
--- a/arch/arm/boot/dts/pxa2xx.dtsi
+++ b/arch/arm/boot/dts/pxa2xx.dtsi
@@ -54,8 +54,8 @@
 			reg = <0x40e00000 0x10000>;
 			gpio-controller;
 			#gpio-cells = <0x2>;
-			interrupts = <10>;
-			interrupt-names = "gpio_mux";
+			interrupts = <8>, <9>, <10>;
+			interrupt-names = "gpio0", "gpio1", "gpio_mux";
 			interrupt-controller;
 			#interrupt-cells = <0x2>;
 			ranges;
-- 
2.1.4

[toc] | [next] | [standalone]


#1497695

FromRobert Jarzmik <robert.jarzmik@free.fr>
Date2016-10-08 11:40 +0200
Message-ID<spWgO-5hp-5@gated-at.bofh.it>
In reply to#1491102
Robert Jarzmik <robert.jarzmik@free.fr> writes:

> Since gpio-pxa was redesigned to differenciate gpio0, gpio1 and the
> gpio-mux interrupt as in the hardware IP, the device-tree description
> should be amended so that interrupts from gpio0 and gpio1 can be mapped
> to consumers.
>
> This is especially true on lubbock and mainstone devices where gpio0 is
> multiplexed on pxa_cplds for ethernet, sa1111, usb udc, and other
> devices.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Applied to pxa/dt.

Cheers.

-- 
Robert

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web