ARM: tegra: Remove unused interrupt-parent properties
authorThierry Reding <treding@nvidia.com>
Fri, 4 Nov 2022 12:22:57 +0000 (13:22 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Nov 2022 23:21:54 +0000 (00:21 +0100)
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>
arch/arm/boot/dts/tegra30-asus-transformer-common.dtsi
arch/arm/boot/dts/tegra30-pegatron-chagall.dts

index 21a02cfeb22f3d633434ef3addfdc081c3c83a4e..08ea9cb32d0ea26065e8fd9b174c3507308d75f3 100644 (file)
 
        extcon-keys {
                compatible = "gpio-keys";
-               interrupt-parent = <&gpio>;
 
                switch-dock-hall-sensor {
                        label = "Lid sensor";
 
        gpio-keys {
                compatible = "gpio-keys";
-               interrupt-parent = <&gpio>;
 
                key-power {
                        label = "Power";
index cce088eaca91ef599d40c8b4dbd37d6484cbf2b3..536bd52efab45cb779ea46ca51167b4eeb9df99b 100644 (file)
 
        extcon-keys {
                compatible = "gpio-keys";
-               interrupt-parent = <&gpio>;
 
                switch-dock-insert {
                        label = "Chagall Dock";
 
        gpio-keys {
                compatible = "gpio-keys";
-               interrupt-parent = <&gpio>;
 
                key-power {
                        label = "Power";