Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp210134imm; Tue, 17 Jul 2018 17:17:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe1TYBi8WWNPPMh01haLCNQ3ACWuKUHnsEL86nMuKugb467DQKIXj3/O6/akJmtiquA9D44 X-Received: by 2002:a63:6188:: with SMTP id v130-v6mr3600299pgb.100.1531873075776; Tue, 17 Jul 2018 17:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531873075; cv=none; d=google.com; s=arc-20160816; b=QDLYkOE4QwWZMuzeQPcZJTGFJTPOqhGaLNDPLXLxfrBClx7VPnN0lWCr5BBovaPFGI 6hVenwnDzY34CywYQKXrryVDZ43Wun/KTDGvLjqlbFqgXqAvX9Ti9IMjBkfMBLeZBO1K nIq1du/TzshVNALBRVHZ4854EORdJCNJ3QuLIJc/ySo2PGXwMOtp0dsTP2kbwdxiyv/j Ebx+CQBVB9CH1jcaW9wNDHyxLuorjeo4a/P4ZHFi8+aWKbHLqwJEICV+ZX1kPDwUAWGg 90vsd2J4gJ/eEHvCRd+k9XFDYHQF05OMnVFptcFOtfCq8I96vDa0+uYq4VqRfTgI8ZFp VogA== 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=N7vMRPtPt4Yx7mr9RdLfsRuIRKUGVVTVYYf+Wows7Wc=; b=Y9NNWeZjhSemWhFmbDYVq1SSvhrLAWFv4+IIZNcx16Pavj5UEFLVy/7CE0aS/YstMS pqOeFgbif+fvAFfWGGn9VgH7EroBc14vFzpUTnwxGToI3DxKpM5emXbY3S/+3MUT6yr5 J/hsemcVIMFqdjnxOWmfzGAX6OqU0o86L9O1HHewXbOWk4jPQemsy50Hi2HFtWYZEDzb V1CTSrltUiyIE1sOKJzW3jkAzFxgJO7/jT2bfs5xmkkd30tZJ02LUjWyUNhIo18pa7p9 bI8400cNEfxAjpppysYUy0fg4x2C94jEyYaJpE+dqFyprIyE8ABgMRohfmcu44PrkAIq G78w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="bzFR/7wQ"; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h89-v6si1981655pld.378.2018.07.17.17.17.40; Tue, 17 Jul 2018 17:17:55 -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=@chromium.org header.s=google header.b="bzFR/7wQ"; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731525AbeGRAvC (ORCPT + 99 others); Tue, 17 Jul 2018 20:51:02 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39467 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731518AbeGRAvB (ORCPT ); Tue, 17 Jul 2018 20:51:01 -0400 Received: by mail-pg1-f194.google.com with SMTP id g2-v6so1144124pgs.6 for ; Tue, 17 Jul 2018 17:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=N7vMRPtPt4Yx7mr9RdLfsRuIRKUGVVTVYYf+Wows7Wc=; b=bzFR/7wQK+cHujwnEVd5/+NFeffSnKv+yojF7Gqxc1jnc7hsKHDMn0Nn9odbTzPu4X s/zXOvQBaDyARkgfFT2o0zsZxZOCcTonAEz0Rmpd6lGif2Xb3ATIFwg1IAEshCCvc7hz 2oQDThCqTDjE8K5IBYAMKqmoxDKOcfnSpw3i4= 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=N7vMRPtPt4Yx7mr9RdLfsRuIRKUGVVTVYYf+Wows7Wc=; b=d8LdPZHFzv4xfHyZMkH+ufzx8AKnH9Y8avxpj7kfhc1bP7yjISvTfIX9ZsHb4dafj/ wTVXaXzrHrc1aniZLQn4m33oGrkZIAe5h8jn6b/tRxP8zvTh2SwCYm2lJlJoa4CZdDf6 H2X8O6L7USTNBiJUt3l6EqUD3eO2LW998rM50fPnEkDP2sdRgqoW40QE77QRBadF1gOk H27GtEEV8rEDSwvqU1PLzM2pePD9N8JsA0B0gLahBl4ROhPw0V80sys2L3IJIkzLPqC4 rsitIw3gWAl/kSmd4PNc7m/d7GSdmQpKz0YF6bCYQ2+bvVcI/kfkjVE1W9eVC8vYuhDL PLYQ== X-Gm-Message-State: AOUpUlFhz6jVqQw8CXuBUnRYvObeTMvFhg1JtBbfdjbP0MxGgh+s7JIh L76HyidM6RFxupqPYIOrncQ6/A== X-Received: by 2002:a63:f206:: with SMTP id v6-v6mr3270883pgh.319.1531872955808; Tue, 17 Jul 2018 17:15:55 -0700 (PDT) Received: from localhost ([2620:0:1000:1501:8e2d:4727:1211:622]) by smtp.gmail.com with ESMTPSA id b76-v6sm6190144pfj.184.2018.07.17.17.15.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 17:15:55 -0700 (PDT) Date: Tue, 17 Jul 2018 17:15:54 -0700 From: Matthias Kaehlcke To: Amit Kucheria Cc: linux-kernel@vger.kernel.org, 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, dianders@chromium.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 v7 7/7] arm64: dts: sdm845: Add tsens nodes Message-ID: <20180718001554.GH129942@google.com> References: <0dfdbfa82edced85ea5be02e1d74d73d232c7a08.1531384019.git.amit.kucheria@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0dfdbfa82edced85ea5be02e1d74d73d232c7a08.1531384019.git.amit.kucheria@linaro.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 12, 2018 at 02:09:08PM +0530, 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 > Tested-by: Matthias Kaehlcke > --- > 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..01ff146 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: thermal-sensor@c263000 { > + compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; > + reg = <0xc263000 0x1ff>, /* TM */ > + <0xc222000 0x1ff>; /* SROT */ > + #qcom,sensors = <13>; > + #thermal-sensor-cells = <1>; > + }; > + > + tsens1: thermal-sensor@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>, Reviewed-by: Matthias Kaehlcke