Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1342040imm; Tue, 3 Jul 2018 09:27:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKSkwQlY3UJ71cZ6Rb1llwVIcrZ7dB02tm40HH9OYXY8aGm/qpWGkDi7roedZfzNtxrtz4U X-Received: by 2002:a65:49c7:: with SMTP id t7-v6mr26420645pgs.23.1530635243510; Tue, 03 Jul 2018 09:27:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530635243; cv=none; d=google.com; s=arc-20160816; b=WS23rgD3fGUHX/s9xeqImj31R4ro+5sIrIbbqFvwdV9sjc6IWIOCUV9vYF8bwVEcev nTam4HpiyfuTH4822Mrs91ATOFnb082Cki2OVg2KOS6sypmIGYU1pnWldAjNTmdDF7PD aSLYBtANaKerBoaTnCBZODGyWWMQ7Xn7FS3YHjflCbAVOuUsSVzleEtt28CXBReNV5GB u2DokjlBq1WXxvoaA2gS35W4mNWXhvSimJdTK6ZeeA5bPkBHuBujnZP+pT+hsO417Hma wBB3FqmXZ34Xv7JWvlhbsL75nqJhpu8nSRRojAjW+xC2R78pY6R3kkSWqhrJZuPfe6oX 53tg== 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:arc-authentication-results; bh=q4M6HV9jwcX5rnPqB/xtwIhfrXd8jYfA6mbvkblnLbE=; b=i0k4rirH2QEWtwxp4Jrpr9P+J0PfCvM7TrBdzTZxuMo613/S+LHpmiisKMFSGwqUZV hrJzE7hf8fK9U6ixWHlJTodPfgAo0hNuk9kRjMqzEpinofyPPmnylWDUQuYCN9J6Fjwv cCdmoxwZfNmgM5AwrepdsYnDk9RqTXvyHw+f6hmZ5HDUv39Kms5y3Ta7RlT0ZthjG3/7 QuCB3ZHTqJlxBYvRaupzGegeuL1UBydexQ4Mp3Sp68zHhgAwuBYMHb/AGWbcr1Jbxx8v dYBN2kzO7WopOntbUC12Y431/HDAV/ZEn2xAnJx/PsnpyL+pZWb+sNoU9NTwxxuuNbfU 1CqA== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si1451509pll.412.2018.07.03.09.27.08; Tue, 03 Jul 2018 09:27:23 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933711AbeGCQ02 (ORCPT + 99 others); Tue, 3 Jul 2018 12:26:28 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:35934 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932520AbeGCQ0X (ORCPT ); Tue, 3 Jul 2018 12:26:23 -0400 Received: by mail-yw0-f193.google.com with SMTP id t198-v6so908981ywc.3; Tue, 03 Jul 2018 09:26:22 -0700 (PDT) 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=q4M6HV9jwcX5rnPqB/xtwIhfrXd8jYfA6mbvkblnLbE=; b=PCwX8mS+eKs2vndinpzDgBaLRKKeJTKtMI6O+VgQwHG94z+GJ2y0XEFgDtaePHUyqt I/wV5/mgwMk9MmvISq+Pb89c3j8CLJP9148yf1bvl7cBdqNSr1s1KfFHTJaogxdvCqi3 wbIttcEB6IbaY5sC9EazcZBNTUXm2euiGO95VuS1fjhAweN9Sd186Gq/cIkoRm12n6ER t0Y93Qct6LwLiaDtuSRHm4tLR4eH1YD0lFAvbdKsMHjvZYLfSb91B44tziQa3uOgIkNk WAljxnhxKfGpEWDILKB1apLjWMO3qAiSk46ibFe+PFWFj5kErEUpk8yvCFlhfSkwQYeW Kf+A== X-Gm-Message-State: APt69E1cPjguFCR4HGE3QDBI+LTXsD5hVjXlDtWP9wFhwSxQq7uNMF2h LSYlVSxp+aM9TuyVmkPL6Q== X-Received: by 2002:a81:a443:: with SMTP id b64-v6mr14898982ywh.137.1530635182049; Tue, 03 Jul 2018 09:26:22 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id l3-v6sm470406ywm.103.2018.07.03.09.26.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 09:26:21 -0700 (PDT) Date: Tue, 3 Jul 2018 10:26:20 -0600 From: Rob Herring 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, Zhang Rui , Mark Rutland , Kees Cook , linux-pm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v4 4/6] thermal: tsens: Add support for SDM845 Message-ID: <20180703162619.GA17238@rob-hp-laptop> References: <43e3ae530334efab3fa0151430879f03731e9daa.1530533998.git.amit.kucheria@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43e3ae530334efab3fa0151430879f03731e9daa.1530533998.git.amit.kucheria@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 02, 2018 at 06:14:07PM +0530, Amit Kucheria wrote: > SDM845 uses v2.4.0 of the TSENS IP block but the get_temp() function > appears to be identical across v2.x.y in code seen so far. We use the > generic get_temp() function. > > Signed-off-by: Amit Kucheria > --- > Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 2 ++ > drivers/thermal/qcom/tsens-v2.c | 6 +++++- > drivers/thermal/qcom/tsens.c | 6 ++++++ > drivers/thermal/qcom/tsens.h | 5 ++++- > 4 files changed, 17 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.txt b/Documentation/devicetree/bindings/thermal/qcom-tsens.txt > index 06195e8..075182e 100644 > --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.txt > +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.txt > @@ -5,6 +5,8 @@ Required properties: > - "qcom,msm8916-tsens" : For 8916 Family of SoCs > - "qcom,msm8974-tsens" : For 8974 Family of SoCs > - "qcom,msm8996-tsens" : For 8996 Family of SoCs > + - "qcom,tsens-v2.4.0" : For SDM845 Family of SoCs > + - "qcom,tsens-v2" : Generic fallback binding for any Soc using 2.x.y version of the tsens IP You need to show what are valid combinations of compatibles. Does v2 apply to 8996? One valid combination per line. Rob