From patchwork Thu May 19 05:00:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Gross X-Patchwork-Id: 9124191 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7ED8F9F1D3 for ; Thu, 19 May 2016 05:00:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC9C32024C for ; Thu, 19 May 2016 05:00:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B4C8120221 for ; Thu, 19 May 2016 05:00:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751948AbcESFAq (ORCPT ); Thu, 19 May 2016 01:00:46 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:35754 "EHLO mail-oi0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541AbcESFAp (ORCPT ); Thu, 19 May 2016 01:00:45 -0400 Received: by mail-oi0-f53.google.com with SMTP id x19so111193001oix.2 for ; Wed, 18 May 2016 22:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mYARmOg9GVc5/pwYUNFEHYLQGhAsggBlFAdAdNw9aNs=; b=BAbOkld7+VH04PKSXPd2XA4tN57d00Oocv025HcSHfS8Wd4NFgPix2w1IXVBLtyylX zQGSp86LCWUW5b3aENiNEJxt+fDi8ImqPS9GAVtfowUGKmmFQZJpLsdCJkBqMIk08caT AHhaRAS7ePKXlS5rnWhd28cdjOdVLB+vQC3ro= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mYARmOg9GVc5/pwYUNFEHYLQGhAsggBlFAdAdNw9aNs=; b=QFL8eEWyGfajCx6KH9Q493WUc1hu5AgTxXUqnX6UIxEADZuq+JqXECi/EkNtxxaZDE /L9ykTDiGUbSzFu7vLZw3NzzgI8D24tHiYvy5OVTlSGjVX6whvEGdRnWc+LNzwy6g+oc qYJeGLyK51ihSDW4SSMRp6ePwzijs0IboA7rkPNnM/ti1slVSp+DLA7p3DIjgFhfOVxT QyVAOPwmI9CoijrWT+rfFGaeC7dr2cKft+/s2qvgy9t6VNl9l/TngXvjsw1VPWn5qXaZ s61TYrK5H+vzOkR3LPTJ+Hj5QsOPXHtgvLlfvxYTg3GQdnNdGdsg6t/akTg9ILAr8KgQ 3CvA== X-Gm-Message-State: AOPr4FVl+GVAcn3a8YFhibB0ns9m/F+DvKtidq1En0ggsTyr2gLaCF2HLZp+mJVrf6ckp8WX X-Received: by 10.157.7.66 with SMTP id 60mr6192035ote.187.1463634044569; Wed, 18 May 2016 22:00:44 -0700 (PDT) Received: from localhost ([2602:306:c558:19b0:a405:4675:28db:e07c]) by smtp.gmail.com with ESMTPSA id ry2sm3360724oeb.4.2016.05.18.22.00.44 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 18 May 2016 22:00:44 -0700 (PDT) From: Andy Gross To: linux-pm@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, stanimir.varbanov@linaro.org, Andy Gross Subject: [PATCH 5/5] ARM: dts: qcom: pma8084: Add pwrkey entry Date: Thu, 19 May 2016 00:00:20 -0500 Message-Id: <1463634020-17252-6-git-send-email-andy.gross@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1463634020-17252-1-git-send-email-andy.gross@linaro.org> References: <1463634020-17252-1-git-send-email-andy.gross@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 This patch adds the power key device tree node. Signed-off-by: Andy Gross Reviewed-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-pma8084.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-pma8084.dtsi b/arch/arm/boot/dts/qcom-pma8084.dtsi index ea7fce3..82d2580 100644 --- a/arch/arm/boot/dts/qcom-pma8084.dtsi +++ b/arch/arm/boot/dts/qcom-pma8084.dtsi @@ -18,6 +18,14 @@ interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; }; + pwrkey@800 { + compatible = "qcom,pm8941-pwrkey"; + reg = <0x800>; + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + }; + pma8084_gpios: gpios@c000 { compatible = "qcom,pma8084-gpio", "qcom,spmi-gpio"; reg = <0xc000>;