Commit b604ef9c authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Thierry Reding

ARM: tegra: Use proper IRQ type definitions

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 38333641 ("ARM: tegra: nyan: Use proper
IRQ type definitions").
Signed-off-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 4c9a27a6
...@@ -780,7 +780,7 @@ rt5640: rt5640@1c { ...@@ -780,7 +780,7 @@ rt5640: rt5640@1c {
compatible = "realtek,rt5640"; compatible = "realtek,rt5640";
reg = <0x1c>; reg = <0x1c>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>; interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
realtek,ldo1-en-gpios = realtek,ldo1-en-gpios =
<&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
}; };
......
...@@ -1418,7 +1418,7 @@ rt5639: audio-codec@1c { ...@@ -1418,7 +1418,7 @@ rt5639: audio-codec@1c {
compatible = "realtek,rt5639"; compatible = "realtek,rt5639";
reg = <0x1c>; reg = <0x1c>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>; interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
realtek,ldo1-en-gpios = realtek,ldo1-en-gpios =
<&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>; <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
}; };
......
...@@ -613,7 +613,7 @@ acodec: audio-codec@10 { ...@@ -613,7 +613,7 @@ acodec: audio-codec@10 {
compatible = "maxim,max98090"; compatible = "maxim,max98090";
reg = <0x10>; reg = <0x10>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>; interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
}; };
}; };
...@@ -859,7 +859,7 @@ charger: bq24735@9 { ...@@ -859,7 +859,7 @@ charger: bq24735@9 {
reg = <0x9>; reg = <0x9>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(J, 0) interrupts = <TEGRA_GPIO(J, 0)
GPIO_ACTIVE_HIGH>; IRQ_TYPE_EDGE_BOTH>;
ti,ac-detect-gpios = <&gpio ti,ac-detect-gpios = <&gpio
TEGRA_GPIO(J, 0) TEGRA_GPIO(J, 0)
GPIO_ACTIVE_HIGH>; GPIO_ACTIVE_HIGH>;
......
...@@ -657,7 +657,7 @@ can@1 { ...@@ -657,7 +657,7 @@ can@1 {
reg = <1>; reg = <1>;
clocks = <&clk16m>; clocks = <&clk16m>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_LOW>; interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_RISING>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
}; };
}; };
...@@ -672,7 +672,7 @@ can@0 { ...@@ -672,7 +672,7 @@ can@0 {
reg = <0>; reg = <0>;
clocks = <&clk16m>; clocks = <&clk16m>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>; interrupts = <TEGRA_GPIO(W, 2) IRQ_TYPE_EDGE_RISING>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
}; };
}; };
......
...@@ -1762,7 +1762,7 @@ rt5640: rt5640@1c { ...@@ -1762,7 +1762,7 @@ rt5640: rt5640@1c {
compatible = "realtek,rt5640"; compatible = "realtek,rt5640";
reg = <0x1c>; reg = <0x1c>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(X, 3) GPIO_ACTIVE_HIGH>; interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_EDGE_FALLING>;
realtek,ldo1-en-gpios = realtek,ldo1-en-gpios =
<&gpio TEGRA_GPIO(X, 2) GPIO_ACTIVE_HIGH>; <&gpio TEGRA_GPIO(X, 2) GPIO_ACTIVE_HIGH>;
}; };
......
...@@ -79,7 +79,7 @@ can0: can@0 { ...@@ -79,7 +79,7 @@ can0: can@0 {
reg = <0>; reg = <0>;
clocks = <&clk16m>; clocks = <&clk16m>;
interrupt-parent = <&gpio>; interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>; interrupts = <TEGRA_GPIO(S, 0) IRQ_TYPE_EDGE_RISING>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
}; };
spidev0: spi@1 { spidev0: spi@1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment