From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 10/19] ARM: dts: at91: replace gpio-key,wakeup with wakeup-source property
Date: Wed, 21 Oct 2015 12:21:33 +0200 [thread overview]
Message-ID: <5627672D.60108@atmel.com> (raw)
In-Reply-To: <1445422216-29375-11-git-send-email-sudeep.holla@arm.com>
Le 21/10/2015 12:10, Sudeep Holla a ?crit :
> Though the keyboard driver for GPIO buttons(gpio-keys) will continue to
> check for/support the legacy "gpio-key,wakeup" boolean property to
> enable gpio buttons as wakeup source, "wakeup-source" is the new
> standard binding.
>
> This patch replaces the legacy "gpio-key,wakeup" with the unified
> "wakeup-source" property in order to avoid any futher copy-paste
> duplication.
>
> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
I'm not against this if the whole series goes further.
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
I suspect that we would need to take this patch with us on the AT91
branches that would go to arm-soc. Is it the intentions?
Thanks, bye.
> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
> ---
> arch/arm/boot/dts/animeo_ip.dts | 6 +++---
> arch/arm/boot/dts/at91-foxg20.dts | 2 +-
> arch/arm/boot/dts/at91-kizbox.dts | 4 ++--
> arch/arm/boot/dts/at91-kizbox2.dts | 6 +++---
> arch/arm/boot/dts/at91-kizboxmini.dts | 4 ++--
> arch/arm/boot/dts/at91-qil_a9260.dts | 2 +-
> arch/arm/boot/dts/at91-sama5d3_xplained.dts | 2 +-
> arch/arm/boot/dts/at91-sama5d4_xplained.dts | 2 +-
> arch/arm/boot/dts/at91-sama5d4ek.dts | 2 +-
> arch/arm/boot/dts/at91sam9261ek.dts | 10 +++++-----
> arch/arm/boot/dts/at91sam9263ek.dts | 4 ++--
> arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 4 ++--
> arch/arm/boot/dts/at91sam9m10g45ek.dts | 4 ++--
> arch/arm/boot/dts/at91sam9n12ek.dts | 2 +-
> arch/arm/boot/dts/at91sam9rlek.dts | 4 ++--
> arch/arm/boot/dts/sama5d35ek.dts | 2 +-
> arch/arm/boot/dts/usb_a9260_common.dtsi | 2 +-
> arch/arm/boot/dts/usb_a9263.dts | 2 +-
> 18 files changed, 32 insertions(+), 32 deletions(-)
>
> diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts
> index 4e0ad3b82796..0962f2fa3f6e 100644
> --- a/arch/arm/boot/dts/animeo_ip.dts
> +++ b/arch/arm/boot/dts/animeo_ip.dts
> @@ -155,21 +155,21 @@
> label = "keyswitch_in";
> gpios = <&pioB 1 GPIO_ACTIVE_HIGH>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> error_in {
> label = "error_in";
> gpios = <&pioB 2 GPIO_ACTIVE_HIGH>;
> linux,code = <29>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> btn {
> label = "btn";
> gpios = <&pioC 23 GPIO_ACTIVE_HIGH>;
> linux,code = <31>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/at91-foxg20.dts b/arch/arm/boot/dts/at91-foxg20.dts
> index f89598af4c2b..6bf873e7d96c 100644
> --- a/arch/arm/boot/dts/at91-foxg20.dts
> +++ b/arch/arm/boot/dts/at91-foxg20.dts
> @@ -159,7 +159,7 @@
> label = "Button";
> gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
> linux,code = <0x103>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot/dts/at91-kizbox.dts
> index bf18ece0c027..8afe35f64034 100644
> --- a/arch/arm/boot/dts/at91-kizbox.dts
> +++ b/arch/arm/boot/dts/at91-kizbox.dts
> @@ -94,14 +94,14 @@
> label = "PB_RST";
> gpios = <&pioB 30 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> user {
> label = "PB_USER";
> gpios = <&pioB 31 GPIO_ACTIVE_HIGH>;
> linux,code = <0x101>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-kizbox2.dts b/arch/arm/boot/dts/at91-kizbox2.dts
> index f0b1563cb3f1..50a14568f094 100644
> --- a/arch/arm/boot/dts/at91-kizbox2.dts
> +++ b/arch/arm/boot/dts/at91-kizbox2.dts
> @@ -171,21 +171,21 @@
> label = "PB_PROG";
> gpios = <&pioE 27 GPIO_ACTIVE_LOW>;
> linux,code = <0x102>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> reset {
> label = "PB_RST";
> gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> user {
> label = "PB_USER";
> gpios = <&pioE 31 GPIO_ACTIVE_HIGH>;
> linux,code = <0x101>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-kizboxmini.dts b/arch/arm/boot/dts/at91-kizboxmini.dts
> index 9f72b4932634..9682d105d4d8 100644
> --- a/arch/arm/boot/dts/at91-kizboxmini.dts
> +++ b/arch/arm/boot/dts/at91-kizboxmini.dts
> @@ -98,14 +98,14 @@
> label = "PB_PROG";
> gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
> linux,code = <0x102>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> reset {
> label = "PB_RST";
> gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-qil_a9260.dts b/arch/arm/boot/dts/at91-qil_a9260.dts
> index a9aef53ab764..4f2eebf4a560 100644
> --- a/arch/arm/boot/dts/at91-qil_a9260.dts
> +++ b/arch/arm/boot/dts/at91-qil_a9260.dts
> @@ -183,7 +183,7 @@
> label = "user_pb";
> gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index d81474e0bcd6..b0dd58f448fe 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -315,7 +315,7 @@
> label = "PB_USER";
> gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
> linux,code = <0x104>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> index 07f46963335b..c34a23b82e1a 100644
> --- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> @@ -235,7 +235,7 @@
> label = "pb_user1";
> gpios = <&pioE 8 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts
> index 49a59c7e4a5d..d4cf2cf119e4 100644
> --- a/arch/arm/boot/dts/at91-sama5d4ek.dts
> +++ b/arch/arm/boot/dts/at91-sama5d4ek.dts
> @@ -277,7 +277,7 @@
> label = "pb_user1";
> gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts
> index 2e92ac020f23..facce0ef840b 100644
> --- a/arch/arm/boot/dts/at91sam9261ek.dts
> +++ b/arch/arm/boot/dts/at91sam9261ek.dts
> @@ -149,7 +149,7 @@
> ti,debounce-tol = /bits/ 16 <65535>;
> ti,debounce-max = /bits/ 16 <1>;
>
> - linux,wakeup;
> + wakeup-source;
> };
> };
>
> @@ -193,28 +193,28 @@
> label = "button_0";
> gpios = <&pioA 27 GPIO_ACTIVE_LOW>;
> linux,code = <256>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> button_1 {
> label = "button_1";
> gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
> linux,code = <257>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> button_2 {
> label = "button_2";
> gpios = <&pioA 25 GPIO_ACTIVE_LOW>;
> linux,code = <258>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> button_3 {
> label = "button_3";
> gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
> linux,code = <259>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts/at91sam9263ek.dts
> index 23381276ffb8..241de040681f 100644
> --- a/arch/arm/boot/dts/at91sam9263ek.dts
> +++ b/arch/arm/boot/dts/at91sam9263ek.dts
> @@ -213,14 +213,14 @@
> label = "left_click";
> gpios = <&pioC 5 GPIO_ACTIVE_LOW>;
> linux,code = <272>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> right_click {
> label = "right_click";
> gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
> linux,code = <273>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
> index 57548a2c5a1e..e45c744d3cc8 100644
> --- a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
> @@ -206,14 +206,14 @@
> label = "Button 3";
> gpios = <&pioA 30 GPIO_ACTIVE_LOW>;
> linux,code = <0x103>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> btn4 {
> label = "Button 4";
> gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
> linux,code = <0x104>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> index d1ae60a855d4..a251a193d208 100644
> --- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
> +++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> @@ -321,14 +321,14 @@
> label = "left_click";
> gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
> linux,code = <272>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> right_click {
> label = "right_click";
> gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
> linux,code = <273>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> left {
> diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
> index efa75064d38a..a00cd1ded131 100644
> --- a/arch/arm/boot/dts/at91sam9n12ek.dts
> +++ b/arch/arm/boot/dts/at91sam9n12ek.dts
> @@ -223,7 +223,7 @@
> label = "Enter";
> gpios = <&pioB 3 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts
> index 558c9f220bed..8a847c2d8e42 100644
> --- a/arch/arm/boot/dts/at91sam9rlek.dts
> +++ b/arch/arm/boot/dts/at91sam9rlek.dts
> @@ -225,14 +225,14 @@
> label = "right_click";
> gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
> linux,code = <273>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> left_click {
> label = "left_click";
> gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
> linux,code = <272>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/sama5d35ek.dts b/arch/arm/boot/dts/sama5d35ek.dts
> index d9a9aca1ccfd..e812f5c1bf70 100644
> --- a/arch/arm/boot/dts/sama5d35ek.dts
> +++ b/arch/arm/boot/dts/sama5d35ek.dts
> @@ -49,7 +49,7 @@
> label = "pb_user1";
> gpios = <&pioE 27 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/usb_a9260_common.dtsi b/arch/arm/boot/dts/usb_a9260_common.dtsi
> index 12edafefd44a..9beea8976584 100644
> --- a/arch/arm/boot/dts/usb_a9260_common.dtsi
> +++ b/arch/arm/boot/dts/usb_a9260_common.dtsi
> @@ -115,7 +115,7 @@
> label = "user_pb";
> gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/usb_a9263.dts b/arch/arm/boot/dts/usb_a9263.dts
> index 68c0de36c339..8cc6edb29694 100644
> --- a/arch/arm/boot/dts/usb_a9263.dts
> +++ b/arch/arm/boot/dts/usb_a9263.dts
> @@ -143,7 +143,7 @@
> label = "user_pb";
> gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
>
--
Nicolas Ferre
WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
To: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Alexandre Belloni
<alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Jean-Christophe Plagniol-Villard
<plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH 10/19] ARM: dts: at91: replace gpio-key,wakeup with wakeup-source property
Date: Wed, 21 Oct 2015 12:21:33 +0200 [thread overview]
Message-ID: <5627672D.60108@atmel.com> (raw)
In-Reply-To: <1445422216-29375-11-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
Le 21/10/2015 12:10, Sudeep Holla a écrit :
> Though the keyboard driver for GPIO buttons(gpio-keys) will continue to
> check for/support the legacy "gpio-key,wakeup" boolean property to
> enable gpio buttons as wakeup source, "wakeup-source" is the new
> standard binding.
>
> This patch replaces the legacy "gpio-key,wakeup" with the unified
> "wakeup-source" property in order to avoid any futher copy-paste
> duplication.
>
> Cc: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
I'm not against this if the whole series goes further.
Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
I suspect that we would need to take this patch with us on the AT91
branches that would go to arm-soc. Is it the intentions?
Thanks, bye.
> Cc: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> Cc: Jean-Christophe Plagniol-Villard <plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
> Signed-off-by: Sudeep Holla <sudeep.holla-5wv7dgnIgG8@public.gmane.org>
> ---
> arch/arm/boot/dts/animeo_ip.dts | 6 +++---
> arch/arm/boot/dts/at91-foxg20.dts | 2 +-
> arch/arm/boot/dts/at91-kizbox.dts | 4 ++--
> arch/arm/boot/dts/at91-kizbox2.dts | 6 +++---
> arch/arm/boot/dts/at91-kizboxmini.dts | 4 ++--
> arch/arm/boot/dts/at91-qil_a9260.dts | 2 +-
> arch/arm/boot/dts/at91-sama5d3_xplained.dts | 2 +-
> arch/arm/boot/dts/at91-sama5d4_xplained.dts | 2 +-
> arch/arm/boot/dts/at91-sama5d4ek.dts | 2 +-
> arch/arm/boot/dts/at91sam9261ek.dts | 10 +++++-----
> arch/arm/boot/dts/at91sam9263ek.dts | 4 ++--
> arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 4 ++--
> arch/arm/boot/dts/at91sam9m10g45ek.dts | 4 ++--
> arch/arm/boot/dts/at91sam9n12ek.dts | 2 +-
> arch/arm/boot/dts/at91sam9rlek.dts | 4 ++--
> arch/arm/boot/dts/sama5d35ek.dts | 2 +-
> arch/arm/boot/dts/usb_a9260_common.dtsi | 2 +-
> arch/arm/boot/dts/usb_a9263.dts | 2 +-
> 18 files changed, 32 insertions(+), 32 deletions(-)
>
> diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts
> index 4e0ad3b82796..0962f2fa3f6e 100644
> --- a/arch/arm/boot/dts/animeo_ip.dts
> +++ b/arch/arm/boot/dts/animeo_ip.dts
> @@ -155,21 +155,21 @@
> label = "keyswitch_in";
> gpios = <&pioB 1 GPIO_ACTIVE_HIGH>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> error_in {
> label = "error_in";
> gpios = <&pioB 2 GPIO_ACTIVE_HIGH>;
> linux,code = <29>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> btn {
> label = "btn";
> gpios = <&pioC 23 GPIO_ACTIVE_HIGH>;
> linux,code = <31>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/at91-foxg20.dts b/arch/arm/boot/dts/at91-foxg20.dts
> index f89598af4c2b..6bf873e7d96c 100644
> --- a/arch/arm/boot/dts/at91-foxg20.dts
> +++ b/arch/arm/boot/dts/at91-foxg20.dts
> @@ -159,7 +159,7 @@
> label = "Button";
> gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
> linux,code = <0x103>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot/dts/at91-kizbox.dts
> index bf18ece0c027..8afe35f64034 100644
> --- a/arch/arm/boot/dts/at91-kizbox.dts
> +++ b/arch/arm/boot/dts/at91-kizbox.dts
> @@ -94,14 +94,14 @@
> label = "PB_RST";
> gpios = <&pioB 30 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> user {
> label = "PB_USER";
> gpios = <&pioB 31 GPIO_ACTIVE_HIGH>;
> linux,code = <0x101>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-kizbox2.dts b/arch/arm/boot/dts/at91-kizbox2.dts
> index f0b1563cb3f1..50a14568f094 100644
> --- a/arch/arm/boot/dts/at91-kizbox2.dts
> +++ b/arch/arm/boot/dts/at91-kizbox2.dts
> @@ -171,21 +171,21 @@
> label = "PB_PROG";
> gpios = <&pioE 27 GPIO_ACTIVE_LOW>;
> linux,code = <0x102>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> reset {
> label = "PB_RST";
> gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> user {
> label = "PB_USER";
> gpios = <&pioE 31 GPIO_ACTIVE_HIGH>;
> linux,code = <0x101>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-kizboxmini.dts b/arch/arm/boot/dts/at91-kizboxmini.dts
> index 9f72b4932634..9682d105d4d8 100644
> --- a/arch/arm/boot/dts/at91-kizboxmini.dts
> +++ b/arch/arm/boot/dts/at91-kizboxmini.dts
> @@ -98,14 +98,14 @@
> label = "PB_PROG";
> gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
> linux,code = <0x102>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> reset {
> label = "PB_RST";
> gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-qil_a9260.dts b/arch/arm/boot/dts/at91-qil_a9260.dts
> index a9aef53ab764..4f2eebf4a560 100644
> --- a/arch/arm/boot/dts/at91-qil_a9260.dts
> +++ b/arch/arm/boot/dts/at91-qil_a9260.dts
> @@ -183,7 +183,7 @@
> label = "user_pb";
> gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index d81474e0bcd6..b0dd58f448fe 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -315,7 +315,7 @@
> label = "PB_USER";
> gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
> linux,code = <0x104>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> index 07f46963335b..c34a23b82e1a 100644
> --- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> @@ -235,7 +235,7 @@
> label = "pb_user1";
> gpios = <&pioE 8 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts
> index 49a59c7e4a5d..d4cf2cf119e4 100644
> --- a/arch/arm/boot/dts/at91-sama5d4ek.dts
> +++ b/arch/arm/boot/dts/at91-sama5d4ek.dts
> @@ -277,7 +277,7 @@
> label = "pb_user1";
> gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts
> index 2e92ac020f23..facce0ef840b 100644
> --- a/arch/arm/boot/dts/at91sam9261ek.dts
> +++ b/arch/arm/boot/dts/at91sam9261ek.dts
> @@ -149,7 +149,7 @@
> ti,debounce-tol = /bits/ 16 <65535>;
> ti,debounce-max = /bits/ 16 <1>;
>
> - linux,wakeup;
> + wakeup-source;
> };
> };
>
> @@ -193,28 +193,28 @@
> label = "button_0";
> gpios = <&pioA 27 GPIO_ACTIVE_LOW>;
> linux,code = <256>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> button_1 {
> label = "button_1";
> gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
> linux,code = <257>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> button_2 {
> label = "button_2";
> gpios = <&pioA 25 GPIO_ACTIVE_LOW>;
> linux,code = <258>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> button_3 {
> label = "button_3";
> gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
> linux,code = <259>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts/at91sam9263ek.dts
> index 23381276ffb8..241de040681f 100644
> --- a/arch/arm/boot/dts/at91sam9263ek.dts
> +++ b/arch/arm/boot/dts/at91sam9263ek.dts
> @@ -213,14 +213,14 @@
> label = "left_click";
> gpios = <&pioC 5 GPIO_ACTIVE_LOW>;
> linux,code = <272>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> right_click {
> label = "right_click";
> gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
> linux,code = <273>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
> index 57548a2c5a1e..e45c744d3cc8 100644
> --- a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
> @@ -206,14 +206,14 @@
> label = "Button 3";
> gpios = <&pioA 30 GPIO_ACTIVE_LOW>;
> linux,code = <0x103>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> btn4 {
> label = "Button 4";
> gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
> linux,code = <0x104>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> index d1ae60a855d4..a251a193d208 100644
> --- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
> +++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> @@ -321,14 +321,14 @@
> label = "left_click";
> gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
> linux,code = <272>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> right_click {
> label = "right_click";
> gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
> linux,code = <273>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> left {
> diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
> index efa75064d38a..a00cd1ded131 100644
> --- a/arch/arm/boot/dts/at91sam9n12ek.dts
> +++ b/arch/arm/boot/dts/at91sam9n12ek.dts
> @@ -223,7 +223,7 @@
> label = "Enter";
> gpios = <&pioB 3 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts
> index 558c9f220bed..8a847c2d8e42 100644
> --- a/arch/arm/boot/dts/at91sam9rlek.dts
> +++ b/arch/arm/boot/dts/at91sam9rlek.dts
> @@ -225,14 +225,14 @@
> label = "right_click";
> gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
> linux,code = <273>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> left_click {
> label = "left_click";
> gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
> linux,code = <272>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/sama5d35ek.dts b/arch/arm/boot/dts/sama5d35ek.dts
> index d9a9aca1ccfd..e812f5c1bf70 100644
> --- a/arch/arm/boot/dts/sama5d35ek.dts
> +++ b/arch/arm/boot/dts/sama5d35ek.dts
> @@ -49,7 +49,7 @@
> label = "pb_user1";
> gpios = <&pioE 27 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/usb_a9260_common.dtsi b/arch/arm/boot/dts/usb_a9260_common.dtsi
> index 12edafefd44a..9beea8976584 100644
> --- a/arch/arm/boot/dts/usb_a9260_common.dtsi
> +++ b/arch/arm/boot/dts/usb_a9260_common.dtsi
> @@ -115,7 +115,7 @@
> label = "user_pb";
> gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/usb_a9263.dts b/arch/arm/boot/dts/usb_a9263.dts
> index 68c0de36c339..8cc6edb29694 100644
> --- a/arch/arm/boot/dts/usb_a9263.dts
> +++ b/arch/arm/boot/dts/usb_a9263.dts
> @@ -143,7 +143,7 @@
> label = "user_pb";
> gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
>
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Sudeep Holla <sudeep.holla@arm.com>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>,
"Jean-Christophe Plagniol-Villard" <plagnioj@jcrosoft.com>
Subject: Re: [PATCH 10/19] ARM: dts: at91: replace gpio-key,wakeup with wakeup-source property
Date: Wed, 21 Oct 2015 12:21:33 +0200 [thread overview]
Message-ID: <5627672D.60108@atmel.com> (raw)
In-Reply-To: <1445422216-29375-11-git-send-email-sudeep.holla@arm.com>
Le 21/10/2015 12:10, Sudeep Holla a écrit :
> Though the keyboard driver for GPIO buttons(gpio-keys) will continue to
> check for/support the legacy "gpio-key,wakeup" boolean property to
> enable gpio buttons as wakeup source, "wakeup-source" is the new
> standard binding.
>
> This patch replaces the legacy "gpio-key,wakeup" with the unified
> "wakeup-source" property in order to avoid any futher copy-paste
> duplication.
>
> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
I'm not against this if the whole series goes further.
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
I suspect that we would need to take this patch with us on the AT91
branches that would go to arm-soc. Is it the intentions?
Thanks, bye.
> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
> ---
> arch/arm/boot/dts/animeo_ip.dts | 6 +++---
> arch/arm/boot/dts/at91-foxg20.dts | 2 +-
> arch/arm/boot/dts/at91-kizbox.dts | 4 ++--
> arch/arm/boot/dts/at91-kizbox2.dts | 6 +++---
> arch/arm/boot/dts/at91-kizboxmini.dts | 4 ++--
> arch/arm/boot/dts/at91-qil_a9260.dts | 2 +-
> arch/arm/boot/dts/at91-sama5d3_xplained.dts | 2 +-
> arch/arm/boot/dts/at91-sama5d4_xplained.dts | 2 +-
> arch/arm/boot/dts/at91-sama5d4ek.dts | 2 +-
> arch/arm/boot/dts/at91sam9261ek.dts | 10 +++++-----
> arch/arm/boot/dts/at91sam9263ek.dts | 4 ++--
> arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 4 ++--
> arch/arm/boot/dts/at91sam9m10g45ek.dts | 4 ++--
> arch/arm/boot/dts/at91sam9n12ek.dts | 2 +-
> arch/arm/boot/dts/at91sam9rlek.dts | 4 ++--
> arch/arm/boot/dts/sama5d35ek.dts | 2 +-
> arch/arm/boot/dts/usb_a9260_common.dtsi | 2 +-
> arch/arm/boot/dts/usb_a9263.dts | 2 +-
> 18 files changed, 32 insertions(+), 32 deletions(-)
>
> diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts
> index 4e0ad3b82796..0962f2fa3f6e 100644
> --- a/arch/arm/boot/dts/animeo_ip.dts
> +++ b/arch/arm/boot/dts/animeo_ip.dts
> @@ -155,21 +155,21 @@
> label = "keyswitch_in";
> gpios = <&pioB 1 GPIO_ACTIVE_HIGH>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> error_in {
> label = "error_in";
> gpios = <&pioB 2 GPIO_ACTIVE_HIGH>;
> linux,code = <29>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> btn {
> label = "btn";
> gpios = <&pioC 23 GPIO_ACTIVE_HIGH>;
> linux,code = <31>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/at91-foxg20.dts b/arch/arm/boot/dts/at91-foxg20.dts
> index f89598af4c2b..6bf873e7d96c 100644
> --- a/arch/arm/boot/dts/at91-foxg20.dts
> +++ b/arch/arm/boot/dts/at91-foxg20.dts
> @@ -159,7 +159,7 @@
> label = "Button";
> gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
> linux,code = <0x103>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/at91-kizbox.dts b/arch/arm/boot/dts/at91-kizbox.dts
> index bf18ece0c027..8afe35f64034 100644
> --- a/arch/arm/boot/dts/at91-kizbox.dts
> +++ b/arch/arm/boot/dts/at91-kizbox.dts
> @@ -94,14 +94,14 @@
> label = "PB_RST";
> gpios = <&pioB 30 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> user {
> label = "PB_USER";
> gpios = <&pioB 31 GPIO_ACTIVE_HIGH>;
> linux,code = <0x101>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-kizbox2.dts b/arch/arm/boot/dts/at91-kizbox2.dts
> index f0b1563cb3f1..50a14568f094 100644
> --- a/arch/arm/boot/dts/at91-kizbox2.dts
> +++ b/arch/arm/boot/dts/at91-kizbox2.dts
> @@ -171,21 +171,21 @@
> label = "PB_PROG";
> gpios = <&pioE 27 GPIO_ACTIVE_LOW>;
> linux,code = <0x102>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> reset {
> label = "PB_RST";
> gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> user {
> label = "PB_USER";
> gpios = <&pioE 31 GPIO_ACTIVE_HIGH>;
> linux,code = <0x101>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-kizboxmini.dts b/arch/arm/boot/dts/at91-kizboxmini.dts
> index 9f72b4932634..9682d105d4d8 100644
> --- a/arch/arm/boot/dts/at91-kizboxmini.dts
> +++ b/arch/arm/boot/dts/at91-kizboxmini.dts
> @@ -98,14 +98,14 @@
> label = "PB_PROG";
> gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
> linux,code = <0x102>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> reset {
> label = "PB_RST";
> gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-qil_a9260.dts b/arch/arm/boot/dts/at91-qil_a9260.dts
> index a9aef53ab764..4f2eebf4a560 100644
> --- a/arch/arm/boot/dts/at91-qil_a9260.dts
> +++ b/arch/arm/boot/dts/at91-qil_a9260.dts
> @@ -183,7 +183,7 @@
> label = "user_pb";
> gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index d81474e0bcd6..b0dd58f448fe 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -315,7 +315,7 @@
> label = "PB_USER";
> gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
> linux,code = <0x104>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> index 07f46963335b..c34a23b82e1a 100644
> --- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts
> @@ -235,7 +235,7 @@
> label = "pb_user1";
> gpios = <&pioE 8 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts
> index 49a59c7e4a5d..d4cf2cf119e4 100644
> --- a/arch/arm/boot/dts/at91-sama5d4ek.dts
> +++ b/arch/arm/boot/dts/at91-sama5d4ek.dts
> @@ -277,7 +277,7 @@
> label = "pb_user1";
> gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts
> index 2e92ac020f23..facce0ef840b 100644
> --- a/arch/arm/boot/dts/at91sam9261ek.dts
> +++ b/arch/arm/boot/dts/at91sam9261ek.dts
> @@ -149,7 +149,7 @@
> ti,debounce-tol = /bits/ 16 <65535>;
> ti,debounce-max = /bits/ 16 <1>;
>
> - linux,wakeup;
> + wakeup-source;
> };
> };
>
> @@ -193,28 +193,28 @@
> label = "button_0";
> gpios = <&pioA 27 GPIO_ACTIVE_LOW>;
> linux,code = <256>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> button_1 {
> label = "button_1";
> gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
> linux,code = <257>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> button_2 {
> label = "button_2";
> gpios = <&pioA 25 GPIO_ACTIVE_LOW>;
> linux,code = <258>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> button_3 {
> label = "button_3";
> gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
> linux,code = <259>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot/dts/at91sam9263ek.dts
> index 23381276ffb8..241de040681f 100644
> --- a/arch/arm/boot/dts/at91sam9263ek.dts
> +++ b/arch/arm/boot/dts/at91sam9263ek.dts
> @@ -213,14 +213,14 @@
> label = "left_click";
> gpios = <&pioC 5 GPIO_ACTIVE_LOW>;
> linux,code = <272>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> right_click {
> label = "right_click";
> gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
> linux,code = <273>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
> index 57548a2c5a1e..e45c744d3cc8 100644
> --- a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
> @@ -206,14 +206,14 @@
> label = "Button 3";
> gpios = <&pioA 30 GPIO_ACTIVE_LOW>;
> linux,code = <0x103>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> btn4 {
> label = "Button 4";
> gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
> linux,code = <0x104>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> index d1ae60a855d4..a251a193d208 100644
> --- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
> +++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
> @@ -321,14 +321,14 @@
> label = "left_click";
> gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
> linux,code = <272>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> right_click {
> label = "right_click";
> gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
> linux,code = <273>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> left {
> diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
> index efa75064d38a..a00cd1ded131 100644
> --- a/arch/arm/boot/dts/at91sam9n12ek.dts
> +++ b/arch/arm/boot/dts/at91sam9n12ek.dts
> @@ -223,7 +223,7 @@
> label = "Enter";
> gpios = <&pioB 3 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts
> index 558c9f220bed..8a847c2d8e42 100644
> --- a/arch/arm/boot/dts/at91sam9rlek.dts
> +++ b/arch/arm/boot/dts/at91sam9rlek.dts
> @@ -225,14 +225,14 @@
> label = "right_click";
> gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
> linux,code = <273>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
>
> left_click {
> label = "left_click";
> gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
> linux,code = <272>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/sama5d35ek.dts b/arch/arm/boot/dts/sama5d35ek.dts
> index d9a9aca1ccfd..e812f5c1bf70 100644
> --- a/arch/arm/boot/dts/sama5d35ek.dts
> +++ b/arch/arm/boot/dts/sama5d35ek.dts
> @@ -49,7 +49,7 @@
> label = "pb_user1";
> gpios = <&pioE 27 GPIO_ACTIVE_HIGH>;
> linux,code = <0x100>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
> };
> diff --git a/arch/arm/boot/dts/usb_a9260_common.dtsi b/arch/arm/boot/dts/usb_a9260_common.dtsi
> index 12edafefd44a..9beea8976584 100644
> --- a/arch/arm/boot/dts/usb_a9260_common.dtsi
> +++ b/arch/arm/boot/dts/usb_a9260_common.dtsi
> @@ -115,7 +115,7 @@
> label = "user_pb";
> gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
> diff --git a/arch/arm/boot/dts/usb_a9263.dts b/arch/arm/boot/dts/usb_a9263.dts
> index 68c0de36c339..8cc6edb29694 100644
> --- a/arch/arm/boot/dts/usb_a9263.dts
> +++ b/arch/arm/boot/dts/usb_a9263.dts
> @@ -143,7 +143,7 @@
> label = "user_pb";
> gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
> linux,code = <28>;
> - gpio-key,wakeup;
> + wakeup-source;
> };
> };
>
>
--
Nicolas Ferre
next prev parent reply other threads:[~2015-10-21 10:21 UTC|newest]
Thread overview: 180+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 10:09 [PATCH 00/19] devicetree: standardize/consolidate on "wakeup-source" property Sudeep Holla
2015-10-21 10:09 ` Sudeep Holla
2015-10-21 10:09 ` [PATCH 01/19] Documentation: " Sudeep Holla
2015-10-21 10:09 ` Sudeep Holla
2015-10-21 10:09 ` Sudeep Holla
2015-10-21 22:02 ` Rob Herring
2015-10-21 22:02 ` Rob Herring
2015-10-21 22:02 ` Rob Herring
2015-10-21 10:09 ` [PATCH 02/19] Documentation: devicetree: fix reference to legacy wakeup properties Sudeep Holla
2015-10-21 10:09 ` Sudeep Holla
2015-10-21 10:09 ` Sudeep Holla
2015-10-21 22:04 ` Rob Herring
2015-10-21 22:04 ` Rob Herring
2015-10-21 22:04 ` Rob Herring
2015-10-28 18:23 ` Sudeep Holla
2015-10-28 18:23 ` Sudeep Holla
2015-10-30 18:29 ` Rob Herring
2015-10-30 18:29 ` Rob Herring
2015-10-30 18:29 ` Rob Herring
2015-10-21 10:10 ` [rtc-linux] [PATCH 03/19] rtc: opal: enable support for the stardard "wakeup-source" property Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
2015-10-27 22:53 ` [rtc-linux] " Alexandre Belloni
2015-10-27 22:53 ` Alexandre Belloni
2015-10-27 22:53 ` Alexandre Belloni
2015-10-27 22:53 ` Alexandre Belloni
2015-10-21 10:10 ` [rtc-linux] [PATCH 04/19] rtc: isl12057: enable support for the standard " Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
2015-10-27 22:53 ` [rtc-linux] " Alexandre Belloni
2015-10-27 22:53 ` Alexandre Belloni
2015-10-27 22:53 ` Alexandre Belloni
2015-10-21 10:10 ` [PATCH 05/19] mmc: core/host: " Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
[not found] ` <1445422216-29375-6-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-11-19 11:32 ` Ulf Hansson
2015-11-19 11:32 ` Ulf Hansson
2015-11-19 11:32 ` Ulf Hansson
2015-10-21 10:10 ` [PATCH 06/19] input: tegra-kbc: " Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
[not found] ` <1445422216-29375-7-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-10-23 6:39 ` Dmitry Torokhov
2015-10-23 6:39 ` Dmitry Torokhov
2015-10-23 6:39 ` Dmitry Torokhov
2015-10-23 10:23 ` Sudeep Holla
2015-10-23 10:23 ` Sudeep Holla
2015-10-23 10:23 ` Sudeep Holla
2015-10-26 8:33 ` Dmitry Torokhov
2015-10-26 8:33 ` Dmitry Torokhov
[not found] ` <1445422216-29375-1-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-10-21 10:10 ` [PATCH 07/19] ARM: dts: rockchip: replace gpio-key, wakeup with wakeup-source property Sudeep Holla
2015-10-21 10:10 ` [PATCH 07/19] ARM: dts: rockchip: replace gpio-key,wakeup " Sudeep Holla
2015-10-21 10:10 ` [PATCH 07/19] ARM: dts: rockchip: replace gpio-key, wakeup " Sudeep Holla
2015-10-21 10:10 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup property with wakeup-source Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
2015-10-21 10:10 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *, wakeup " Sudeep Holla
2015-12-15 16:35 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup " Sudeep Holla
2015-12-15 16:35 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *, wakeup " Sudeep Holla
[not found] ` <56704141.8070308-5wv7dgnIgG8@public.gmane.org>
2015-12-15 23:32 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup " Krzysztof Kozlowski
2015-12-15 23:32 ` Krzysztof Kozlowski
2015-12-15 23:32 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *, wakeup " Krzysztof Kozlowski
[not found] ` <5670A2F2.5060009-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-12-16 10:32 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup " Sudeep Holla
2015-12-16 10:32 ` Sudeep Holla
2015-12-16 10:32 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *, wakeup " Sudeep Holla
2015-12-16 23:38 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup " Krzysztof Kozlowski
2015-12-16 23:38 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *, wakeup " Krzysztof Kozlowski
2015-12-16 23:49 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup " Krzysztof Kozlowski
2015-12-16 23:49 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *, wakeup " Krzysztof Kozlowski
2016-01-28 8:11 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup " Krzysztof Kozlowski
2016-01-28 8:11 ` [PATCH 12/19] ARM: dts: exynos: replace legacy *, wakeup " Krzysztof Kozlowski
[not found] ` <56A9CD1A.8010800-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-01-28 15:59 ` [UPDATE] [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup " Sudeep Holla
2016-01-28 15:59 ` Sudeep Holla
2016-01-28 15:59 ` [UPDATE] [PATCH 12/19] ARM: dts: exynos: replace legacy *, wakeup " Sudeep Holla
2016-01-29 0:11 ` [UPDATE] [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup " Krzysztof Kozlowski
2016-01-29 0:11 ` [UPDATE] [PATCH 12/19] ARM: dts: exynos: replace legacy *, wakeup " Krzysztof Kozlowski
2015-10-21 10:10 ` [PATCH 08/19] ARM: dts: spear: replace gpio-key, wakeup with wakeup-source property Sudeep Holla
2015-10-21 10:10 ` [PATCH 08/19] ARM: dts: spear: replace gpio-key,wakeup " Sudeep Holla
2015-10-21 10:10 ` [PATCH 08/19] ARM: dts: spear: replace gpio-key, wakeup " Sudeep Holla
2015-10-21 10:10 ` [PATCH 09/19] ARM: dts: am335x: replace gpio-key,wakeup " Sudeep Holla
2015-10-21 10:10 ` [PATCH 09/19] ARM: dts: am335x: replace gpio-key, wakeup " Sudeep Holla
[not found] ` <1445422216-29375-10-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-12-15 16:33 ` [PATCH 09/19] ARM: dts: am335x: replace gpio-key,wakeup " Sudeep Holla
2015-12-15 16:33 ` Sudeep Holla
2015-12-15 16:33 ` Sudeep Holla
[not found] ` <567040E7.7060308-5wv7dgnIgG8@public.gmane.org>
2015-12-17 17:58 ` Tony Lindgren
2015-12-17 17:58 ` Tony Lindgren
2015-12-17 17:58 ` Tony Lindgren
2015-10-21 10:10 ` [PATCH 10/19] ARM: dts: at91: replace gpio-key, wakeup " Sudeep Holla
2015-10-21 10:10 ` [PATCH 10/19] ARM: dts: at91: replace gpio-key,wakeup " Sudeep Holla
2015-10-21 10:10 ` [PATCH 10/19] ARM: dts: at91: replace gpio-key, wakeup " Sudeep Holla
2015-10-21 10:21 ` Nicolas Ferre [this message]
2015-10-21 10:21 ` [PATCH 10/19] ARM: dts: at91: replace gpio-key,wakeup " Nicolas Ferre
2015-10-21 10:21 ` Nicolas Ferre
2015-10-21 10:25 ` Sudeep Holla
2015-10-21 10:25 ` Sudeep Holla
2015-10-21 10:25 ` Sudeep Holla
2015-10-21 11:01 ` Ulf Hansson
2015-10-21 11:01 ` Ulf Hansson
2015-10-21 11:13 ` Sudeep Holla
2015-10-21 11:13 ` Sudeep Holla
2015-10-21 11:13 ` Sudeep Holla
2015-10-21 12:41 ` Sudeep Holla
2015-10-21 12:41 ` Sudeep Holla
2015-10-21 12:41 ` Sudeep Holla
2015-10-21 15:27 ` Nicolas Ferre
2015-10-21 15:27 ` Nicolas Ferre
2015-10-21 15:27 ` Nicolas Ferre
2015-10-21 10:10 ` [PATCH 11/19] ARM: dts: imx: replace legacy *, wakeup property with wakeup-source Sudeep Holla
2015-10-21 10:10 ` [PATCH 11/19] ARM: dts: imx: replace legacy *,wakeup " Sudeep Holla
2015-10-21 10:10 ` [PATCH 11/19] ARM: dts: imx: replace legacy *, wakeup " Sudeep Holla
2015-11-23 5:37 ` [PATCH 11/19] ARM: dts: imx: replace legacy *,wakeup " Shawn Guo
2015-11-23 5:37 ` Shawn Guo
2015-11-23 5:37 ` Shawn Guo
2015-11-26 11:33 ` Sudeep Holla
2015-11-26 11:33 ` Sudeep Holla
2015-11-26 11:33 ` Sudeep Holla
2015-12-02 1:54 ` Shawn Guo
2015-12-02 1:54 ` Shawn Guo
2015-12-02 10:05 ` Sudeep Holla
2015-12-02 10:05 ` Sudeep Holla
2015-10-21 10:10 ` [PATCH 13/19] ARM: dts: tegra: " Sudeep Holla
2015-10-21 10:10 ` [PATCH 13/19] ARM: dts: tegra: replace legacy *, wakeup " Sudeep Holla
2015-12-15 16:35 ` [PATCH 13/19] ARM: dts: tegra: replace legacy *,wakeup " Sudeep Holla
2015-12-15 16:35 ` Sudeep Holla
[not found] ` <1445422216-29375-14-git-send-email-sudeep.holla-5wv7dgnIgG8@public.gmane.org>
2015-12-23 11:24 ` Sudeep Holla
2015-12-23 11:24 ` Sudeep Holla
2015-12-23 11:24 ` Sudeep Holla
2015-10-21 10:10 ` [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key,wakeup with wakeup-source property Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
2015-10-21 10:10 ` [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key, wakeup " Sudeep Holla
2015-10-21 10:18 ` [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key,wakeup " Geert Uytterhoeven
2015-10-21 10:18 ` Geert Uytterhoeven
2015-10-21 10:18 ` Geert Uytterhoeven
2015-10-21 10:18 ` [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key, wakeup " Geert Uytterhoeven
2015-10-21 10:23 ` [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key,wakeup " Sudeep Holla
2015-10-21 10:23 ` Sudeep Holla
2015-10-21 10:23 ` [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key, wakeup " Sudeep Holla
2015-10-22 0:50 ` [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key,wakeup " Simon Horman
2015-10-22 0:50 ` Simon Horman
2015-10-22 0:50 ` Simon Horman
2015-10-22 9:37 ` Sudeep Holla
2015-10-22 9:37 ` Sudeep Holla
2015-10-22 9:37 ` [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key, wakeup " Sudeep Holla
2015-10-23 0:18 ` [PATCH 14/19] ARM: dts: shmobile/r8a7xxx: replace gpio-key,wakeup " Simon Horman
2015-10-23 0:18 ` Simon Horman
2015-10-23 0:18 ` Simon Horman
2015-10-23 0:18 ` Simon Horman
2015-10-21 10:10 ` [PATCH 15/19] ARM: dts: omap: replace legacy *,wakeup property with wakeup-source Sudeep Holla
2015-10-21 10:10 ` [PATCH 15/19] ARM: dts: omap: replace legacy *, wakeup " Sudeep Holla
2015-12-15 16:37 ` [PATCH 15/19] ARM: dts: omap: replace legacy *,wakeup " Sudeep Holla
2015-12-15 16:37 ` Sudeep Holla
2015-12-17 17:58 ` Tony Lindgren
2015-12-17 17:58 ` Tony Lindgren
2015-10-21 10:10 ` [PATCH 16/19] ARM: dts: s5pv210: " Sudeep Holla
2015-10-21 10:10 ` [PATCH 16/19] ARM: dts: s5pv210: replace legacy *, wakeup " Sudeep Holla
2015-12-15 16:37 ` [PATCH 16/19] ARM: dts: s5pv210: replace legacy *,wakeup " Sudeep Holla
2015-12-15 16:37 ` [PATCH 16/19] ARM: dts: s5pv210: replace legacy *, wakeup " Sudeep Holla
2015-12-16 23:52 ` [PATCH 16/19] ARM: dts: s5pv210: replace legacy *,wakeup " Krzysztof Kozlowski
2015-12-16 23:52 ` [PATCH 16/19] ARM: dts: s5pv210: replace legacy *, wakeup " Krzysztof Kozlowski
2015-10-21 10:10 ` [PATCH 17/19] ARM: dts: armada: replace isil, irq2-can-wakeup-machine with wakeup-source property Sudeep Holla
2015-10-21 10:10 ` [PATCH 17/19] ARM: dts: armada: replace isil,irq2-can-wakeup-machine " Sudeep Holla
2015-12-15 16:39 ` Sudeep Holla
2015-12-15 16:39 ` Sudeep Holla
2015-12-15 16:56 ` [PATCH 17/19] ARM: dts: armada: replace isil, irq2-can-wakeup-machine " Gregory CLEMENT
2015-12-15 16:56 ` [PATCH 17/19] ARM: dts: armada: replace isil,irq2-can-wakeup-machine " Gregory CLEMENT
2015-10-21 10:10 ` [PATCH 18/19] ARM: dts: ste: replace legacy *, wakeup property with wakeup-source Sudeep Holla
2015-10-21 10:10 ` [PATCH 18/19] ARM: dts: ste: replace legacy *,wakeup " Sudeep Holla
2015-10-27 12:34 ` Linus Walleij
2015-10-27 12:34 ` Linus Walleij
2015-10-27 12:34 ` Linus Walleij
2015-10-27 12:46 ` Sudeep Holla
2015-10-27 12:46 ` Sudeep Holla
2015-10-27 12:46 ` Sudeep Holla
2015-11-05 9:26 ` Linus Walleij
2015-11-05 9:26 ` Linus Walleij
2015-11-05 9:26 ` Linus Walleij
2015-10-21 10:10 ` [PATCH 19/19] ARM: dts: zynq: replace gpio-key, wakeup with wakeup-source property Sudeep Holla
2015-10-21 10:10 ` [PATCH 19/19] ARM: dts: zynq: replace gpio-key,wakeup " Sudeep Holla
2015-10-21 10:10 ` Sudeep Holla
2015-10-29 8:56 ` Michal Simek
2015-10-29 8:56 ` Michal Simek
2015-10-29 8:56 ` Michal Simek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5627672D.60108@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.