diff mbox

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

Message ID 1430760969-23368-1-git-send-email-geert+renesas@glider.be (mailing list archive)
State Accepted
Commit cab7562a92edb89668fe548f5d8c8300e7438c62
Headers show

Commit Message

Geert Uytterhoeven May 4, 2015, 5:36 p.m. UTC
Note that from now on any of the pfc8575 gpio keys will wake up the
system, as the pfc8575 cannot mask individual interrupts.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Horman May 7, 2015, 4:22 a.m. UTC | #1
On Mon, May 04, 2015 at 07:36:09PM +0200, Geert Uytterhoeven wrote:
> Note that from now on any of the pfc8575 gpio keys will wake up the
> system, as the pfc8575 cannot mask individual interrupts.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Thanks, I have queued this up.

> ---
>  arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
> index 022ba505f57339a9..24b4cd24dceb2f9e 100644
> --- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
> +++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
> @@ -147,6 +147,7 @@
>  			gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
>  			linux,code = <KEY_HOME>;
>  			label = "SW1";
> +			gpio-key,wakeup;
>  		};
>  	};
>  
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
index 022ba505f57339a9..24b4cd24dceb2f9e 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
@@ -147,6 +147,7 @@ 
 			gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>;
 			linux,code = <KEY_HOME>;
 			label = "SW1";
+			gpio-key,wakeup;
 		};
 	};