Skip to contentSkip to conversation

ARM: shmobile: kzm9g dts: Configure the HOME key as wake-up source

PATCH New Geert Uytterhoeven 2 participants 2 messages May 4, 2015 – May 7, 2015

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

PATCH 1/1 ARM: shmobile: kzm9g dts: Configure the HOME key as wake-up source

Note that from now on any of the pfc8575 gpio keys will wake up the system, as the pfc8575 cannot mask individual interrupts.

---
 arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sh73a0-kzm9g.dts +1 -0
index 022ba505f57339a9..24b4cd24dceb2f9e 100644
@@ -147,6 +147,7 @@
 			gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
 			linux,code = <KEY_HOME>;
 			label = "SW1";
+			gpio-key,wakeup;
 		};
 	};
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: shmobile: kzm9g dts: Configure the HOME key as wake-up source

Quoted 4 lines · Geert Uytterhoeven

Note that from now on any of the pfc8575 gpio keys will wake up the system, as the pfc8575 cannot mask individual interrupts.

Thanks, I have queued this up.

Quoted 19 lines
---
 arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sh73a0-kzm9g.dts +1 -0
index 022ba505f57339a9..24b4cd24dceb2f9e 100644
@@ -147,6 +147,7 @@
 			gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
 			linux,code = <KEY_HOME>;
 			label = "SW1";
+			gpio-key,wakeup;
 		};
 	};
 
Signature · 1 line
1.9.1