Skip to contentSkip to conversation

ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset

PATCH Applied Tim Harvey 2 participants 2 messages Sep 29, 2022 – Oct 24, 2022

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset

The GW5910 and GW5913 have a user pushbutton that is tied to the Gateworks System Controller GPIO offset 2. Fix the invalid offset of 0.

Fixes 64bf0a0af18d ("ARM: dts: imx6qdl-gw: add Gateworks System Controller support")
---
 arch/arm/boot/dts/imx6qdl-gw5910.dtsi | 2 +-
 arch/arm/boot/dts/imx6qdl-gw5913.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6qdl-gw5910.dtsi +1 -1
index 68e5ab2e27e2..6bb4855d13ce 100644
@@ -29,7 +29,7 @@ gpio-keys {
 
 		user-pb {
 			label = "user_pb";
-			gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
+			gpios = <&gsc_gpio 2 GPIO_ACTIVE_LOW>;
 			linux,code = <BTN_0>;
 		};
 
arch/arm/boot/dts/imx6qdl-gw5913.dtsi +1 -1
index 8e23cec7149e..696427b487f0 100644
@@ -26,7 +26,7 @@ gpio-keys {
 
 		user-pb {
 			label = "user_pb";
-			gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
+			gpios = <&gsc_gpio 2 GPIO_ACTIVE_LOW>;
 			linux,code = <BTN_0>;
 		};
 
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 5 lines · Tim Harvey

The GW5910 and GW5913 have a user pushbutton that is tied to the Gateworks System Controller GPIO offset 2. Fix the invalid offset of 0.

Fixes 64bf0a0af18d ("ARM: dts: imx6qdl-gw: add Gateworks System Controller support")

Applied, thanks!