Skip to contentSkip to conversation

arm64: dts: ten64: remove redundant interrupt declaration for gpio-keys

PATCH Applied Mathew McBride 2 participants 2 messages Nov 22, 2021 – Nov 23, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: ten64: remove redundant interrupt declaration for gpio-keys

gpio-keys already 'inherits' the interrupts from the controller of the specified GPIO, so having another declaration is redundant. On >=v5.15 this started causing an oops under gpio_keys_probe as the IRQ was already claimed.

Fixes 418962eea358 ("arm64: dts: add device tree for Traverse Ten64 (LS1088A)")
---
 arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts +0 -2
index 3063851c2fb9..d3f03dcbb8c3 100644
@@ -38,7 +38,6 @@ buttons {
 		powerdn {
 			label = "External Power Down";
 			gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
-			interrupts = <&gpio1 17 IRQ_TYPE_EDGE_FALLING>;
 			linux,code = <KEY_POWER>;
 		};
 
@@ -46,7 +45,6 @@ powerdn {
 		admin {
 			label = "ADMIN button";
 			gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
-			interrupts = <&gpio3 8 IRQ_TYPE_EDGE_RISING>;
 			linux,code = <KEY_WPS_BUTTON>;
 		};
 	};
Signature · 1 line
2.30.1
Applied
#1 lore raw
Quoted 8 lines · Mathew McBride

gpio-keys already 'inherits' the interrupts from the controller of the specified GPIO, so having another declaration is redundant. On >=v5.15 this started causing an oops under gpio_keys_probe as the IRQ was already claimed.

Fixes 418962eea358 ("arm64: dts: add device tree for Traverse Ten64 (LS1088A)")

Applied, thanks!