From patchwork Mon Jul 27 13:51:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 51537 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 076CB22918 for ; Mon, 27 Jul 2015 13:52:09 +0000 (UTC) Received: by laah7 with SMTP id h7sf28023713laa.2 for ; Mon, 27 Jul 2015 06:52:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=7tiIXjYcs8gWI0ehZtDl3lLRcyw6qIjYUgIMXjHQjP4=; b=Tuumh9IpOG0qmywvyr3Q+ZcK2VQC4/qHeYJnRP/8WLE768ZwBoT3w25USSDtV+V905 Sd84pmZYHkIikO9P+e8bxaPSpMQJcefoRdeCBXd3/thyF5NzGpSoJA/+cu1i+QDt06ld p9pEnoLSbzDkC2o+aHl1EGoFrELGhh4JOEENZR1TaErn60HDu1fe5U9CF9RNJS1YOgtC ak87AI0cpIoetn2vRhxKxRwUA8Aw3D2dPHKfuNLfyYi9jhRtASVOzJ4iVCOg2xFE3Si1 JJDqqqMOKXiUQm+Wfx5shDMuPTgXH39d0ge4WgQm2Rof1KKzD81GQLHUr3iJYj4kcIOP FQaQ== X-Gm-Message-State: ALoCoQldueHXc7rUZncT/xI4RXZI3R872loXOR5Wz3pGXI3IHNbH02y76Q2TyGqaBcFQchhH2jH+ X-Received: by 10.194.60.73 with SMTP id f9mr12154555wjr.6.1438005127970; Mon, 27 Jul 2015 06:52:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.235 with SMTP id r11ls680018lal.108.gmail; Mon, 27 Jul 2015 06:52:07 -0700 (PDT) X-Received: by 10.152.203.233 with SMTP id kt9mr23752013lac.99.1438005127769; Mon, 27 Jul 2015 06:52:07 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id v16si15279017lal.150.2015.07.27.06.52.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 06:52:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by lafd3 with SMTP id d3so39067539laf.1 for ; Mon, 27 Jul 2015 06:52:07 -0700 (PDT) X-Received: by 10.112.199.133 with SMTP id jk5mr27752157lbc.32.1438005127292; Mon, 27 Jul 2015 06:52:07 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1544447lba; Mon, 27 Jul 2015 06:52:06 -0700 (PDT) X-Received: by 10.70.33.67 with SMTP id p3mr68871049pdi.126.1438005125060; Mon, 27 Jul 2015 06:52:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cc1si44387692pdb.70.2015.07.27.06.52.04; Mon, 27 Jul 2015 06:52:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753895AbbG0NwC (ORCPT + 28 others); Mon, 27 Jul 2015 09:52:02 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:32997 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752609AbbG0Nv7 (ORCPT ); Mon, 27 Jul 2015 09:51:59 -0400 Received: by wicmv11 with SMTP id mv11so140355530wic.0 for ; Mon, 27 Jul 2015 06:51:58 -0700 (PDT) X-Received: by 10.180.218.227 with SMTP id pj3mr23249503wic.59.1438005118378; Mon, 27 Jul 2015 06:51:58 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-147-3-201.as13285.net. [78.147.3.201]) by smtp.gmail.com with ESMTPSA id uc3sm13803091wib.2.2015.07.27.06.51.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jul 2015 06:51:57 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v1 4/7] ARM: dts: apq8064: Add pm8921 mfd and its gpio node Date: Mon, 27 Jul 2015 14:51:52 +0100 Message-Id: <1438005112-16433-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438004945-16175-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1438004945-16175-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds pmic gpio node to the device tree, this node is necessary for devices like wlan to control reset gpio. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 1e1706e..647a7e0 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -6,7 +6,6 @@ #include #include #include - / { model = "Qualcomm APQ8064"; compatible = "qcom,apq8064"; @@ -287,6 +286,41 @@ compatible = "qcom,ssbi"; reg = <0x00500000 0x1000>; qcom,controller-type = "pmic-arbiter"; + + pmicintc: pmic@0 { + compatible = "qcom,pm8921"; + interrupt-parent = <&tlmm_pinmux>; + interrupts = <74 8>; + #interrupt-cells = <2>; + interrupt-controller; + #address-cells = <1>; + #size-cells = <0>; + + pm8921_gpio: gpio@150 { + + compatible = "qcom,pm8921-gpio"; + reg = <0x150>; + interrupts = <192 1>, <193 1>, <194 1>, + <195 1>, <196 1>, <197 1>, + <198 1>, <199 1>, <200 1>, + <201 1>, <202 1>, <203 1>, + <204 1>, <205 1>, <206 1>, + <207 1>, <208 1>, <209 1>, + <210 1>, <211 1>, <212 1>, + <213 1>, <214 1>, <215 1>, + <216 1>, <217 1>, <218 1>, + <219 1>, <220 1>, <221 1>, + <222 1>, <223 1>, <224 1>, + <225 1>, <226 1>, <227 1>, + <228 1>, <229 1>, <230 1>, + <231 1>, <232 1>, <233 1>, + <234 1>, <235 1>; + + gpio-controller; + #gpio-cells = <2>; + + }; + }; }; gcc: clock-controller@900000 {