From patchwork Fri Jul 28 13:18:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 9868793 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E91F160382 for ; Fri, 28 Jul 2017 13:19:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D442828477 for ; Fri, 28 Jul 2017 13:19:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C89A228560; Fri, 28 Jul 2017 13:19:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6320928477 for ; Fri, 28 Jul 2017 13:19:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=S0uUO2kunc7kGoiowPvKnkPL5yP+OSJZxyqq9VBsEsE=; b=j3r4eqL3UFGiOfNwFiIYuISYki z0Tj5HfTr+i6EU5Cer6cnHehcRZpv8bz5KIlSDIWLD4aSQqL9kje9cFJnNVe2TN+vddcYq+V43T+u 981NhsgDFM68LmOoUXaY4/ytiELwVQdbitc5m7Tc9SF8UI+Ro+WAIaXy4tZMcLhnMOCcHauJR/s1c NDcaW2ChY7yZc0qPzEg+VXWjFn5e7fqRH/hUxAmH5Y/OrfjrYhZrLSUIYxiCskSh0JPZJB7SAT4oL 6VoxC2zcspHOxtTZ+cWTSl51H19Ma1qlwIP8YtHEPzlV6zdUn+Xi2FH0UY7EUGPqrvLDysNs1ZDhc E3H/9/Wg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1db5Af-0004Vw-Jn; Fri, 28 Jul 2017 13:19:13 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1db5AL-0004CB-Kk for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2017 13:19:07 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2798660AD3; Fri, 28 Jul 2017 13:18:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501247912; bh=1TQ+Faf2FFE0MxGu90JXiwOx7gaUzBxdMHEPFImLUEk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QqSzx+FAsgocryts6YalO17zMzIPWyitXvXeirV5/8tx8FN2TVksbCi2Umf4LZC1U aK8iyNjtKDSVkb1wjCfh8Etwdwlc9L2OCK/s+/mEWahsY6je0SYkL6LfTEGX1ULxLl 28l4CC1tsL9yknawPMSUJdM51LvPQFTuVL+FWEhc= Received: from blr-ubuntu-41.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id CDD9D60A37; Fri, 28 Jul 2017 13:18:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501247907; bh=1TQ+Faf2FFE0MxGu90JXiwOx7gaUzBxdMHEPFImLUEk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iiyABBIDysKvBEXjilHVcSFUSv4qiKv5VGZD6zkgUCztOKyBeZGONTxcybqro85Yt td8JR68Z3QNL3tkLy3ubybE2X6Mp6T3fqyFfWHuWX60MQ7qh5+P3GMyKd/Mt4GMgAS SKTuinQkQ6GGmX9iMIzC9PLudyZhEp20zWryqL2Y= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CDD9D60A37 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vivek.gautam@codeaurora.org From: Vivek Gautam To: bjorn.andersson@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios Date: Fri, 28 Jul 2017 18:48:13 +0530 Message-Id: <1501247893-30226-2-git-send-email-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501247893-30226-1-git-send-email-vivek.gautam@codeaurora.org> References: <1501247893-30226-1-git-send-email-vivek.gautam@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170728_061853_898117_92C29B1A X-CRM114-Status: GOOD ( 10.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, rnayak@codeaurora.org, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Vivek Gautam , 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-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd --- Changes since v1: - Added "qcom,spmi-gpio" to the compatible. arch/arm64/boot/dts/qcom/pmi8994.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi8994.dtsi b/arch/arm64/boot/dts/qcom/pmi8994.dtsi index d3879a4e8076..57673f92805d 100644 --- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi @@ -8,6 +8,23 @@ reg = <0x2 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pmi8994_gpios: gpios@c000 { + compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <2 0xc0 0 IRQ_TYPE_NONE>, + <2 0xc1 0 IRQ_TYPE_NONE>, + <2 0xc2 0 IRQ_TYPE_NONE>, + <2 0xc3 0 IRQ_TYPE_NONE>, + <2 0xc4 0 IRQ_TYPE_NONE>, + <2 0xc5 0 IRQ_TYPE_NONE>, + <2 0xc6 0 IRQ_TYPE_NONE>, + <2 0xc7 0 IRQ_TYPE_NONE>, + <2 0xc8 0 IRQ_TYPE_NONE>, + <2 0xc9 0 IRQ_TYPE_NONE>; + }; }; pmic@3 {