From patchwork Fri Sep 18 12:31:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 53866 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id B7D51218E3 for ; Fri, 18 Sep 2015 12:31:42 +0000 (UTC) Received: by wicmn1 with SMTP id mn1sf8378690wic.1 for ; Fri, 18 Sep 2015 05:31:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=jEO9T3IN3R4WA+uoHhWSNnOBGt4hAzoU/XwzKlTAkEI=; b=e9aeHz9s4pXLfjSIFpVydyLtmSyujcZYAF+L4OlolMR+cxw2N1tmhi7J5JKdvaUxyC usClPjPD9dgrn7dfFu1+QT6LREF15DaFl5DWYF2PMWRBwsEcowhE3liys/fF2nqTXBGa ZghKFJ5JX9zJUBwSfXv7JefGctfnUUkLyC7JzIkqEJShguAbz/cQasvCoU92mUcuCDC/ UkeWKFBBcmleiazX2DaJ6RL3cOeRbx5Sm44mqVx67SzjrruUuS7ZBWjbfv4mb9nhpCPY pGZwJIQhAIL/RLX+w4XIFPmh0aZvLTIT5ECuv8nDwdH1nTr3DrxkTNkSGOqKw60MC9/b asxw== X-Gm-Message-State: ALoCoQnd1+dU0ujr7ClmP3kYThsvLqXj4h10Rmg0Gl/x1hGc3It4wnIzNdCB1t5ETommNsym1z96 X-Received: by 10.152.21.42 with SMTP id s10mr851191lae.9.1442579502054; Fri, 18 Sep 2015 05:31:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.1.232 with SMTP id 8ls203609lap.103.gmail; Fri, 18 Sep 2015 05:31:41 -0700 (PDT) X-Received: by 10.152.219.4 with SMTP id pk4mr3024921lac.94.1442579501894; Fri, 18 Sep 2015 05:31:41 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id dc11si5857916lad.113.2015.09.18.05.31.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2015 05:31:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lanb10 with SMTP id b10so29390591lan.3 for ; Fri, 18 Sep 2015 05:31:41 -0700 (PDT) X-Received: by 10.152.219.34 with SMTP id pl2mr991829lac.29.1442579501739; Fri, 18 Sep 2015 05:31:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp263651lbq; Fri, 18 Sep 2015 05:31:40 -0700 (PDT) X-Received: by 10.66.221.193 with SMTP id qg1mr7195274pac.103.1442579500541; Fri, 18 Sep 2015 05:31:40 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id co2si13236043pbb.197.2015.09.18.05.31.40; Fri, 18 Sep 2015 05:31:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753906AbbIRMbg (ORCPT + 30 others); Fri, 18 Sep 2015 08:31:36 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:35467 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753887AbbIRMbb (ORCPT ); Fri, 18 Sep 2015 08:31:31 -0400 Received: by wicge5 with SMTP id ge5so30766755wic.0 for ; Fri, 18 Sep 2015 05:31:30 -0700 (PDT) X-Received: by 10.194.174.201 with SMTP id bu9mr7739457wjc.73.1442579490659; Fri, 18 Sep 2015 05:31:30 -0700 (PDT) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id qc4sm8641224wjc.33.2015.09.18.05.31.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Sep 2015 05:31:30 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org Subject: [PATCH 06/14] ARM: dts: apq8064: add pm8921 pwrkey support Date: Fri, 18 Sep 2015 13:31:25 +0100 Message-Id: <1442579485-20187-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442579371-19822-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1442579371-19822-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds support to pm8921 power button. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 1d4fa2b..4a2f159 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -380,6 +380,14 @@ allow-set-time; }; + pwrkey@1c { + compatible = "qcom,pm8921-pwrkey"; + reg = <0x1c>; + interrupt-parent = <&pmicintc>; + interrupts = <50 1>, <51 1>; + debounce = <15625>; + pull-up; + }; }; };