From patchwork Thu Jun 14 10:43:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 10463829 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 57BD3603EE for ; Thu, 14 Jun 2018 10:48:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 465342834A for ; Thu, 14 Jun 2018 10:48:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AC7C283C8; Thu, 14 Jun 2018 10:48:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DB70A2834A for ; Thu, 14 Jun 2018 10:48:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=kRE/RjeZa9Lt6eNDwGKGWTk8FYxBh6KWTpOVN9EEoLM=; b=SajSGGUdJMwpYHJWP0gstctC1V cz96Lx6kfFb0oNDzljnhM7KED8j2Bl+GqBI/sp8rvmkEoomJ25RX1V6IVV53FIkCUDX3+2Ia0xBpU MuKf2SsdVJ+ZQ7HkMlG0FxS2+0K6n7tFfiol9tT9M2HJodcS2jPI4uV0cLxOlGIKxgXqY+l+flzDE hXfRt/KmTQjEL0HAOYFtZ6pGX/2bs6ZmVloa/SCOF+aZlUqF0cHLzMggUV4hxVXmwsuWq6nNlbxPj hc3HUa1WCt2QLlBbVWL2aS2Wc8m/6ADKEqEKElEJ/ogt4cXhuqrCpxGi4zxt3vJ1AP3ahgSZzXhsy l+MAXoLQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTPnp-0003Zw-Op; Thu, 14 Jun 2018 10:48:29 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTPjy-0008JN-QA for linux-arm-kernel@lists.infradead.org; Thu, 14 Jun 2018 10:44:47 +0000 Received: by mail-lf0-x243.google.com with SMTP id j13-v6so8629043lfb.13 for ; Thu, 14 Jun 2018 03:44:20 -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 :in-reply-to:references; bh=IdYsJPMEv4nuycJs7YJd5jalqQSPROp1IR5aOtwfvBY=; b=DNNqEQElx/o/FooOuj/KOGS343kpzBhxS//J1XqxLMibkMX3qzeC2TPfg3egF1pB4p 7x46NgwySjceY/F5/i+5ABu1s+gxVo/UflwsLdK7qBb8e3Xe+q4/74QHQMBAV9cjdeVy chCktPDFQtA/wYCLzL2oRbpWNoYBpD/5v7iMI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=IdYsJPMEv4nuycJs7YJd5jalqQSPROp1IR5aOtwfvBY=; b=R58eC54/eXweKeqklqO2ZiGLk1SDwlStfKwscnEHLj0uJSLrkP1q3x6lfInfE2wBth 6iX7danjStrdGCKFR5XEF1/33dOjzKqD6QuKNP6V4kUHAGI7VbzGLLd7bX7XwPgBCHHx ydzBlmu3lEJDFinwAF6nG8dfpYkw65IFjtXNnBywPh6PC9p8fTi4oXr/3PlTikq9PEWN oJmygODp8IjhIUJ40PFFwsMnHtNF3WN+5TIeqGKuMzKSct5NGYOVFJOqitCa+mv5yasp ocrlnxwOYl7AlOwVqogKMj3HbDP3T7t9XAkwGPKf6h2/9dPzUeJO313EdheXxUE02FPR wi5w== X-Gm-Message-State: APt69E2rVBlQ+tB2z2uC5BngbsiqJkhHiK/fNYaEY7KJmMQZPgUM7K4c 8UD+Kndem84vthN+pGybsA6Iew== X-Google-Smtp-Source: ADUXVKLehiQHnKb/K9YnOcZii8QKBTvYIxcmJ5p+w1z7FsqqDHZ80UvTBrK+/PcOjW2H25orA0GXZA== X-Received: by 2002:a2e:5047:: with SMTP id v7-v6mr1475075ljd.122.1528973058659; Thu, 14 Jun 2018 03:44:18 -0700 (PDT) Received: from localhost (85-76-96-172-nat.elisa-mobile.fi. [85.76.96.172]) by smtp.gmail.com with ESMTPSA id u85-v6sm1022465lfi.5.2018.06.14.03.44.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 03:44:17 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Subject: [PATCH v3 6/6] arm64: dts: sdm845: Add tsens nodes Date: Thu, 14 Jun 2018 13:43:16 +0300 Message-Id: <448cdc793c6ac83ab6d0ba2a6bef00036ad20801.1528972165.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180614_034430_867691_CFAFC237 X-CRM114-Status: GOOD ( 10.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, Will Deacon , smohanad@codeaurora.org, bjorn.andersson@linaro.org, edubezval@gmail.com, David Brown , Rob Herring , vivek.gautam@codeaurora.org, Catalin Marinas , andy.gross@linaro.org, "open list:ARM/QUALCOMM SUPPORT" , "moderated list:ARM64 PORT AARCH64 ARCHITECTURE" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP SDM845 has two tsens blocks, one with 13 sensors and the other with 8 sensors. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index cdaabeb..7dd59b4 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -221,6 +221,22 @@ #interrupt-cells = <2>; }; + tsens0: tsens@c222000 { + compatible = "qcom,tsens-v2"; + reg = <0xc263000 0x1ff>, /* TM */ + <0xc222000 0x1ff>; /* SROT */ + #qcom,sensors = <13>; + #thermal-sensor-cells = <1>; + }; + + tsens1: tsens@c223000 { + compatible = "qcom,tsens-v2"; + reg = <0xc265000 0x1ff>, /* TM */ + <0xc223000 0x1ff>; /* SROT */ + #qcom,sensors = <8>; + #thermal-sensor-cells = <1>; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xc440000 0x1100>,