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: 9124201 Return-Path: X-Original-To: patchwork-linux-pm@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 BF404BF29F for ; Thu, 19 May 2016 05:00:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 03C3920218 for ; Thu, 19 May 2016 05:00:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BAE852024D for ; Thu, 19 May 2016 05:00:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751541AbcESFAr (ORCPT ); Thu, 19 May 2016 01:00:47 -0400 Received: from mail-oi0-f44.google.com ([209.85.218.44]:36844 "EHLO mail-oi0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751610AbcESFAp (ORCPT ); Thu, 19 May 2016 01:00:45 -0400 Received: by mail-oi0-f44.google.com with SMTP id x201so111268646oif.3 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=Ilt0Pg9F8rJtuVdeRURJs/YBrSsHsAwdaZwa1JgK1e0ZYUY6xG2IsPgxLv+CeD0wgi QJ/wRjaVFjJPWU5Isnw1KPykuFnlSgWP5uZsFZgzHt9JiIfkMena/rKwFpZoUGWsplsn HhYdOB3DhcW16hV8/yMTTlO1f/EV5TFx/7i0b+noFwHzA2aRnnr7Hj5Y6D4Hn2rnlrQ8 yJ9W0xVwIl8NZ2Lq9sSWPXhFy0Q+FqeHYIWWxrAqnMNKJUW/w60fSqAWMwOoKHmb94CA 1AVcPO3gL3aWrqgvv1NCuv7+lU42mPuoagbAK9lucDvXqojKqJ7qxrOOalWPPYxPS/wE GE3Q== X-Gm-Message-State: AOPr4FV6ZQdZn1VjAzyPTR9QYF564qqdC7rAHLwEeBa77i3N1/DgHUgP7BdhPognfQdj3PWH 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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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>;