linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: at91: replace gpio-key, wakeup with wakeup-source property
@ 2018-12-21 18:11 Sudeep Holla
  2018-12-21 18:46 ` [PATCH] ARM: dts: at91: replace gpio-key,wakeup " Peter Rosin
  2019-01-08 18:13 ` Alexandre Belloni
  0 siblings, 2 replies; 4+ messages in thread
From: Sudeep Holla @ 2018-12-21 18:11 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: devicetree, Alexandre Belloni, Peter Rosin, Sudeep Holla

Most of the legacy "gpio-key,wakeup" property are already replaced
with "wakeup-source". However few occurrences of old property has
popped up again, probably from the remnants in downstream trees.
Almost all of those were remove couple of years back.

Replace the legacy properties with the unified "wakeup-source"
property introduced in the commit 700a38b27eef ("Input: gpio_keys -
switch to using generic device properties")

Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Peter Rosin <peda@axentia.se>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +-
 arch/arm/boot/dts/at91-wb45n.dts            | 2 +-
 arch/arm/boot/dts/at91-wb50n.dts            | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

Hi Alexandre,

Olof requested to slipt the patch and send it via platform maintainers.
I totally forgot to follow up on this. You had acked this previously but
please pick this up and submit via your tree to ARM SoC. Sorry for the
confusion.

Regards,
Sudeep

diff --git a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
index 911d2c7c1500..5664b6728a4c 100644
--- a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
+++ b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
@@ -22,7 +22,7 @@
 		wakeup {
 			label = "Wakeup";
 			linux,code = <10>;
-			gpio-key,wakeup;
+			wakeup-source;
 			gpios = <&pioB 27 GPIO_ACTIVE_LOW>;
 		};
 	};
diff --git a/arch/arm/boot/dts/at91-wb45n.dts b/arch/arm/boot/dts/at91-wb45n.dts
index 5b9512a6c89c..54d130c92185 100644
--- a/arch/arm/boot/dts/at91-wb45n.dts
+++ b/arch/arm/boot/dts/at91-wb45n.dts
@@ -22,7 +22,7 @@
 			label = "IRQBTN";
 			linux,code = <99>;
 			gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
-			gpio-key,wakeup = <1>;
+			wakeup-source;
 		};
 	};
 };
diff --git a/arch/arm/boot/dts/at91-wb50n.dts b/arch/arm/boot/dts/at91-wb50n.dts
index 8cecc7051a86..a5e45bb95c04 100644
--- a/arch/arm/boot/dts/at91-wb50n.dts
+++ b/arch/arm/boot/dts/at91-wb50n.dts
@@ -23,7 +23,7 @@
 			label = "BTNESC";
 			linux,code = <1>; /* ESC button */
 			gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
-			gpio-key,wakeup = <1>;
+			wakeup-source;
 		};

 		irqbtn@31 {
@@ -31,7 +31,7 @@
 			label = "IRQBTN";
 			linux,code = <99>; /* SysReq button */
 			gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
-			gpio-key,wakeup = <1>;
+			wakeup-source;
 		};
 	};

--
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: at91: replace gpio-key,wakeup with wakeup-source property
  2018-12-21 18:11 [PATCH] ARM: dts: at91: replace gpio-key, wakeup with wakeup-source property Sudeep Holla
@ 2018-12-21 18:46 ` Peter Rosin
  2018-12-28 13:25   ` Sudeep Holla
  2019-01-08 18:13 ` Alexandre Belloni
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Rosin @ 2018-12-21 18:46 UTC (permalink / raw)
  To: Sudeep Holla, linux-arm-kernel; +Cc: devicetree, Alexandre Belloni

On 2018-12-21 19:11, Sudeep Holla wrote:
> Most of the legacy "gpio-key,wakeup" property are already replaced
> with "wakeup-source". However few occurrences of old property has
> popped up again, probably from the remnants in downstream trees.
> Almost all of those were remove couple of years back.
> 
> Replace the legacy properties with the unified "wakeup-source"
> property introduced in the commit 700a38b27eef ("Input: gpio_keys -
> switch to using generic device properties")
> 
> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Cc: Peter Rosin <peda@axentia.se>
> Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

Why is this not v3?
Why did you drop all the tags you already got?

Acked-by: Peter Rosin <peda@axentia.se>

Cheers,
Peter
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: at91: replace gpio-key,wakeup with wakeup-source property
  2018-12-21 18:46 ` [PATCH] ARM: dts: at91: replace gpio-key,wakeup " Peter Rosin
@ 2018-12-28 13:25   ` Sudeep Holla
  0 siblings, 0 replies; 4+ messages in thread
From: Sudeep Holla @ 2018-12-28 13:25 UTC (permalink / raw)
  To: Peter Rosin; +Cc: devicetree, Alexandre Belloni, linux-arm-kernel

On Fri, Dec 21, 2018 at 06:46:12PM +0000, Peter Rosin wrote:
> On 2018-12-21 19:11, Sudeep Holla wrote:
> > Most of the legacy "gpio-key,wakeup" property are already replaced
> > with "wakeup-source". However few occurrences of old property has
> > popped up again, probably from the remnants in downstream trees.
> > Almost all of those were remove couple of years back.
> >
> > Replace the legacy properties with the unified "wakeup-source"
> > property introduced in the commit 700a38b27eef ("Input: gpio_keys -
> > switch to using generic device properties")
> >
> > Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
> > Cc: Peter Rosin <peda@axentia.se>
> > Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
> > Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
>
> Why is this not v3?
> Why did you drop all the tags you already got?
>

Sorry for that, I intentionally dropped Acks from maintainer who would
merge and add their sign-offs, but I dropped yours accidentally.

> Acked-by: Peter Rosin <peda@axentia.se>
>

Thanks.

--
Regards,
Sudeep

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: at91: replace gpio-key,wakeup with wakeup-source property
  2018-12-21 18:11 [PATCH] ARM: dts: at91: replace gpio-key, wakeup with wakeup-source property Sudeep Holla
  2018-12-21 18:46 ` [PATCH] ARM: dts: at91: replace gpio-key,wakeup " Peter Rosin
@ 2019-01-08 18:13 ` Alexandre Belloni
  1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2019-01-08 18:13 UTC (permalink / raw)
  To: Sudeep Holla; +Cc: devicetree, Peter Rosin, linux-arm-kernel

On 21/12/2018 18:11:49+0000, Sudeep Holla wrote:
> Most of the legacy "gpio-key,wakeup" property are already replaced
> with "wakeup-source". However few occurrences of old property has
> popped up again, probably from the remnants in downstream trees.
> Almost all of those were remove couple of years back.
> 
> Replace the legacy properties with the unified "wakeup-source"
> property introduced in the commit 700a38b27eef ("Input: gpio_keys -
> switch to using generic device properties")
> 
> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Cc: Peter Rosin <peda@axentia.se>
> Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
> ---
>  arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +-
>  arch/arm/boot/dts/at91-wb45n.dts            | 2 +-
>  arch/arm/boot/dts/at91-wb50n.dts            | 4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
Applied, thanks.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-08 18:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-21 18:11 [PATCH] ARM: dts: at91: replace gpio-key, wakeup with wakeup-source property Sudeep Holla
2018-12-21 18:46 ` [PATCH] ARM: dts: at91: replace gpio-key,wakeup " Peter Rosin
2018-12-28 13:25   ` Sudeep Holla
2019-01-08 18:13 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).