From patchwork Thu Feb 7 05:15:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 2109361 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id C58E3DFB7B for ; Thu, 7 Feb 2013 05:24:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750825Ab3BGFYz (ORCPT ); Thu, 7 Feb 2013 00:24:55 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:56974 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750793Ab3BGFYy (ORCPT ); Thu, 7 Feb 2013 00:24:54 -0500 Received: by mail-pa0-f47.google.com with SMTP id bj3so1183885pad.6 for ; Wed, 06 Feb 2013 21:24:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=6HvvwGfspk/bJvV9Yaf6ETdpcdVWgz4wb2b9+bBm5DU=; b=hJIFchLQ0PPWFHgLHVgfXwksbBGdGbQ/bxA2nyKMOTxAam1Jq+xlLGfCzZbsbhV44O TSuMxRA+erRwRvkv25znEOKOLnApPiPQVYL9Y7w3uxGljfYOxstHOsi8uDi1MG0xLT7S TKNl94mAxjYeMOPGNWP4ZFKX8lMG5T76gMD8roRiRfRBGHBzjbuMrqlxbpQJbjxIxYBj FEpLymL8p7EYjWNKVRGgJU2ifKLaHa8l8bA/RIvQmlYqudwNT1DvQOaIhGld4jBYZBR2 1dYaTw86U2/Dve0iK8GyVAHIg/dFSHJrodlKHM+/BFBG2NG0QcVUam7D2JpQrdLZrgvi BTbQ== X-Received: by 10.66.87.8 with SMTP id t8mr2107053paz.28.1360214694145; Wed, 06 Feb 2013 21:24:54 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id q4sm43047000paz.20.2013.02.06.21.24.51 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Feb 2013 21:24:53 -0800 (PST) From: Tushar Behera To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Cc: kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH 1/5] ARM: dts: exynos5250-arndale: Add node entry for gpio-buttons Date: Thu, 7 Feb 2013 10:45:25 +0530 Message-Id: <1360214129-4096-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlwZdy2PHEXN0LJHNeq3chYAVP7xoStROp6z2Pk7fvclFaHcZFkeuBOdHmCKWFxWAX64RKr Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Added GPIO buttons DT node to Arndale board file. Signed-off-by: Tushar Behera Signed-off-by: Sachin Kamat --- This series is based on for-next branch of Kukjin Kim's tree and added on top of the below patch: https://patchwork.kernel.org/patch/2042451/ --- arch/arm/boot/dts/exynos5250-arndale.dts | 48 ++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 63572f9..9ce40df 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -119,4 +119,52 @@ spi_2: spi@12d40000 { status = "disabled"; }; + + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + menu { + label = "SW-TACT2"; + gpios = <&gpx1 4 0 0x10000 2>; + linux,code = <139>; + gpio-key,wakeup; + }; + + home { + label = "SW-TACT3"; + gpios = <&gpx1 5 0 0x10000 2>; + linux,code = <102>; + gpio-key,wakeup; + }; + + up { + label = "SW-TACT4"; + gpios = <&gpx1 6 0 0x10000 2>; + linux,code = <103>; + gpio-key,wakeup; + }; + + down { + label = "SW-TACT5"; + gpios = <&gpx1 7 0 0x10000 2>; + linux,code = <108>; + gpio-key,wakeup; + }; + + back { + label = "SW-TACT6"; + gpios = <&gpx2 0 0 0x10000 2>; + linux,code = <158>; + gpio-key,wakeup; + }; + + wakeup { + label = "SW-TACT7"; + gpios = <&gpx2 1 0 0x10000 2>; + linux,code = <143>; + gpio-key,wakeup; + }; + }; };