Skip to contentSkip to conversation

ARM: dts: imx28-apf28dev: fix user button polarity

PATCH New Gwenhael Goavec-Merou 2 participants 4 messages Mar 11, 2015 – Mar 23, 2015

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

PATCH 1/2 ARM: dts: imx28-apf28dev: fix user button polarity

---
 arch/arm/boot/dts/imx28-apf28dev.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx28-apf28dev.dts +1 -1
index 81e5f75..1e72b0d 100644
@@ -223,7 +223,7 @@
 
 		user-button {
 			label = "User button";
-			gpios = <&gpio0 17 0>;
+			gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
 			linux,code = <0x100>;
 		};
 	};
Signature · 1 line
2.0.5
#1 lore raw

PATCH 1/2 ARM: dts: imx28-apf28dev: fix user button polarity

ping?

Quoted 27 lines · On Wed, 11 Mar 2015 16:06:00 +0100 Gwenhael Goavec-Merou…
---
 arch/arm/boot/dts/imx28-apf28dev.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx28-apf28dev.dts +1 -1
index 81e5f75..1e72b0d 100644
@@ -223,7 +223,7 @@
 
 		user-button {
 			label = "User button";
-			gpios = <&gpio0 17 0>;
+			gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
 			linux,code = <0x100>;
 		};
 	};
Signature · 7 lines
2.0.5


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#2 lore raw

PATCH 1/2 ARM: dts: imx28-apf28dev: fix user button polarity

Quoted 1 line · gwenhael.goavec

ping?

I applied both patches last week, but forgot replying to let you know. Sorry.

Shawn

#3 lore raw

PATCH 2/2 ARM: dts: imx28-apf28dev: add wakeup function to user button

In reply to Gwenhael Goavec-Merou
---
 arch/arm/boot/dts/imx28-apf28dev.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx28-apf28dev.dts +1 -0
index 1e72b0d..7ac4f1a 100644
@@ -225,6 +225,7 @@
 			label = "User button";
 			gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
 			linux,code = <0x100>;
+			gpio-key,wakeup;
 		};
 	};
 };
Signature · 1 line
2.0.5