From patchwork Thu Jul 27 06:30:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 9866333 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 8F3956038C for ; Thu, 27 Jul 2017 06:31:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81B6C287CF for ; Thu, 27 Jul 2017 06:31:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76363287D8; Thu, 27 Jul 2017 06:31:33 +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 EE24B287D7 for ; Thu, 27 Jul 2017 06:31:30 +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=Rou1iQ26u7o2NxPaT5OdYW0sVoP9jFOpVK7Ou8Axhuw=; b=guFrp7TltFnmcfeQYWCwfAoAoF msnFBv/hjTszD4SS2G2zvIoeZmD2lrO+9VEeL3zd9OUvpXTXqS6kLt1mcoUR+4iPhEDG5D6uCQ5mg rTFeG6NmqedoQ3UpJ04Ug+NisVG+tubaEgke1Q2J0m7+Ah9JaMJFkZ8DQjwXgek0dpfpYzju++Tog haCPARjwWQdhU6Blhv0aHARLDqHGV4IliKr8qFlfjj2ffMQZEwufYvLGm7VyzJS5m0BdrMdDzS7y/ Ae6UV7o9mliWz+5dQkBnfbTGzI4CTl77oWTFDhSqcnsVbwj9nAcqRcr8L2iRIc/HnT7UDN4xBMqzs QayDIviA==; 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 1dacKJ-0006Q7-Fh; Thu, 27 Jul 2017 06:31:15 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dacKF-0006PQ-9i for linux-arm-kernel@lists.infradead.org; Thu, 27 Jul 2017 06:31:13 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DB9C1607E1; Thu, 27 Jul 2017 06:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501137052; bh=f9dHRsTP+aOPhFhpr68F25VcAIi0cDpZhPhcg6qcIO8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QbT5ylHMTshdKweNnq7E3ToYcPHdmt6CDxEjADJNGsHHKfBB8Y/nUt97Vm098QZyR xLPxyAabYgH34OYGBuV0ZcnakcrOEEdSEIiKwpmiG44dZf7/Ev4EZ6WepA+5LK4dN6 iug2UxmRRl0pJitvxSFhABqjU9fPcfh98NG1h1W0= 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 7E09060865; Thu, 27 Jul 2017 06:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501137052; bh=f9dHRsTP+aOPhFhpr68F25VcAIi0cDpZhPhcg6qcIO8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QbT5ylHMTshdKweNnq7E3ToYcPHdmt6CDxEjADJNGsHHKfBB8Y/nUt97Vm098QZyR xLPxyAabYgH34OYGBuV0ZcnakcrOEEdSEIiKwpmiG44dZf7/Ev4EZ6WepA+5LK4dN6 iug2UxmRRl0pJitvxSFhABqjU9fPcfh98NG1h1W0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7E09060865 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 2/2] arm64: dts: Add device node for pmi8994 gpios Date: Thu, 27 Jul 2017 12:00:36 +0530 Message-Id: <1501137036-20155-2-git-send-email-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501137036-20155-1-git-send-email-vivek.gautam@codeaurora.org> References: <1501137036-20155-1-git-send-email-vivek.gautam@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170726_233111_431067_64F6909A X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. 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, 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 --- 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..3b04ca63c31e 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"; + 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 {