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: 6240191 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 386239F1BE for ; Mon, 20 Apr 2015 07:49:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 50D3D20361 for ; Mon, 20 Apr 2015 07:49:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 673AE20306 for ; Mon, 20 Apr 2015 07:49:50 +0000 (UTC) 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-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=rGhf1uP9udWPvzy2qJNb35bnwWGwLDnwE2RjR4GJnZY=; b=SP0kwVxTdz+/m9TG8vhip9YJmlhbYUmt4LqSwegibxeN/Cn2iOfdq+9Roa/2oEIwpX bSXjJ71qa+S6iqw+zYIYOlxdBxyisUjdVYO6GakLTHEQEL+riuxLIykAmGYTzolJjaOH PyyJC8nUSYyw9mX7tuxrK0escVRiSJo20hZMu9JcaN3PsEJzV5T9IWO0rNFtzCsvD5pv JB0Z9SnZsSuVXS0fuaXOs3O26DlwSXG7gMd0TaQzPErwwG0c8wCgDSQq4DbkNDxppg9C Tcl1B/S+VnfQtvxarDAwozDijkLztiaeK/HLR/toZ1bLmI4Qy2YHwsqnTwWOT21DO1Sh ceEg== X-Gm-Message-State: ALoCoQkgIUNemcaXpoU/hzjJozW8ev68zff/VWjuZ1jMQUwKcS4Lz8tMhf6oOkjDCpospKVg1tnm 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 (/) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 {