From patchwork Fri Dec 21 18:12:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 154415 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1223191ljp; Fri, 21 Dec 2018 10:12:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN7E7/I5VA6uHIxZbUNmYagSGzie2sYPv1Mq1GyFibgjY9I3kxXxeE4kJYnz7NpDxnW/appE X-Received: by 2002:a63:1560:: with SMTP id 32mr3307825pgv.383.1545415933769; Fri, 21 Dec 2018 10:12:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545415933; cv=none; d=google.com; s=arc-20160816; b=Ws/SZQ7DKZr0cw1xiXmQ+pXHo4aOIbY2kLN8mf6V+1UkwBqhof+vHyf2OXY13TPQ4O xFvx6671xOztahQ6ViPYC2XIvknbREL++8MG6sElbVjiWC3CJcUyRTN9SQuQin8Jcw5+ TRFA1SowJFfvfXmKeznXWTRYBYRc+iHDeaHprPAmYo1cO3VAMtapqLccDoQ7gAFIqViU XdJMvPC1zeyqQk5Rs+E95PFMsTZ2pv4WHINL4/5H6Ad1Gl5/1oDux9F4R6B2N8FnOiNa Gn6J2Kscjl6XD0meaB7SomwamadoqbPga9PFDoUoLneYLHMU8lsrr5ZhQG3ZPXteNe85 SkrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=dCHoQjh7qGKsAUIb9slkTU8s4k+JtYjzdSyzrgnwMXM=; b=s+8AZIAdgqHA3rD51aefwxNVj5zdyB9ZDvIeMGVhLTsixEZoeW/gE92XFqOAxJ42QC oGZ7JShECwGxvH3MhirLaaCyYjXc6C/w1wDWE7iyK8f2wTKIgMYSkUFYZV0MdzR3Nrhn JCM1D1Qr5mpOSQFP92rwlZHKcdlZDBaO5NYdEt1Dp+cOgZ5tE/UTVSqvh6RKHLG0Zjm3 sQ1irujbDGQ10enISPMF1XPPwEMGh0JVA4PLxCJQkRoK/FnQiXxXAC/cCMM4oQH3Oy8K IjXaeejUW/VmC44zDC+eiTg/jkr/flLI1L1dgS5dwdUam+ej+t6QvSBHAz9j9uhoCDVJ VKig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si18972212plo.196.2018.12.21.10.12.13; Fri, 21 Dec 2018 10:12:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725973AbeLUSMN (ORCPT + 6 others); Fri, 21 Dec 2018 13:12:13 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:56058 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732279AbeLUSMM (ORCPT ); Fri, 21 Dec 2018 13:12:12 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 89A3E1596; Fri, 21 Dec 2018 10:12:12 -0800 (PST) Received: from usa.arm.com (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 541EB3F575; Fri, 21 Dec 2018 10:12:11 -0800 (PST) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org, Sudeep Holla , Fabio Estevam , Shawn Guo , NXP Linux Team Subject: [PATCH] ARM: dts: imx: replace gpio-key, wakeup with wakeup-source property Date: Fri, 21 Dec 2018 18:12:03 +0000 Message-Id: <20181221181203.6764-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Cc: Shawn Guo Cc: NXP Linux Team Signed-off-by: Sudeep Holla --- 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 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 = ; }; }; 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 = <®_sd3_vmmc>; status = "okay"; };