diff mbox series

ARM: dts: imx: replace gpio-key,wakeup with wakeup-source property

Message ID 20181221181203.6764-1-sudeep.holla@arm.com
State Accepted
Commit 08b88e80a1f476970284235278bf27a273b94118
Headers show
Series ARM: dts: imx: replace gpio-key,wakeup with wakeup-source property | expand

Commit Message

Sudeep Holla Dec. 21, 2018, 6:12 p.m. UTC
Most of the legacy "gpio-key,wakeup" and "enable-sdio-wakeup" boolean
properties 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") and commit 0dbcdc0622ea ("mmc: core: enable
support for the standard "wakeup-source" property")

Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: NXP Linux Team <linux-imx@nxp.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

---
 arch/arm/boot/dts/imx6q-pistachio.dts | 2 +-
 arch/arm/boot/dts/imx6sll-evk.dts     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Hi Fabio,

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

--
2.17.1

Comments

Shawn Guo Jan. 12, 2019, 2:50 a.m. UTC | #1
On Fri, Dec 21, 2018 at 06:12:03PM +0000, Sudeep Holla wrote:
> Most of the legacy "gpio-key,wakeup" and "enable-sdio-wakeup" boolean

> properties 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") and commit 0dbcdc0622ea ("mmc: core: enable

> support for the standard "wakeup-source" property")

> 

> Cc: Fabio Estevam <fabio.estevam@nxp.com>

> Cc: Shawn Guo <shawnguo@kernel.org>

> Cc: NXP Linux Team <linux-imx@nxp.com>

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


Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6q-pistachio.dts b/arch/arm/boot/dts/imx6q-pistachio.dts
index a31e83cd07a3..8f4b60dd819c 100644
--- a/arch/arm/boot/dts/imx6q-pistachio.dts
+++ b/arch/arm/boot/dts/imx6q-pistachio.dts
@@ -102,7 +102,7 @@ 
 		power {
 			label = "Power Button";
 			gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
-			gpio-key,wakeup;
+			wakeup-source;
 			linux,code = <KEY_POWER>;
 		};
 	};
diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts
index c8e115564ba2..30b5d63ed319 100644
--- a/arch/arm/boot/dts/imx6sll-evk.dts
+++ b/arch/arm/boot/dts/imx6sll-evk.dts
@@ -296,7 +296,7 @@ 
 	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
 	cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
 	keep-power-in-suspend;
-	enable-sdio-wakeup;
+	wakeup-source;
 	vmmc-supply = <&reg_sd3_vmmc>;
 	status = "okay";
 };