From patchwork Fri Dec 21 18:11:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 154414 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1223055ljp; Fri, 21 Dec 2018 10:12:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN7DhzDQhuGCDm0kTjYsTxSD9at5UGX2L6k4ecpcKJfyxH2JCImRrNbxN2yfNLVCvMqcBfF+ X-Received: by 2002:a62:37c3:: with SMTP id e186mr3618718pfa.251.1545415925468; Fri, 21 Dec 2018 10:12:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545415925; cv=none; d=google.com; s=arc-20160816; b=jy1P0+z1Z6sA3+52TjvXfuEc5wr5P2BNVrJxmn2ytIkgyIilLBzXM/S+ZKKI6Y5IYa H3DDnRn4s06v/kTyfVI0UzjlE7ors5r3d24WaQMOZwiKldk0fVtZOUuS8cViiJYr4OgD xnofKqR5e/chXwNGWZSqPVWRK7gOC7SG0NCUePrst9rHyOxRMTuCcKVSJ27U3zhXdMSO xuqcOcxdMeTHUGrDFkN8gAD/eWOoFwlWInFf3zIgSu8884lpEi6SZGhbJP4LRI+g2Ox1 6FnmQfABb8acgmV3sXtNPIrkLASMbSz/zHQ21MDW5PgRB13L+m4zEhb5aiY8CvrjYWBX SXAQ== 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=DY1LIq3XQBk6yKu2Vmrl2Xa6tFZI7xtC8aref574ofo=; b=rSFYV6zVrKPZlaIIt59DjymA9wzZvyaAQzo0udKjWsrmIFY2qwEaTnHPJ/wv5RLSHL r+hXEC954ubOVIGgv5tY2iucfhJDCj07b9gShrAGlitt4v5powij0aGHLlzELViYd73d q+khEV7/VHFCMs3I+4gymZfE2r7oSrW2iN3ysbci53Mw3DJc986/OprY3F455Vmo+jih RziWFYeioxH3DNu+S46ju4gIDIG1N02HXhWFWWm9LBsC9cZ2TMoptOPy1q2HsP0xxYBv HM4N/W8NgLvEl+lQZzPU14eNyUCUNScP6eKMybU4jTmQTQzqkvW3cvhLS/aaYE4cy7uh UUjQ== 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.05; Fri, 21 Dec 2018 10:12:05 -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 S2391068AbeLUSMD (ORCPT + 6 others); Fri, 21 Dec 2018 13:12:03 -0500 Received: from foss.arm.com ([217.140.101.70]:56046 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391132AbeLUSMD (ORCPT ); Fri, 21 Dec 2018 13:12:03 -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 8A078EBD; Fri, 21 Dec 2018 10:12:02 -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 533893F575; Fri, 21 Dec 2018 10:12:01 -0800 (PST) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org, Sudeep Holla , Alexandre Belloni , Peter Rosin , Nicolas Ferre Subject: [PATCH] ARM: dts: at91: replace gpio-key, wakeup with wakeup-source property Date: Fri, 21 Dec 2018 18:11:49 +0000 Message-Id: <20181221181149.6708-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" 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 Cc: Peter Rosin Cc: Nicolas Ferre Signed-off-by: Sudeep Holla --- 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 -- 2.17.1 Acked-by: Peter Rosin 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; }; };