ARM: tegra: Use proper IRQ type definitions
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sat, 10 Feb 2018 01:33:23 +0000 (02:33 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 8 Mar 2018 15:06:41 +0000 (16:06 +0100)
This switches a few interrupt definitions that were using either
GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW as IRQ type, which is invalid.

This is mostly a cosmetic change, that doesn't affect any driver.

Analogous to Paul's commit 38333641b6dd ("ARM: tegra: nyan: Use proper
IRQ type definitions").

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra114-dalmore.dts
arch/arm/boot/dts/tegra124-jetson-tk1.dts
arch/arm/boot/dts/tegra124-venice2.dts
arch/arm/boot/dts/tegra30-apalis.dtsi
arch/arm/boot/dts/tegra30-beaver.dts
arch/arm/boot/dts/tegra30-colibri-eval-v3.dts

index acd6cf5..eafff16 100644 (file)
                        compatible = "realtek,rt5640";
                        reg = <0x1c>;
                        interrupt-parent = <&gpio>;
-                       interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
+                       interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
                        realtek,ldo1-en-gpios =
                                <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
                };
index d112f85..6dbcf84 100644 (file)
                        compatible = "realtek,rt5639";
                        reg = <0x1c>;
                        interrupt-parent = <&gpio>;
-                       interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
+                       interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
                        realtek,ldo1-en-gpios =
                                <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
                };
index 32d9079..c0469ea 100644 (file)
                        compatible = "maxim,max98090";
                        reg = <0x10>;
                        interrupt-parent = <&gpio>;
-                       interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
+                       interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
                };
        };
 
                                        reg = <0x9>;
                                        interrupt-parent = <&gpio>;
                                        interrupts = <TEGRA_GPIO(J, 0)
-                                                       GPIO_ACTIVE_HIGH>;
+                                                       IRQ_TYPE_EDGE_BOTH>;
                                        ti,ac-detect-gpios = <&gpio
                                                        TEGRA_GPIO(J, 0)
                                                        GPIO_ACTIVE_HIGH>;
index faa8cd2..bfb7913 100644 (file)
                        reg = <1>;
                        clocks = <&clk16m>;
                        interrupt-parent = <&gpio>;
-                       interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_LOW>;
+                       interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_RISING>;
                        spi-max-frequency = <10000000>;
                };
        };
                        reg = <0>;
                        clocks = <&clk16m>;
                        interrupt-parent = <&gpio>;
-                       interrupts = <TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
+                       interrupts = <TEGRA_GPIO(W, 2) IRQ_TYPE_EDGE_RISING>;
                        spi-max-frequency = <10000000>;
                };
        };
index 5331a8f..36b85a0 100644 (file)
                        compatible = "realtek,rt5640";
                        reg = <0x1c>;
                        interrupt-parent = <&gpio>;
-                       interrupts = <TEGRA_GPIO(X, 3) GPIO_ACTIVE_HIGH>;
+                       interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_EDGE_FALLING>;
                        realtek,ldo1-en-gpios =
                                <&gpio TEGRA_GPIO(X, 2) GPIO_ACTIVE_HIGH>;
                };
index 3c5fb24..b307feb 100644 (file)
@@ -79,7 +79,7 @@
                        reg = <0>;
                        clocks = <&clk16m>;
                        interrupt-parent = <&gpio>;
-                       interrupts = <TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>;
+                       interrupts = <TEGRA_GPIO(S, 0) IRQ_TYPE_EDGE_RISING>;
                        spi-max-frequency = <10000000>;
                };
                spidev0: spi@1 {