From patchwork Tue Jun 14 15:30:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 70043 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp2110342qgf; Tue, 14 Jun 2016 08:31:18 -0700 (PDT) X-Received: by 10.107.138.6 with SMTP id m6mr32222826iod.181.1465918277374; Tue, 14 Jun 2016 08:31:17 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si39136555pfb.251.2016.06.14.08.31.16; Tue, 14 Jun 2016 08:31:17 -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 S1751356AbcFNPbP (ORCPT + 8 others); Tue, 14 Jun 2016 11:31:15 -0400 Received: from mail-lf0-f54.google.com ([209.85.215.54]:35499 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751320AbcFNPbO (ORCPT ); Tue, 14 Jun 2016 11:31:14 -0400 Received: by mail-lf0-f54.google.com with SMTP id u74so106952206lff.2 for ; Tue, 14 Jun 2016 08:31:14 -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=PXH+Q1pEZ2ysnrTjRa9br8CU5pPtaJ5HtDNUa6j+Rgk=; b=Owbgm3N/ECHmHhWRPZSilo7KcfTWGsapGjIejNA80z8+bdnXgoI3HHiUI4vsEzigz/ i8twAHpWOKmOYk7z6soj94nbVL+lFA8Rt+8qAA9QQHKfM8iV98K9VwD6qmb5+Pbrjbjn dYHNXbUsBAIN8jmNV54FZ2qmHFlLT3mSrjzPE= 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=PXH+Q1pEZ2ysnrTjRa9br8CU5pPtaJ5HtDNUa6j+Rgk=; b=SyiVirNdpHJwYU4EAtnCRfKZUO8SzlbQCp+WpVNlTiUCBgSH3sOLNRNizvx6aOSdtM nLLHm4X5iKBm7l9SF3CmkkWbQa2HwjGXm6hc1X6P1qXN4ZZ3jwRy4utBa35sFAzXVdrf 5lHL/2bSzrPpufnVhbTYAL8B46RC3Emlc75/zTovs+WaeNEQepLmbasabpcB8R2HQAmv ZsgSjDdrcZDhBd7FxarMdaAc5jcisI6fb/CAPhjME/Ph+xNNB2v8HJPJUl5B7Nm4ndul AatfUi8SNXNdqEYCzSvBQqwQs1p+DKrrlfYqdk0A/bkG5j3eKPk5hBbEDqz9thnk1891 bQsw== X-Gm-Message-State: ALyK8tLuoiyO1e6VoW5BKRiI7WIfjPwRgf39eZjjvlLEdKY/rjYn0uvMCIuzf+qoLlw7Q+Yy X-Received: by 10.46.33.69 with SMTP id h66mr5509650ljh.35.1465918273256; Tue, 14 Jun 2016 08:31:13 -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 e32sm2266067lji.41.2016.06.14.08.31.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jun 2016 08:31:12 -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/5] ARM: dts: add GPIO and MPP to MSM8660 PMIC Date: Tue, 14 Jun 2016 17:30:55 +0200 Message-Id: <1465918259-11138-2-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 In-Reply-To: <1465918259-11138-1-git-send-email-linus.walleij@linaro.org> References: <1465918259-11138-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. 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>;