From patchwork Fri Jun 17 20:28:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 70374 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp457848qgy; Fri, 17 Jun 2016 13:28:23 -0700 (PDT) X-Received: by 10.66.194.68 with SMTP id hu4mr4294058pac.23.1466195303532; Fri, 17 Jun 2016 13:28:23 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e71si14173926pfg.248.2016.06.17.13.28.23; Fri, 17 Jun 2016 13:28:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752796AbcFQU2W (ORCPT + 8 others); Fri, 17 Jun 2016 16:28:22 -0400 Received: from mail-lf0-f54.google.com ([209.85.215.54]:36289 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751873AbcFQU2W (ORCPT ); Fri, 17 Jun 2016 16:28:22 -0400 Received: by mail-lf0-f54.google.com with SMTP id q132so5179212lfe.3 for ; Fri, 17 Jun 2016 13:28:21 -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=rKKw9q+IFoCySJzkVADUUHGuTfPVe4DeLZUonLZtb3g=; b=g5JC5XLaaKjcbNmvGbIOhyecrZxECZ/fCU9Pp5ZlAszKlx+GIQ7xerW4giNewf2/Rr gV5pRmzW1YX7H1Z869EjVmQApQjKgVVoq0IMhEHD9SeFsNSAPQYPKxOfyRD2y+V66UKu SQmKH4ZtD6UKazVtxtZDXOFA7VX4xZ561mi4E= 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=rKKw9q+IFoCySJzkVADUUHGuTfPVe4DeLZUonLZtb3g=; b=LTVYKv8fam0rw0j7PdlL9xTBVB3ZCbDgd6urdGdr9licTuVEk1h7pMrkdTBQ6ZJ+UV f2nbuxVmuTZft2rMHPlkTXSqe2HHNfC77qNqQm6uIWdTdj9KnudAm9k5+4R0ersLzHNs x2MMmWwbUX7+u1K/V91FVEv4XTLFh2xXamr8XDzWo/3nYn5vgOhcQQEUJF66/tdkpOCb bdEXb4AU5Wr6vICDtkS4pR9DE/3rHO9jmbaHXQxDyetXl80u+E0vdfyCfOKvsFjHMshm PDd4ytSyjF0cDaGFL4GKcJFQhLkzoTQo2p5GfmNQUoPFj16sau6p583ji6Tbb5P+129n kiSA== X-Gm-Message-State: ALyK8tKmsHtgSiJEUs2eXSrv33dqvSPCOxmcfX/Olt2cDYfdOBKEr7lrnT82uZfrT/nAt9BQ X-Received: by 10.25.158.79 with SMTP id h76mr1339140lfe.152.1466195300454; Fri, 17 Jun 2016 13:28:20 -0700 (PDT) Received: from localhost.localdomain.localdomain (c-cc7c71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.124.204]) by smtp.gmail.com with ESMTPSA id o7sm2366292lfg.45.2016.06.17.13.28.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jun 2016 13:28:19 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Andy Gross Cc: Stephen Boyd , Bjorn Andersson , David Brown , Linus Walleij Subject: [PATCH 1/7] ARM: dts: add GPIO and MPP to MSM8660 PMIC Date: Fri, 17 Jun 2016 22:28:05 +0200 Message-Id: <1466195292-28236-2-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 In-Reply-To: <1466195292-28236-1-git-send-email-linus.walleij@linaro.org> References: <1466195292-28236-1-git-send-email-linus.walleij@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This adds the 8660 PMIC GPIO and MPP blocks to the MSM8660 DTSI. Verified against the vendor tree to be in these locations with these interrupts, tested on the APQ8060 Dragonboard. Reviewed-by: Stephen Boyd Signed-off-by: Linus Walleij --- arch/arm/boot/dts/qcom-msm8660.dtsi | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) -- 2.4.11 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi index cd214030b84a..6a62b62ad980 100644 --- a/arch/arm/boot/dts/qcom-msm8660.dtsi +++ b/arch/arm/boot/dts/qcom-msm8660.dtsi @@ -143,6 +143,44 @@ #address-cells = <1>; #size-cells = <0>; + pm8058_gpio: gpio@150 { + compatible = "qcom,pm8058-gpio", + "qcom,ssbi-gpio"; + reg = <0x150>; + interrupt-parent = <&pmicintc>; + 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>; + + }; + + pm8058_mpps: mpps@50 { + compatible = "qcom,pm8058-mpp", + "qcom,ssbi-mpp"; + reg = <0x50>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&pmicintc>; + interrupts = + <128 1>, <129 1>, <130 1>, <131 1>, + <132 1>, <133 1>, <134 1>, <135 1>, + <136 1>, <137 1>, <138 1>, <139 1>; + }; + pwrkey@1c { compatible = "qcom,pm8058-pwrkey"; reg = <0x1c>;