diff mbox series

arm64: dts: zynqmp: replace gpio-key,wakeup with wakeup-source property

Message ID 20181024114540.5196-2-sudeep.holla@arm.com
State Accepted
Commit 1696acf44e9f26454f15877bee3a9a39ec6e6ee5
Headers show
Series arm64: dts: zynqmp: replace gpio-key,wakeup with wakeup-source property | expand

Commit Message

Sudeep Holla Oct. 24, 2018, 11:45 a.m. UTC
Most of the legacy "gpio-key,wakeup" boolean property is already
replaced with "wakeup-source". However few occurrences of old property
has popped up again, probably from the remnants in downstream trees.

This patch replaces the legacy properties with the unified
"wakeup-source" property.

Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

---
 arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 2 +-
 arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 2 +-
 arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 2 +-
 arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

--
2.17.1

Comments

Michal Simek Nov. 5, 2018, 9:32 a.m. UTC | #1
On 24. 10. 18 13:45, Sudeep Holla wrote:
> Most of the legacy "gpio-key,wakeup" boolean property is already

> replaced with "wakeup-source". However few occurrences of old property

> has popped up again, probably from the remnants in downstream trees.

> 

> This patch replaces the legacy properties with the unified

> "wakeup-source" property.

> 

> Cc: Michal Simek <michal.simek@xilinx.com>

> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

> ---

>  arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 2 +-

>  arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 2 +-

>  arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts | 2 +-

>  arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts | 2 +-

>  4 files changed, 4 insertions(+), 4 deletions(-)

> 

> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts

> index eb5e8bddb610..527b4d0f88e2 100644

> --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts

> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts

> @@ -49,7 +49,7 @@

>  			label = "sw4";

>  			gpios = <&gpio 23 GPIO_ACTIVE_LOW>;

>  			linux,code = <KEY_POWER>;

> -			gpio-key,wakeup;

> +			wakeup-source;

>  			autorepeat;

>  		};

>  	};

> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts

> index 25dd57485323..0397bf66b2e7 100644

> --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts

> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts

> @@ -46,7 +46,7 @@

>  			label = "sw19";

>  			gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;

>  			linux,code = <KEY_DOWN>;

> -			gpio-key,wakeup;

> +			wakeup-source;

>  			autorepeat;

>  		};

>  	};

> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts

> index 259f21b0c001..7238f022a671 100644

> --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts

> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts

> @@ -46,7 +46,7 @@

>  			label = "sw19";

>  			gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;

>  			linux,code = <KEY_DOWN>;

> -			gpio-key,wakeup;

> +			wakeup-source;

>  			autorepeat;

>  		};

>  	};

> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts

> index a61b3cc6f4c9..fa055e718d4b 100644

> --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts

> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts

> @@ -46,7 +46,7 @@

>  			label = "sw19";

>  			gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;

>  			linux,code = <KEY_DOWN>;

> -			gpio-key,wakeup;

> +			wakeup-source;

>  			autorepeat;

>  		};

>  	};

> --

> 2.17.1

> 

> 


Will be good to point to 700a38b27eefc which introduced but that's fine.

Applied.

Thanks,
Michal
Sudeep Holla Nov. 5, 2018, 11:47 a.m. UTC | #2
On 05/11/2018 09:32, Michal Simek wrote:
> On 24. 10. 18 13:45, Sudeep Holla wrote:

>> Most of the legacy "gpio-key,wakeup" boolean property is already

>> replaced with "wakeup-source". However few occurrences of old property

>> has popped up again, probably from the remnants in downstream trees.

>>

>> This patch replaces the legacy properties with the unified

>> "wakeup-source" property.

>>

> 

> Will be good to point to 700a38b27eefc which introduced but that's fine.

> 


If you prefer, you can add the reference as you have already applied.
I am fine with that. Are you fine with 32-bit change ? I have posted
single patch covering multiple platforms so that I can ask ARM SoC to
pick it. If you can Ack it, I will ask them to pick directly.

-- 
Regards,
Sudeep
Michal Simek Nov. 5, 2018, 12:43 p.m. UTC | #3
On 05. 11. 18 12:47, Sudeep Holla wrote:
> 

> 

> 

> On 05/11/2018 09:32, Michal Simek wrote:

>> On 24. 10. 18 13:45, Sudeep Holla wrote:

>>> Most of the legacy "gpio-key,wakeup" boolean property is already

>>> replaced with "wakeup-source". However few occurrences of old property

>>> has popped up again, probably from the remnants in downstream trees.

>>>

>>> This patch replaces the legacy properties with the unified

>>> "wakeup-source" property.

>>>

>>

>> Will be good to point to 700a38b27eefc which introduced but that's fine.

>>

> 

> If you prefer, you can add the reference as you have already applied.

> I am fine with that. Are you fine with 32-bit change ? I have posted

> single patch covering multiple platforms so that I can ask ARM SoC to

> pick it. If you can Ack it, I will ask them to pick directly.

> 


32bit version should go directly via arm-soc guys. I have sent you my
review. Also I have updated that commit message to match with sha1 above.

Thanks,
Michal
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts
index eb5e8bddb610..527b4d0f88e2 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts
@@ -49,7 +49,7 @@ 
 			label = "sw4";
 			gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
 			linux,code = <KEY_POWER>;
-			gpio-key,wakeup;
+			wakeup-source;
 			autorepeat;
 		};
 	};
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
index 25dd57485323..0397bf66b2e7 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
@@ -46,7 +46,7 @@ 
 			label = "sw19";
 			gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
 			linux,code = <KEY_DOWN>;
-			gpio-key,wakeup;
+			wakeup-source;
 			autorepeat;
 		};
 	};
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts
index 259f21b0c001..7238f022a671 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu106-revA.dts
@@ -46,7 +46,7 @@ 
 			label = "sw19";
 			gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
 			linux,code = <KEY_DOWN>;
-			gpio-key,wakeup;
+			wakeup-source;
 			autorepeat;
 		};
 	};
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts
index a61b3cc6f4c9..fa055e718d4b 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu111-revA.dts
@@ -46,7 +46,7 @@ 
 			label = "sw19";
 			gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
 			linux,code = <KEY_DOWN>;
-			gpio-key,wakeup;
+			wakeup-source;
 			autorepeat;
 		};
 	};