Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp432651imm; Mon, 9 Jul 2018 04:38:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdni14KWoe1u+4Es9eBT81MutpdKpXGTVlwErAiH5JdsHaHliaDXiF+FzGqs0BWwDjOexYK X-Received: by 2002:a65:428b:: with SMTP id j11-v6mr18200196pgp.200.1531136334874; Mon, 09 Jul 2018 04:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531136334; cv=none; d=google.com; s=arc-20160816; b=tOgcWmyUQMLXrx658QmsTHUPf00poHwYpXc5x8QRhLU7gs6g6QjCrqjuJAzg8fTZWk qbak8f94Qv97W8LoplZpCbp8ekks5mZ8kbmay9zvnFaTJ20xhqd1EeTOQMFAYUDZe6sX /Tn0LSqmLVnhFvL6172wir6yWhyBXXY5cbkVCkjkHTaUNUYbORZ63NFBg6/ywHhvqW8M WaD9AroNjJYd3FaGylR1lJu3PVdiRn0M+rP84euuBo554Ie8p+lcVfhu/5s7JqSVOybA z1W5Kje95GPNdfTOkNHUGfZZP1dOhRE72HbKmEmEHssC7hi1Dx4M+HoY3oMMayLASbMH P17w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=u07vxpkpvC6UczGfn2z3I+VTROvJvgAbh+lh4jhvtAI=; b=gs65VybLqq8HGJy/hCG0XXb8Q0zsumR81tF44vYg912FWT0C/K/m3xzw619Lk+N081 3zUFRdJz9+Y8x1MT2f8r8jo5Zxk3Q7JADQzDFBi7jJ1y4Vdo7QuWRhyZN3P+JFibDwyj xMXuPgwb0vHUeQXAE8HAEjXrCGZMmXgQ4IAKGUJfm0es7iqNtiuA5qvI3eazn+qp1WmC CiBI0/kPgvKi2hT7W53P4CBDb8d3wPjoDqqBJZOuOvl8gEjvzpnLmO8JeFHi5CnfpAx9 NAI4px28TXPlzc2MHE8DcllOtwOcMHlT85Mo35NTkKE89wPze1a6sNMIvOQYTyRInrOg nk8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=WFDeC6Wf; dkim=fail header.i=@linaro.org header.s=google header.b=eYu+8PFs; 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=fail (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 x33-v6si14464943plb.512.2018.07.09.04.38.39; Mon, 09 Jul 2018 04:38:54 -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=fail header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=WFDeC6Wf; dkim=fail header.i=@linaro.org header.s=google header.b=eYu+8PFs; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932632AbeGILhz (ORCPT + 99 others); Mon, 9 Jul 2018 07:37:55 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:43093 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932528AbeGILhx (ORCPT ); Mon, 9 Jul 2018 07:37:53 -0400 Received: by mail-oi0-f66.google.com with SMTP id b15-v6so35194704oib.10 for ; Mon, 09 Jul 2018 04:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=u07vxpkpvC6UczGfn2z3I+VTROvJvgAbh+lh4jhvtAI=; b=WFDeC6Wftl7RAQNms2RGpbIepYtCqmSeMHCCjuoP5IvHk3Hd2Sh4Uixx9ABXIk8csc sEI8X0XKZUBPIUvt7QURHyT2tma8Jt51pXEDBcWO3xtVCEutbpKNByIrCbNLNz9+FrUF /N5lwnVrQhlpqZcxKEARrB71lPQxn9ZtVDFJ3p42GZ0ehv0pGxQwc5X9pqjJdN2/YGcp E+B8GPvULLmH5ZuJOWgBhbEzJBIjTlUgVEQPWllgPF9CiKsfjRgt1Cv5hAn1OuSieNf/ hh9myLrMzWOSzZH2DGurAJdMqo8AyY3QczsyOxnXg12KWzVaUE6Kn7Oga/aXwcfMGQK5 jVuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=u07vxpkpvC6UczGfn2z3I+VTROvJvgAbh+lh4jhvtAI=; b=eYu+8PFs3JOou3jx00iARk+P4M5+5DllSHFePCsjJyfTw/jIZZt6teZ346M+BWfTMi 6WoCqUZ+owtX4cLMf0D0c5UH1OuXG5IxSk5akiLGBW6byLfWHLrDzllGxuZV7Urt7SyP vFHGrvzOs4QTn3YMUCZbir12rUI+KTc90NNYY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=u07vxpkpvC6UczGfn2z3I+VTROvJvgAbh+lh4jhvtAI=; b=c3wqDN1Sp202L9mCukf1i7mpLx7+yza1Hqwd0IMMFLzzeWlV40CkGaVs4Z3r088i1Y E6/7ICL7gRfV+tzsRZblcjsrNaQDDTQfVLcxzXQcZgBWg9VQdfxQqdc/6S+13rWbIGw2 CXVuxKjN+n4ln3UKihgNpzoGXJwKEYG3HQFN7FM4iVBYxfQVRazqQ/YNdrhvt8npkCZ0 l/k/iFfl1p56un4Ccq3v/uk1uxAY5SKcFUEOTXi3HLCjv7cL0vRgPb2Upkd6IWGCJSfo qMDjjPdC3JU7KxWxi3QtifeulEHKB/DOJrr/4NpKXXbcHMHUef8VvePy0Krn47FMf1At RseQ== X-Gm-Message-State: APt69E2JzY2tIE1U5oL+TgPnV7yh6w8ejep3haOOFkGhbR4p6/dX5CyT JCpu5Emdewt5qPI39hNAZaHRFyC9yHK5sKOYBBUcD2DdtP8= X-Received: by 2002:aca:d44a:: with SMTP id l71-v6mr23942315oig.199.1531136272653; Mon, 09 Jul 2018 04:37:52 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:3745:0:0:0:0:0 with HTTP; Mon, 9 Jul 2018 04:37:51 -0700 (PDT) In-Reply-To: <742cf44d162523a66bb4ce60e15449dfbf88800a.1531133612.git.amit.kucheria@linaro.org> References: <742cf44d162523a66bb4ce60e15449dfbf88800a.1531133612.git.amit.kucheria@linaro.org> From: Amit Kucheria Date: Mon, 9 Jul 2018 17:07:51 +0530 X-Google-Sender-Auth: Aq8oyLJvat7MVBa9ughMDkkbCAI Message-ID: Subject: Re: [PATCH v5 7/7] arm64: dts: sdm845: Add tsens nodes To: LKML Cc: Rajendra Nayak , linux-arm-msm , Bjorn Andersson , Eduardo Valentin , smohanad@codeaurora.org, Vivek Gautam , Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , "open list:ARM/QUALCOMM SUPPORT" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , lakml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 9, 2018 at 4:57 PM, Amit Kucheria wrote: > 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 { Oops, sending out v6 to fix this. > + 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 >