From patchwork Fri Dec 16 12:38:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 88298 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1380294qgi; Fri, 16 Dec 2016 04:39:29 -0800 (PST) X-Received: by 10.28.211.72 with SMTP id k69mr2455099wmg.137.1481891969591; Fri, 16 Dec 2016 04:39:29 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id k129si3162036wmb.68.2016.12.16.04.39.29; Fri, 16 Dec 2016 04:39:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@monstr-eu.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B45AEA75E9; Fri, 16 Dec 2016 13:39:16 +0100 (CET) X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bT3vQtdJvNm1; Fri, 16 Dec 2016 13:39:16 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BB10CA760C; Fri, 16 Dec 2016 13:39:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B923AA75B7 for ; Fri, 16 Dec 2016 13:38:52 +0100 (CET) X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02uPruS-LeFG for ; Fri, 16 Dec 2016 13:38:52 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by theia.denx.de (Postfix) with ESMTPS id 842A04BA16 for ; Fri, 16 Dec 2016 13:38:50 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id a20so5221105wme.2 for ; Fri, 16 Dec 2016 04:38:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references:mime-version:content-transfer-encoding; bh=bOdHjCVe/UYlMWoSmGtFMPQn9hN399o4In4Ity4x++A=; b=uZPcPHT3UsUZKYuKB3Pqr8MMNzsoc/9USN40uT07K+7Owr2zFbPF7PGaRzFCkezGtc Rnfm5pDO4wimOHVlfCk3D3ThJD+rBw3iy1ieKu2SBxEdX2GhO2m489JziIdPLFbdSJU5 vh0xRgwNYyR2hqHS4l2UuiRXQzBZ9KrAG3qEEurvh+02/1N418aRI5r/zqEJY/Y9hVe2 A36qiRmAEFRH3voAydQtSvrnj8qcRt3UyHb+0SC/X8o3+ti/3bff+qj8mvV5h0Jo2ob5 Dop5yA3ZIuwkSnBzTAL2ybpXxunB0ScUoe7xAdnrguxcT8ewysCZVKoQEoabi0PORYUe 7aAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:mime-version :content-transfer-encoding; bh=bOdHjCVe/UYlMWoSmGtFMPQn9hN399o4In4Ity4x++A=; b=ir2WB3EnfFrjSlVslLupvZWSKX/GWYmTBqnLKqCUp4wAqI56sv5gVfv5a9UKHrl1LM sSt8BpjoiFQyqi3HmNH8UW2YVjTEX3WZkaRUhI+XDDAzUvHMiuojOiDSNtK91FmZOOMG ylgyEdZqvCJ5nyrSZjb/vR31tYObfx7ndVxoq9H2snNNMdJHB5i5kHZ80/HOMFqsk2hl VVK5qhJ4SOlkCcLvSLkohIAF/K80Z1Yh3qLcGOF9MrSmbEGgYjCEIyq1pjTpBpAOMVD6 oFQ/qSs41e3V0Gn/ScGGHC/6t9qJluwenbKq9qq7NqVRuPrhc3CfVbDwFmq6gNeI/Xtr 28Kg== X-Gm-Message-State: AIkVDXJUVx9RwBqMyEl7/yflx4Mc4hg7miZmUMSqYdIjcNmpfKPi31xXoTj3eguBkyibRQ== X-Received: by 10.28.132.201 with SMTP id g192mr2688413wmd.134.1481891929841; Fri, 16 Dec 2016 04:38:49 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id p144sm3182154wme.23.2016.12.16.04.38.49 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 16 Dec 2016 04:38:49 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de Date: Fri, 16 Dec 2016 13:38:44 +0100 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: <628fdc6e96100103ca501323a8f9c098f3c532dc.1481891921.git.michal.simek@xilinx.com> References: <628fdc6e96100103ca501323a8f9c098f3c532dc.1481891921.git.michal.simek@xilinx.com> In-Reply-To: <628fdc6e96100103ca501323a8f9c098f3c532dc.1481891921.git.michal.simek@xilinx.com> References: <628fdc6e96100103ca501323a8f9c098f3c532dc.1481891921.git.michal.simek@xilinx.com> MIME-Version: 1.0 Cc: Albert Aribaud , Sudeep Holla , Punnaiah Choudary Kalluri , Christian Kohn , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= Subject: [U-Boot] [PATCH 4/4] ARM: dts: zynq: replace gpio-key, wakeup with wakeup-source property X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Sudeep Holla 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 Cc: "Sören Brinkmann" Signed-off-by: Sudeep Holla Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }; };