From patchwork Fri Aug 31 04:13:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 11119 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0727223EFF for ; Fri, 31 Aug 2012 04:16:33 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7876AA183FB for ; Fri, 31 Aug 2012 04:15:55 +0000 (UTC) Received: by iafj25 with SMTP id j25so4157366iaf.11 for ; Thu, 30 Aug 2012 21:16:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=UoBEBkKvYEeeoxxUuJ/zlVv5HLfFc8IFkea/2l+TbzI=; b=mhiG7siZR4Dr+thKfQLDt3vNWS+npr5b0fT6qAOyLUgC6ea9s5VvUkkBqyonGjAwZ6 GL+/lkw6DP+Ws2DO7G+aNZWJW6epXEhujLI8wGKuA0e0fRge2Y+mgfM0UK9l8vUi3Q+n +PRod2XXrxrDAFEjo23waQtP4w4AuNDbfuKVRv9WRWEps6fgj/pVzIpkqZBb3FjsJXmN di+jO8l54ytt/PYalUdZU5VYVNRbbU5TKvy3/LWgU+WCnvRUgTVN+Kd7zoSEAxr2wEFv /mJszb2XepYzQY7eCbU0t396njUtfNn1UU+k6hAQx65SF4m3s/2wlmh5yfbsatVWDIaS 5d/Q== Received: by 10.50.237.41 with SMTP id uz9mr756171igc.43.1346386591819; Thu, 30 Aug 2012 21:16:31 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp44275igc; Thu, 30 Aug 2012 21:16:31 -0700 (PDT) Received: by 10.68.238.138 with SMTP id vk10mr15411386pbc.75.1346386590791; Thu, 30 Aug 2012 21:16:30 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id rt1si6328360pbc.75.2012.08.30.21.16.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Aug 2012 21:16:30 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by dade7 with SMTP id e7so1859840dad.37 for ; Thu, 30 Aug 2012 21:16:29 -0700 (PDT) Received: by 10.66.73.132 with SMTP id l4mr13344923pav.30.1346386589850; Thu, 30 Aug 2012 21:16:29 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id qx8sm2681199pbc.63.2012.08.30.21.16.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Aug 2012 21:16:29 -0700 (PDT) From: Sachin Kamat To: devicetree-discuss@lists.ozlabs.org Cc: linux-samsung-soc@vger.kernel.org, grant.likely@secretlab.ca, rob.herring@calxeda.com, sachin.kamat@linaro.org, patches@linaro.org, Olof Johansson , Thomas Abraham Subject: [PATCH 1/2] ARM: dts: Use active low flag for gpio-keys on Origen Date: Fri, 31 Aug 2012 09:43:49 +0530 Message-Id: <1346386430-3619-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkqaGuuE+Kd6eY1hECXEHrqGojyKO4TIsTURtsz44tncrrN5B9elUVr/XhljWj5Istfm2sp Commit: f447ed8b31d (gpio: samsung: add flags specifier to device-tree binding) adds a flag to represent active low state for gpio line. Since gpio-keys on Origen board are active low, using this flag to represent the same. Cc: Olof Johansson Cc: Thomas Abraham Signed-off-by: Sachin Kamat Reviewed-by: Thomas Abraham --- arch/arm/boot/dts/exynos4210-origen.dts | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index 0c49caa..c37edf0 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -62,31 +62,31 @@ up { label = "Up"; - gpios = <&gpx2 0 0 0 2>; + gpios = <&gpx2 0 0 0x10000 2>; linux,code = <103>; }; down { label = "Down"; - gpios = <&gpx2 1 0 0 2>; + gpios = <&gpx2 1 0 0x10000 2>; linux,code = <108>; }; back { label = "Back"; - gpios = <&gpx1 7 0 0 2>; + gpios = <&gpx1 7 0 0x10000 2>; linux,code = <158>; }; home { label = "Home"; - gpios = <&gpx1 6 0 0 2>; + gpios = <&gpx1 6 0 0x10000 2>; linux,code = <102>; }; menu { label = "Menu"; - gpios = <&gpx1 5 0 0 2>; + gpios = <&gpx1 5 0 0x10000 2>; linux,code = <139>; }; };