Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1920138imm; Mon, 3 Sep 2018 13:01:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZglhCaSnhKKnwBaefQ/L1YxRB5ahPy7V5lEBkCU3VVgc16aHjc4ZuVwwunstX02BST0QGr X-Received: by 2002:a17:902:f213:: with SMTP id gn19mr24757814plb.266.1536004884658; Mon, 03 Sep 2018 13:01:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536004884; cv=none; d=google.com; s=arc-20160816; b=wBh09TolNuXrFGBafNEI4elXnwruXHUrIgYfn4qvTvUhRhC+4zN+7Apg4xr0aggv/O d6oJ8gM7sx0aAuJ429XZpCHVHSp7otCzj0kCYh1XucOytlEXhbk3dU4uBANzSGCC4fcO 0jogcZjyDU/gbJ6YMhkLGE9hhjB2X5Go11pFa3/sI1EMg2f4mB5t/S4Gs9vKdghMzRR9 k5eIWEkdP1f4wC8fTWF9RLPGcDIqGm0+4GRG2gThXXJpwXjRade49wg1PhMTUTsFVG1l KxgRvZ+gotCrIwT0nixhE7T3YBoxJF5UkWmc7piLbrVV148640YvwS0moEx05wFdyqEb ElTg== 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=mey9dpvfUUmR43Enqhh6Cl2t3LY6zegTdet2pYORf8s=; b=cyA4kzSC6U26zSPRDdxSyHnpwg+XrX1vi3nzJfyJReL1HXfvI8GaQcR/SvYi+RNUhf IDbhGWhBlWyyLdb+c7xfmMWED2mAtx22TnLAxi7xZv8nYUBiR2Zj8WiiNZIud4aGNcYN Gv9eaSjUbG3ZXABQQB59vNxQ71VYPsRiO+o7GZivy/CxAHfXSGnsz0PQ3TOR6A0BpWfK KrGgb/28rZ+WCC5zHs/NHTzbiL1ZTJz6MBK7h95g65M2xaEx1iy131ZjOO1+0URHhoeQ i8P7OGAxgCkhvlytZ3esvrnitwukwWk9ssS7ezsnisii7Mo9ks//onf8BSK+K2ITMzcw 2HjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fTlHjzD3; 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 i8-v6si18218315pgj.33.2018.09.03.13.01.09; Mon, 03 Sep 2018 13:01:24 -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=fTlHjzD3; 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 S1728893AbeIDAVV (ORCPT + 99 others); Mon, 3 Sep 2018 20:21:21 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:37126 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728621AbeIDAVV (ORCPT ); Mon, 3 Sep 2018 20:21:21 -0400 Received: by mail-pl1-f193.google.com with SMTP id f1-v6so565703plt.4 for ; Mon, 03 Sep 2018 12:59:37 -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=mey9dpvfUUmR43Enqhh6Cl2t3LY6zegTdet2pYORf8s=; b=fTlHjzD36V/guoPJth72db3QZ+vCsgF1hG84z2sgHG4LWR2HhJjEikVQSVBgWiZRUs Dzw6B1xdUYK8ZBhv0D2SZvFenN9YZiy1qfEr/E9x8AYGL+p6iPmeyL7uw9JC76h1aYYq T62pjJMs6y8u7BsK748PGRRWRM4oUs7/U6zY8= 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=mey9dpvfUUmR43Enqhh6Cl2t3LY6zegTdet2pYORf8s=; b=gjFtN2FwyVHc81R9q7swZkEPnBZTgydY/N8uK3gxzXL/jb2UtC0KcafBf54AGqRvD1 yAdK6J73MC0nYKN07JmHbJ3XEaXDKOwcKv5OzL1MBv9TwdF4bD3tZP3zzNHmDXeHibDA ab01AzbB6CBq2uwClukeM0tU9uKIHqP5HmTe/I5fxAOA0AM1hs+G+W8JO5fEVmvdPslt 1pV35Gfct27OV9GFDnKU07N9pjx/4U4/KOA8KiCKkjUrUdIb3XQMOfJoh3QPGhBHlWgi WBmEOgcgMkVSbzP+n3q43STDBDlYRN+5wHWKEcIlr29USm7mERc6rOTtAaIfgW8e72Xb X1lA== X-Gm-Message-State: APzg51C6ooKITYhlZXiodx7C4cHtgF/zCFmRZLFVLvXNopKBWKRl3Sui +qUtLvIvx3qyu9OGNBy8IXp9EQ== X-Received: by 2002:a17:902:d808:: with SMTP id a8-v6mr30034018plz.68.1536004777090; Mon, 03 Sep 2018 12:59:37 -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 i25-v6sm22541750pgi.31.2018.09.03.12.59.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Sep 2018 12:59:36 -0700 (PDT) Date: Mon, 3 Sep 2018 13:03:30 -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, andy.gross@linaro.org, dianders@chromium.org, mka@chromium.org, David Brown , Rob Herring , Mark Rutland , linux-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 02/11] arm/arm64: dts: msm8974/msm8916: thermal: Add "qcom,sensors" property Message-ID: <20180903200330.GM3456@tuxbook-pro> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 28 Aug 06:38 PDT 2018, Amit Kucheria wrote: > This new property allows the number of sensors to be configured from DT > instead of being hardcoded in platform data. Use it. > > Signed-off-by: Amit Kucheria > Reviewed-by: Matthias Kaehlcke Please split in arm and arm64. Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm/boot/dts/qcom-msm8974.dtsi | 1 + > arch/arm64/boot/dts/qcom/msm8916.dtsi | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi > index 56dbbf788d15..3c4b81c29798 100644 > --- a/arch/arm/boot/dts/qcom-msm8974.dtsi > +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi > @@ -433,6 +433,7 @@ > <0xfc4a8000 0x1000>; /* SROT */ > nvmem-cells = <&tsens_calib>, <&tsens_backup>; > nvmem-cell-names = "calib", "calib_backup"; > + #qcom,sensors = <11>; > #thermal-sensor-cells = <1>; > }; > > diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi > index 6a277fce3333..be27d8dc9e6b 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi > @@ -767,6 +767,7 @@ > <0x4a8000 0x1000>; /* SROT */ > nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; > nvmem-cell-names = "calib", "calib_sel"; > + #qcom,sensors = <5>; > #thermal-sensor-cells = <1>; > }; > > -- > 2.17.1 >