From patchwork Sun Jan 10 17:46:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 7997581 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 46C33BEEE5 for ; Sun, 10 Jan 2016 17:49:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 64F0320270 for ; Sun, 10 Jan 2016 17:49:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 910BE2025B for ; Sun, 10 Jan 2016 17:49:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aIK5C-00041Q-C2; Sun, 10 Jan 2016 17:47:14 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aIK58-0003zw-W0 for linux-arm-kernel@lists.infradead.org; Sun, 10 Jan 2016 17:47:11 +0000 Received: by mail-wm0-x231.google.com with SMTP id b14so237567974wmb.1 for ; Sun, 10 Jan 2016 09:46:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=BNSNKOn9fvdTp6d95U8gYwwlT55yRBgBo/XxHcvcGF0=; b=rcw3V7GYY0DyY4AykByHDMdjN1+D5RztpX+eYlmy7/Ff/19unnCYytL4h7MCxZlasA VfJ3ZNSWu1MVVRSJNskxyWI8BgPPMl2hEdA226dUxHs3KyhSIaI0l7qY5Ghwn3N5C3zE lS/9pvx/EFybTrcXtTaLr7ICj6cytw73gX5inSdO8Z70gTYyC1P3+mFu+eE1+1nJTvAn tkz8McTDNL+ZEJHl7bePTkYqgQg6E4Ra2hqcrG/cB51aWgkwPPjfKNcI390UJzSl65qT HGlqCJMZ/IcMuAPASVG3IeZ/wWhhQbQHOqyWA8zwsAC4TMmFXoccoiMvhX9xvjdqPN/O o/9Q== X-Received: by 10.28.16.78 with SMTP id 75mr9641163wmq.82.1452448008553; Sun, 10 Jan 2016 09:46:48 -0800 (PST) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id xx3sm57168076wjc.32.2016.01.10.09.46.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 10 Jan 2016 09:46:47 -0800 (PST) From: Ivaylo Dimitrov To: tony@atomide.com Subject: [PATCH] ARM: dts: omap3-n900: Allow gpio keys to be disabled Date: Sun, 10 Jan 2016 19:46:30 +0200 Message-Id: <1452447990-22775-1-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160110_094711_183115_02D6CDA2 X-CRM114-Status: UNSURE ( 7.62 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ivaylo Dimitrov , linux@arm.linux.org.uk, pawel.moll@arm.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, bcousson@baylibre.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add linux,can-disable; to all gpios exported from gpio-keys driver, so userspace can disable them Signed-off-by: Ivaylo Dimitrov Acked-By: Sebastian Reichel --- arch/arm/boot/dts/omap3-n900.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 8ea924c..b58e8a0 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -68,6 +68,7 @@ linux,input-type = ; linux,code = ; gpio-key,wakeup; + linux,can-disable; }; camera_focus { @@ -75,6 +76,7 @@ gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* 68 */ linux,code = ; gpio-key,wakeup; + linux,can-disable; }; camera_capture { @@ -82,6 +84,7 @@ gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; /* 69 */ linux,code = ; gpio-key,wakeup; + linux,can-disable; }; lock_button { @@ -89,6 +92,7 @@ gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* 113 */ linux,code = ; gpio-key,wakeup; + linux,can-disable; }; keypad_slide { @@ -97,6 +101,7 @@ linux,input-type = ; linux,code = ; gpio-key,wakeup; + linux,can-disable; }; proximity_sensor { @@ -104,6 +109,7 @@ gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>; /* 89 */ linux,input-type = ; linux,code = ; + linux,can-disable; }; };