diff mbox

[4/4] ARM: dts: zynq: replace gpio-key, wakeup with wakeup-source property

Message ID d6045581502ea0b0624c688c2faca407cf9c887e.1481891921.git.michal.simek@xilinx.com
State Accepted
Commit a930ca572a142dfccd8dc47286cf8b74e269e017
Headers show

Commit Message

Michal Simek Dec. 16, 2016, 12:38 p.m. UTC
From: Sudeep Holla <sudeep.holla@arm.com>

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: Michal Simek <michal.simek@xilinx.com>
Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/dts/zynq-zc702.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Sudeep Holla Dec. 16, 2016, 1:23 p.m. UTC | #1
On 16/12/16 12:38, Michal Simek wrote:
> From: Sudeep Holla <sudeep.holla@arm.com>

> 

> 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.

> 


I assume this was sent by mistake as this patch is already in the
mainline now.

-- 
Regards,
Sudeep
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Michal Simek Dec. 16, 2016, 1:30 p.m. UTC | #2
On 16.12.2016 14:23, Sudeep Holla wrote:
> 

> 

> On 16/12/16 12:38, Michal Simek wrote:

>> From: Sudeep Holla <sudeep.holla@arm.com>

>>

>> 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.

>>

> 

> I assume this was sent by mistake as this patch is already in the

> mainline now.

> 


It is syncup with u-boot source code and yes I took it from Linux kernel.

Thanks,
Michal

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Sudeep Holla Dec. 16, 2016, 1:31 p.m. UTC | #3
On 16/12/16 13:30, Michal Simek wrote:
> On 16.12.2016 14:23, Sudeep Holla wrote:

>>

>>

>> On 16/12/16 12:38, Michal Simek wrote:

>>> From: Sudeep Holla <sudeep.holla@arm.com>

>>>

>>> 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.

>>>

>>

>> I assume this was sent by mistake as this patch is already in the

>> mainline now.

>>

> 

> It is syncup with u-boot source code and yes I took it from Linux kernel.

> 


Ah OK, sorry I didn't know U Boot has a copy of it.

-- 
Regards,
Sudeep
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts
index 478e9fd4ef25..2696e70a89a7 100644
--- a/arch/arm/dts/zynq-zc702.dts
+++ b/arch/arm/dts/zynq-zc702.dts
@@ -40,14 +40,14 @@ 
 			label = "sw14";
 			gpios = <&gpio0 12 0>;
 			linux,code = <108>; /* down */
-			gpio-key,wakeup;
+			wakeup-source;
 			autorepeat;
 		};
 		sw13 {
 			label = "sw13";
 			gpios = <&gpio0 14 0>;
 			linux,code = <103>; /* up */
-			gpio-key,wakeup;
+			wakeup-source;
 			autorepeat;
 		};
 	};