Re: [PATCH] Specify all interrupts for the GPIO controller.

From: Robert Jarzmik
Date: Sat Oct 08 2016 - 05:28:21 EST


Vijay Kumar B <vijaykumar@xxxxxxxxxxx> writes:

> The PXA GPIO controller has 3 interrupt outputs, this needs to be
> indicated in the DTS file. Without this mainstone's CPLD interrupt 0
> will not be raised to the processor.
>
> Signed-off-by: Vijay Kumar B. <vijaykumar@xxxxxxxxxxx>
> Reviewed-by: Deepak S. <deepak@xxxxxxxxxxx>
> ---
> 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 5e5af07..9ca2e5b 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;

Hi Vijay,

A patch was already submitted in september for this in there :
https://mail-archive.com/linux-kernel@xxxxxxxxxxxxxxx/msg1239445.html

Cheers.

--
Robert