mirror of https://gitee.com/openkylin/linux.git
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 38333641b6
("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>
This commit is contained in:
parent
4c9a27a6c6
commit
b604ef9ceb
|
@ -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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
|
|
Loading…
Reference in New Issue