From patchwork Mon Jul 2 12:44:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 10501307 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 0CC0F60325 for ; Mon, 2 Jul 2018 12:46:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED1871FF81 for ; Mon, 2 Jul 2018 12:46:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE47F1FFE6; Mon, 2 Jul 2018 12:46:11 +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 8F6C11FF81 for ; Mon, 2 Jul 2018 12:46:11 +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=GuAc3c/qP6+LU5QPNgb43aF1JsDmZri4xBmsaYeN6hM=; b=nNguv0ah4tAZj2dnEsFU2duEvg 8J6NGKjnSqKyz9fc2BlGTh1FUxSehw5FgL+Wa92lXsr5HXFz41VJLehjfDGwsNgiYanBY/EPYCh3K RtwvhXvALi6d6TbOb1jntMrzHr9mc8/ib/WENP86JY2CVcTdCsrDe3DgLwlRLAWy6HTAnEjRNNM9X N1WYH7ZvrDu+xlg7HE0+TSzdNGyaJEmObOrdQDm/+9PoQKOuCloWQMhJ2GO82anjd68vCwju76n3g R6rkXFnEN8rpx/dBVk+r7GvjBRlWHGK7d3/3yD0ZFx94VmrPnCiZ1QJbyvsIBIjHVXe5icnhLixPY 3rYl2BsA==; 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 1fZyDT-0003z6-Kp; Mon, 02 Jul 2018 12:46:03 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fZyCo-0003Hw-VN for linux-arm-kernel@bombadil.infradead.org; Mon, 02 Jul 2018 12:45:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=I/Cu+imGJLbvwzue17C4MFRuKRC0pB6hIVYE9HwvMj0=; b=c7PJ2iCcdO8zSjt5T5WDg9SHH 2+zt57miOByrzBh0/+VLzMKwBui7CwSyqI5mZ7+LQPi6MfJBOMnGxBEGGCrtmNU+60Xm/DBD6vIKS nOOXlwbeLYnPZo3aEaMiHzmwhxdiZn/ozw8r9ODcrdw4tdLL9yFvzpDqgL6zozxfjIUM9WYf/kvys dV6KMI1+SvjNHLzlKuDNl1cUMxGXF+6kEo/RULpWNQNm277SiMZqknzY0b18ya8pYtH8Vx6yUYcOL fS7iP0F7TA0wJoUosGV7DXi+OEnazXfClpAeGeZ0/0XK3+dodzFhLUhPZTemmKWlDK+Y/ZLoT4SJo A/nIyLw3Q==; Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fZyCk-0006IU-QK for linux-arm-kernel@lists.infradead.org; Mon, 02 Jul 2018 12:45:20 +0000 Received: by mail-pf0-x243.google.com with SMTP id a24-v6so3826483pfo.2 for ; Mon, 02 Jul 2018 05:45:07 -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=I/Cu+imGJLbvwzue17C4MFRuKRC0pB6hIVYE9HwvMj0=; b=kBzC830oj0qVC2xX3J/qCCnpjKYz5m/boYyHTlcwF+sOgnTwLztXfOsiqE/OroEto6 fI6vPzQeagWSuNOP90KRPZdZBw4QS+CBFZERNpdg+AExGZSTlcUDc+U8esnuHSnBuAgD V1IFIMdiKZzZrh1zx88+WSGXOu0sxAcMjagGE= 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=I/Cu+imGJLbvwzue17C4MFRuKRC0pB6hIVYE9HwvMj0=; b=P3Xc0PcNlTNGjsyOaIaEzhBoLHjxPECgUNqSphec7dP9LlI+NDcjEiZMGgoVaH80k1 BOJIXN8HcY8Omq8Aybec3EZeG1mo8KE0zoRLpRIfFn2rI+2c+llp0QO9O9ms2rmnv+c3 np4edsdzq1J3gdbCI4sg2tBblX6CsCTESYC6p6qCBYlwnmU1AYoV/2srxnYn0HS3Eo+h W9NVpI91yfftakeK8k3yYp7nCUbU2ZFX8WZun5qlC6IFFxzkh/qrX+48s/JQZ1NyZXgA oj8eV1K3Qib/PYYkg6azmXjUuSCdiFg/sdroNj2D/O7tznQgw0pk5T2aSgWNjbJ6xj19 LFPw== X-Gm-Message-State: APt69E2s7rDmNb13Vy1ygCjZd2SOWde4t4UWUoVm8UXQHq9NJ472Fbj9 RVYVc21b7/a0Y8RWRakRloXrdA== X-Google-Smtp-Source: AAOMgpfjVqzBDbhRarqqscx3rQdsTOnjfZ7nScX/BqCT9npkatcronX2LglUpScUuK0hxRWyO1UfaA== X-Received: by 2002:a62:d544:: with SMTP id d65-v6mr4700264pfg.107.1530535505155; Mon, 02 Jul 2018 05:45:05 -0700 (PDT) Received: from localhost ([49.248.63.129]) by smtp.gmail.com with ESMTPSA id n5-v6sm31790071pgd.7.2018.07.02.05.45.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 05:45:04 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Subject: [PATCH v4 6/6] arm64: dts: sdm845: Add tsens nodes Date: Mon, 2 Jul 2018 18:14:09 +0530 Message-Id: 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-20180702_084518_863074_35288F73 X-CRM114-Status: GOOD ( 14.20 ) 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 , devicetree@vger.kernel.org, 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, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Reviewed-by: Bjorn Andersson --- 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..edf8505 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.4.0", "qcom,tsens-v2"; + reg = <0xc263000 0x1ff>, /* TM */ + <0xc222000 0x1ff>; /* SROT */ + #qcom,sensors = <13>; + #thermal-sensor-cells = <1>; + }; + + tsens1: tsens@c223000 { + compatible = "qcom,tsens-v2.4.0", "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>,