]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: imx8: use defines for interrupts
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 5 Jun 2024 15:30:20 +0000 (17:30 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 17 Jun 2024 01:18:26 +0000 (09:18 +0800)
Replace hard-coded interrupt flags with standard defines for
readability.  No changes in resulting DTBs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
arch/arm64/boot/dts/freescale/imx8qm-mek.dts

index 90d1901df2b1d1f80c400bb3e7d974fc61b42ed2..930e14fec42370e1be2c05f60c044bc984214ea4 100644 (file)
                pinctrl-0 = <&pinctrl_typec1>;
                reg = <0x50>;
                interrupt-parent = <&gpio2>;
-               interrupts = <11 8>;
+               interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
                status = "okay";
 
                typec1_con: connector {
index c024be33fbccea3b98e0593eb688d0868167276c..6d002fc1b2bec5ec4021f08a47172367115e9cf1 100644 (file)
                compatible = "isil,isl29023";
                reg = <0x44>;
                interrupt-parent = <&lsio_gpio4>;
-               interrupts = <11 2>;
+               interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
        };
 
        pressure-sensor@60 {