Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp870206imm; Wed, 11 Jul 2018 12:24:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdDurPBGKMgEM/pF0stIB0G1aCwd8eBD1IADb9CThWQd6U84xUTpGRA36254JoMVxEuKEn0 X-Received: by 2002:a62:cd3:: with SMTP id 80-v6mr24376699pfm.184.1531337093637; Wed, 11 Jul 2018 12:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531337093; cv=none; d=google.com; s=arc-20160816; b=PGGouLR87vuVGx4MCmyTV+iFkrzYS1BR2YQp/phrxhv/tw41VT0y4CP9Ig++nk5/TL A+aaR/Wv7PS266GjVmMiM/DoKHvQVJhUc33XIUmDFTXYaXKZ+gvoFHPT3JXX9gdk0NNc juPwyUgfe4zn7zUZ1ETUhdg8OIWtMInOrgV41EzJWW2spyEK80G0DBPnOxIA2we6LlId e7/sBeOZkrvnxjpB3Bqko2Sv4McwdRjISJUZgcbkCH06nAE9DNe4KedrWmbwTyKR3wX9 XnWTbOLjJkyGq5AsjLiokct7FuXgACr74LqRdBUJ7Rukkj0wX71M1O3zC6LKFRCGpmdp L6ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=bCbumMildgd7jmmHFkA0002n0ukBdAZCR7GbymlfnyU=; b=Ohtp8oTJQuDLQ178Yw5XkmsLE13PEaFU5BMIsFcPl2s82RQ7BYg9Z72mJnLLD0Whxk dvnnpTqEEtk4HoIIis0EmYqO0HMF5bcWOoqo1kF2YnESfB/D0DsUd2n22IcVK7kB0xt3 eAsp7wkkN9tabNtqVyDxsSLfPixOGXVKPjpANLr6sTnhI2FeeYtZwtr3ShdLRG6Wx7ef ZqXkLqDmg4PKlxJz6USb0JWuEHsvcfQdBashCuXXuG52qAilYFxuf6JY5/86g5E62LiO 2XvLikvrN4RB2qTES91clBJoRqR0/+olnDRUO+2rBFpd48agL5vlApOQ7W+eNE/salsI Ok7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FGeip17K; 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 2-v6si19218343pgq.479.2018.07.11.12.24.38; Wed, 11 Jul 2018 12:24:53 -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=FGeip17K; 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 S2389812AbeGKQno (ORCPT + 99 others); Wed, 11 Jul 2018 12:43:44 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:42670 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388256AbeGKQnn (ORCPT ); Wed, 11 Jul 2018 12:43:43 -0400 Received: by mail-pl0-f68.google.com with SMTP id f4-v6so5201722plb.9 for ; Wed, 11 Jul 2018 09:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bCbumMildgd7jmmHFkA0002n0ukBdAZCR7GbymlfnyU=; b=FGeip17KqaO3KCDGr7JgofkDkp0K5bVeHAbB8htDP0hRRyZib6JD0U1KJEiY+aEKzM gb9AgZNwkotWvYgTvOkePzUpfpM7NSkU2LzvtBJCJGxcxeme1kXdaAFUS95jnPad8u76 ry+QB6D4CdVeh2C75+A3cLSp3d5KVNyGQh0JA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bCbumMildgd7jmmHFkA0002n0ukBdAZCR7GbymlfnyU=; b=qnOyui5j3uWZKea3C8kjzOb1AksymCm2z0KDCgxeq3gETJM+sTlJ63rzdqBIkMUeJQ VYmNM25zj+z0nYqw+d0HjNWpBWaBOnmclRjIGViOhklXeGx5GDdlxPY/i2e8Ct2NatAh mfOxZjLUM3Vk65SR/sU+iNByyml2fCIML+z8o0bc42luhaOX/B0bLVg0ufsysLiBwAlo 2DMRcb3r0TY5LOzbGydtZEAupWNaAePuVok52sTYJRdY8igLztzbddxCa2qnpBsvpiF0 5daV4lMatgQgFmRSJaj+hENrZyKZ99VOI4w6GtsAqxiRF7++29tfQqeZSphx0QLchyTc qwfQ== X-Gm-Message-State: APt69E1AN07NmVkyCf4p8hnPiu3OV7EQIfDNCTnaZg6lP7f7JPlxpXlm ve4aVFBHiRmVAOjiJ8mA6JC53Q== X-Received: by 2002:a17:902:a24:: with SMTP id 33-v6mr29335728plo.88.1531327115012; Wed, 11 Jul 2018 09:38:35 -0700 (PDT) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id j190-v6sm2929850pgc.75.2018.07.11.09.38.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Jul 2018 09:38:34 -0700 (PDT) Date: Wed, 11 Jul 2018 09:41:15 -0700 From: Bjorn Andersson To: Amit Kucheria Cc: linux-kernel@vger.kernel.org, rnayak@codeaurora.org, linux-arm-msm@vger.kernel.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: Re: [PATCH v6 7/7] arm64: dts: sdm845: Add tsens nodes Message-ID: <20180711164115.GE545@tuxbook-pro> References: <65c39c405076627bd43ec94c211c6998191b9f16.1531136000.git.amit.kucheria@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65c39c405076627bd43ec94c211c6998191b9f16.1531136000.git.amit.kucheria@linaro.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 09 Jul 04:43 PDT 2018, 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 Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > 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..ba2899c 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@c263000 { > + compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; > + reg = <0xc263000 0x1ff>, /* TM */ > + <0xc222000 0x1ff>; /* SROT */ > + #qcom,sensors = <13>; > + #thermal-sensor-cells = <1>; > + }; > + > + tsens1: tsens@c265000 { > + 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 >