ARM: dts: imx28-tx28: fix interrupt flags
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 23 Oct 2017 12:36:26 +0000 (14:36 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 24 Oct 2017 06:23:54 +0000 (14:23 +0800)
Some interrupts properties are given '0' as the flags argument.
Change them to use the appropriate interrupt flags.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx28-tx28.dts

index ea4079d..222368f 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&tx28_pca9554_pins>;
                interrupt-parent = <&gpio3>;
-               interrupts = <28 0>;
+               interrupts = <28 IRQ_TYPE_NONE>;
                gpio-controller;
                #gpio-cells = <2>;
                interrupt-controller;
                pinctrl-names = "default";
                pinctrl-0 = <&tx28_tsc2007_pins>;
                interrupt-parent = <&gpio3>;
-               interrupts = <20 0>;
+               interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
                pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>;
                ti,x-plate-ohms = /bits/ 16 <660>;
        };