]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx28-tx28: fix interrupt flags
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 23 Oct 2017 12:25:55 +0000 (14:25 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 23 Oct 2017 12:25:55 +0000 (14:25 +0200)
Some interrupts properties are given '0' as the flags argument.
Change them to use the appropriate interrupt flags.

arch/arm/boot/dts/imx28-tx28.dts

index 211e67d581cff438f778bc86a0892ae7cc9cfa1b..52d99b49f8af8579b5b281881c8ac534b8b9e70d 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>;
        };