OSDN Git Service

ARM: dts: vf610-zii-scu4-aib: Configure IRQ line for GPIO expander
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Sat, 24 Aug 2019 00:27:03 +0000 (17:27 -0700)
committerShawn Guo <shawnguo@kernel.org>
Sun, 25 Aug 2019 07:15:17 +0000 (09:15 +0200)
Configure IRQ line for SX1503 GPIO expander. We already have
appropriate pinmux entry and all that is missing is "interrupt-parent"
and "interrupts" properties. Add them.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Cory Tusar <cory.tusar@zii.aero>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf610-zii-scu4-aib.dts

index 666ec27..dc8a5f3 100644 (file)
                #gpio-cells = <2>;
                reg = <0x20>;
                gpio-controller;
+               interrupt-parent = <&gpio1>;
+               interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
        };
 
        lm75@4e {