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 21a02cf..08ea9cb 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 cce088e..536bd52 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";