diff mbox

Specify all interrupts for the GPIO controller.

Message ID 1475489412-9758-1-git-send-email-vijaykumar@zilogic.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vijay Kumar Oct. 3, 2016, 10:10 a.m. UTC
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@zilogic.com>
Reviewed-by: Deepak S. <deepak@zilogic.com>
---
 arch/arm/boot/dts/pxa2xx.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Robert Jarzmik Oct. 8, 2016, 9:23 a.m. UTC | #1
Vijay Kumar B <vijaykumar@zilogic.com> 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@zilogic.com>
> Reviewed-by: Deepak S. <deepak@zilogic.com>
> ---
>  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@vger.kernel.org/msg1239445.html

Cheers.
diff mbox

Patch

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;