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: 6240171 Return-Path: X-Original-To: patchwork-linux-arm-msm@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 BB3F99F1BE for ; Mon, 20 Apr 2015 07:47:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0015620361 for ; Mon, 20 Apr 2015 07:47:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73EC220357 for ; Mon, 20 Apr 2015 07:47:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754142AbbDTHrj (ORCPT ); Mon, 20 Apr 2015 03:47:39 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:33522 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754002AbbDTHpw (ORCPT ); Mon, 20 Apr 2015 03:45:52 -0400 Received: by wgin8 with SMTP id n8so169062523wgi.0 for ; Mon, 20 Apr 2015 00:45:51 -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=K/rzP8lyOWQ7JhTKqVePFxUXeNV/ndHL1n399TDO6soxgpJJSoWwq0WZOyZ9FsWet0 rKsvZfvieyALaNe9RSUOpTjSl8OMvs+8Jxqirhkho0zObb8vEuAYmM7OfCqV7sw1FyqA EKTGtq1SbZoN/lUjFgB7lHXRzDcQcQ6tzviDExBP0JuKM3yMRcnRZWqj7VqJqrEHfDdb dgvPLDdmWPZYSSzAuX7Wz+bskifbkc37Pz+Ypoz5c4EiRWwxJsuGSstXU3eIBouhmqVP ywVEV8ak6DHyR3jGqFPTBBfbZI7i311xChcwp6Tlp0d8ivHwMQU8GbzlSFzTyXymrnpI x+OQ== X-Gm-Message-State: ALoCoQlGfwsIKJFg0BUG6eXsuLYMIszSLRIfPy+0Rzht6mwmHVTXrGBAhl0cJGsgrlCbEDmwT2O4 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 Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org 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> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 -- 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-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 {