Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp424874imm; Mon, 9 Jul 2018 04:30:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpenGCIdxccIs8/ssbOyP6FqW9n4P75Ckm13UOdY7xXnUlFmJT1qoWWQkHL7fZ1/u0EDYTrF X-Received: by 2002:a62:1f8c:: with SMTP id l12-v6mr21196416pfj.143.1531135825383; Mon, 09 Jul 2018 04:30:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531135825; cv=none; d=google.com; s=arc-20160816; b=z/FiiKQh7TDeqZRU0TeMs/cV6oXkWg9Nq9g8Bn1O/3G8jRtDJDlHLH7LPxL99t/aOw r6LNJ0wEwjEpaLRVZ0z1qq5JIJdsOF0L5KAQOVaP7ciL5pTTbgsRVkjYnwLFH4xURjhl UgfcdznsNpfbAHiW0L8P6S/UDneb61Gys7hLHSAYeUIdmE8tkZm+fUVDv4lniCVOk5EX GL5B8pDmRD8KCz+tWSuvg4N3/00XKf7rc4kaEj3js8fQFP5WD2zHBvjyRsy0HtWLvQtL UClfumUMu0onUGzuXcEd0jqdyhu2UPknNxCeciJj7qcLtAr0nIYfKTI91rLfiifRu6ZM T0Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=1JqEW+Zyv2CqnsmBXNt/A0PwbfHTAHHNG/CWkFvPZKE=; b=zv8OHlUeRDKABDF2BBIbgE5koSidiG5bZSP2fUYli7qj9+tH5t+RY6YtAm+uPdMNnz Z+j0koDQiD1jhNBZyXmWxS5IGH+z6tWShpjmEnw0ffoDFe6D8fBc2u10McxAm/HoA4LN eXQDxuqs3jIhJ5PmDB//1yhwXMyHNkuSRVjN7jYPagzL72kCTKsNKFFn5LlE5mQB3jnd xvlM5uL3wUipDtLkAoy1K1dg0PmblIlaC8V3AF359OMgzBWDlFX/IGMmFphhzXvqFEhm xCzM/xiG3IHe4cWKu0mlDtgNOyV2rKXeSE9XWVevtcuiiW469shFoibdGXrDx6zcyxOX 55uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f6QLWEmL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y191-v6si15568426pfg.246.2018.07.09.04.30.11; Mon, 09 Jul 2018 04:30:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f6QLWEmL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754526AbeGIL3I (ORCPT + 99 others); Mon, 9 Jul 2018 07:29:08 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41373 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754490AbeGIL3E (ORCPT ); Mon, 9 Jul 2018 07:29:04 -0400 Received: by mail-wr1-f66.google.com with SMTP id j5-v6so4076081wrr.8 for ; Mon, 09 Jul 2018 04:29:04 -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=1JqEW+Zyv2CqnsmBXNt/A0PwbfHTAHHNG/CWkFvPZKE=; b=f6QLWEmLD2lDqjkUZeGQ4embRvv0fJ4Xnkhyn6ucvT8PCBROXHsKAF2y8IBTADdpyV TAJlih0zolCTOWrmBDuGcMrNEH5GsQrZSDpcvn6AmOeicgn/JJ+7jHISr1ndwUDA0MEw mI3V2aGi1UMQssHmgtdsZ3/1F04WTyJtg1YOQ= 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=1JqEW+Zyv2CqnsmBXNt/A0PwbfHTAHHNG/CWkFvPZKE=; b=N+w6vAuV4Xbuyr4QfLDxUyXEY3LN1CsAsbJSu3dde8Sc9pa15TL1V8rrWrCRVPYfTD bSUUbBuJH99OEAI3AHr771RUXn/eQtT97WK0taYiU6coqCHA0PMUdwr9g59whScalnyY +bs2iNhSqtABXRyh1poY3WrdE7HUi/LMA5mQTRM6tY9q9ChobwEzzCNrmbQNBXsBRST6 kIZN6ifryQX5oWCXwrsc4HC/FobI3C17ALIe3zDqTW5HV83PUl7H/dbJXNQO+sn9fQCe TXUV8qSzTJLgKXNnUBuDpAam/56BtEFWN0FNihkk+f3aYL8L0Vj51i1nTWwqMT6EhSZf H85g== X-Gm-Message-State: APt69E25NjWojcq4ESzSZgSfISVVIPDfQEyePxs31Ets0IaWVl1azpfI dXnSlFfcRpr6EfRtp8HbXDwcXE6EVd8= X-Received: by 2002:adf:e90c:: with SMTP id f12-v6mr14129316wrm.126.1531135743226; Mon, 09 Jul 2018 04:29:03 -0700 (PDT) Received: from localhost ([49.248.189.240]) by smtp.gmail.com with ESMTPSA id x16-v6sm24804528wme.12.2018.07.09.04.29.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 04:29:02 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, smohanad@codeaurora.org, vivek.gautam@codeaurora.org, andy.gross@linaro.org, David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 7/7] arm64: dts: sdm845: Add tsens nodes Date: Mon, 9 Jul 2018 16:57:40 +0530 Message-Id: <742cf44d162523a66bb4ce60e15449dfbf88800a.1531133612.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SDM845 has two tsens blocks, one with 13 sensors and the other with 8 sensors. It uses version 2 of the TSENS IP, so use the fallback property to allow more common code. 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..d97ee00 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,sdm845-tsens", "qcom,tsens-v2"; + reg = <0xc263000 0x1ff>, /* TM */ + <0xc222000 0x1ff>; /* SROT */ + #qcom,sensors = <13>; + #thermal-sensor-cells = <1>; + }; + + tsens1: tsens@c223000 { + compatible = "qcom,sdm845-tsens", "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>, -- 2.7.4