diff options
author | Thierry Reding <treding@nvidia.com> | 2022-11-04 15:22:57 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-11-18 02:21:54 +0300 |
commit | 447ee082e33a0b91e2207bf17a81bb65fe51d7a1 (patch) | |
tree | 57e01aafca92810c939832ee8f50a943c209ef67 | |
parent | 9cd84b279e98efd17ce9cf63b301c790b0907a7a (diff) | |
download | linux-447ee082e33a0b91e2207bf17a81bb65fe51d7a1.tar.xz |
ARM: tegra: Remove unused interrupt-parent properties
Some boards are using the interrupt-parent property to point at the GPIO
controller since it handles the interrupts for the GPIO keys. However, a
node needs an interrupts property for interrupt-parent to be meaningful,
which these boards don't have.
gpio-keys in these cases will directly use the GPIO lines specified in
the key definitions and rely on the implicit conversion of those GPIOs
to interrupts by the operating system, so explicit specification of the
interrupts is not required.
Remove the unnecessary interrupt-parent properties.
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra30-pegatron-chagall.dts | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi b/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi index 21a02cfeb22f..08ea9cb32d0e 100644 --- a/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi +++ b/arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi @@ -1509,7 +1509,6 @@ extcon-keys { compatible = "gpio-keys"; - interrupt-parent = <&gpio>; switch-dock-hall-sensor { label = "Lid sensor"; @@ -1542,7 +1541,6 @@ gpio-keys { compatible = "gpio-keys"; - interrupt-parent = <&gpio>; key-power { label = "Power"; diff --git a/arch/arm/boot/dts/tegra30-pegatron-chagall.dts b/arch/arm/boot/dts/tegra30-pegatron-chagall.dts index cce088eaca91..536bd52efab4 100644 --- a/arch/arm/boot/dts/tegra30-pegatron-chagall.dts +++ b/arch/arm/boot/dts/tegra30-pegatron-chagall.dts @@ -2653,7 +2653,6 @@ extcon-keys { compatible = "gpio-keys"; - interrupt-parent = <&gpio>; switch-dock-insert { label = "Chagall Dock"; @@ -2686,7 +2685,6 @@ gpio-keys { compatible = "gpio-keys"; - interrupt-parent = <&gpio>; key-power { label = "Power"; |