From patchwork Mon Apr 20 07:45:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ivan T. Ivanov" X-Patchwork-Id: 47330 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4931B20553 for ; Mon, 20 Apr 2015 07:48:51 +0000 (UTC) Received: by lbbrr5 with SMTP id rr5sf35416762lbb.3 for ; Mon, 20 Apr 2015 00:48:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=5RGOBGjxQ1a12F6O42fDuEXkl1cMaafSH/9BCutHKXk=; b=dZOgC+uJfXA6N395sxPeWxvh+eVUGOGi7VSHTeMzNDP1MYwi+ABIIaZUQkJc8aCaVo aDNo/ftX7HSrdlkz0GAhmpt6zTcQWw0PxyVyAgJqan1p6Y/MpVGsQXOC4zBCzZoGLjbn gx13pLhG7plavdqflWPWp2b/iNKTlXyPFj4QL59KnH/l/QSJ4BI27ivca9wIDZ3IUFDc hbyaZqpWmOIVAQtzhsg9vI36nRzf3+3ye1m6Vxa6I3VuayfztjXRSSvj9F2212TDfQ4l z1+0HzR6JCIICxr9+PqKwNQA3/9rPkH4Bxxl/vvHcLM/SW9I3Mzw6g2dO0SmnsW03V0h E/yQ== X-Gm-Message-State: ALoCoQnpESoSLFlR/QVjDeIoT8vaL+SNvRyv9IaNAhLKjQuNDPmSZA/+Y7mAH7R20Li259Z3zZhx X-Received: by 10.112.13.200 with SMTP id j8mr6529679lbc.14.1429516130264; Mon, 20 Apr 2015 00:48:50 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.8.171 with SMTP id dl11ls722937lad.55.gmail; Mon, 20 Apr 2015 00:48:50 -0700 (PDT) X-Received: by 10.152.23.163 with SMTP id n3mr2711735laf.34.1429516130018; Mon, 20 Apr 2015 00:48:50 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id sj5si14413327lbb.44.2015.04.20.00.48.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 00:48:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbbuc2 with SMTP id uc2so124031070lbb.2 for ; Mon, 20 Apr 2015 00:48:49 -0700 (PDT) X-Received: by 10.152.87.204 with SMTP id ba12mr14748380lab.35.1429516129590; Mon, 20 Apr 2015 00:48:49 -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.67.65 with SMTP id l1csp1282731lbt; Mon, 20 Apr 2015 00:48:48 -0700 (PDT) X-Received: by 10.68.176.3 with SMTP id ce3mr25712691pbc.122.1429516125136; Mon, 20 Apr 2015 00:48:45 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id hf3si2933726pbc.223.2015.04.20.00.48.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 00:48:45 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yk6PW-0007Kh-Kf; Mon, 20 Apr 2015 07:46:30 +0000 Received: from mail-wi0-f172.google.com ([209.85.212.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yk6PG-0007DZ-0b for linux-arm-kernel@lists.infradead.org; Mon, 20 Apr 2015 07:46:14 +0000 Received: by wicmx19 with SMTP id mx19so33217255wic.1 for ; Mon, 20 Apr 2015 00:45:50 -0700 (PDT) X-Received: by 10.180.75.102 with SMTP id b6mr22734830wiw.75.1429515950869; Mon, 20 Apr 2015 00:45:50 -0700 (PDT) Received: from localhost.localdomain ([37.157.136.206]) by mx.google.com with ESMTPSA id ch6sm26048437wjc.3.2015.04.20.00.45.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Apr 2015 00:45:50 -0700 (PDT) From: "Ivan T. Ivanov" To: Kumar Gala Subject: [PATCH v2 1/7] ARM: dts: qcom: Add PM8841 functions device nodes Date: Mon, 20 Apr 2015 10:45:35 +0300 Message-Id: <1429515941-15334-2-git-send-email-ivan.ivanov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429515941-15334-1-git-send-email-ivan.ivanov@linaro.org> References: <1429515941-15334-1-git-send-email-ivan.ivanov@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150420_004614_227952_60EEAA0B X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.212.172 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Rob Herring , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ivan.ivanov@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.217.169 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 Add configuration nodes for multi purpose pins and thermal sensor devices. Thermal sensor will report PMIC die temperature. Signed-off-by: Ivan T. Ivanov --- arch/arm/boot/dts/qcom-pm8841.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 1.9.1 diff --git a/arch/arm/boot/dts/qcom-pm8841.dtsi b/arch/arm/boot/dts/qcom-pm8841.dtsi index 73813cc..8f1a0b1 100644 --- a/arch/arm/boot/dts/qcom-pm8841.dtsi +++ b/arch/arm/boot/dts/qcom-pm8841.dtsi @@ -1,3 +1,4 @@ +#include #include &spmi_bus { @@ -7,6 +8,23 @@ reg = <0x4 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pm8841_mpps: mpps@a000 { + compatible = "qcom,pm8841-mpp"; + reg = <0xa000 0x400>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <4 0xa0 0 IRQ_TYPE_NONE>, + <4 0xa1 0 IRQ_TYPE_NONE>, + <4 0xa2 0 IRQ_TYPE_NONE>, + <4 0xa3 0 IRQ_TYPE_NONE>; + }; + + temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400 0x100>; + interrupts = <4 0x24 0 IRQ_TYPE_EDGE_RISING>; + }; }; usid5: pm8841@5 {