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: 7215781 Return-Path: X-Original-To: patchwork-linux-arm@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 8D61F9F372 for ; Fri, 18 Sep 2015 12:34:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C8B8F208D0 for ; Fri, 18 Sep 2015 12:34:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B8F0208D7 for ; Fri, 18 Sep 2015 12:34:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zcupv-00081r-O7; Fri, 18 Sep 2015 12:32:19 +0000 Received: from mail-wi0-f177.google.com ([209.85.212.177]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZcupU-0007IN-Ev for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2015 12:31:57 +0000 Received: by wicgb1 with SMTP id gb1so30399320wic.1 for ; Fri, 18 Sep 2015 05:31:30 -0700 (PDT) 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=pGyjZpGUyvY17BEDXP2XmYzreqqRFO/Tm7GON7tePMY=; b=YFkO5IE82dxUzXCu4QrFkNprOLRQFecZ83LsB4xDa9eHHVDuWlGL9pb8uhonZqm+aw B5QDD/5968tr2D7cNwBkLdweRJMYraFsGqTkBp2wFIEHFYwSAlIOwZ4Jxs/qCxrDLw7b iyoJpL6sXbaPPNCBsTnbkJa2LKyBWqUB+Imr2UE126NqHgGx02ZagFT6LBArv/e3h4HI TzbieUeCHnERbkkb0HVnmoK6nPbW4U+dZlOB9zkYM9Mxb+DRpDUotKGu0X371RE0MhbX z+3o3B6qu+GDNFjwU+yDdWYKKlY0+rVOfXbEiKbR60qewOfQ8H55zcA9Jbpkli8SOQkL bibA== X-Gm-Message-State: ALoCoQndoTBf2AGuNQAiCVXK1Kd2TJGjSZ/LZ37PeKEdV6IsxQ29OwmAK9KpXtITe+fV51FonOZv 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150918_053152_960679_646D1D39 X-CRM114-Status: GOOD ( 12.74 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Rob Herring , srinivas.kandagatla@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 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; + }; }; };