Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5219721imm; Wed, 12 Sep 2018 02:55:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbqFZ+cqqlOETwY6nTgPeJAfNbv8e8QY108sPtGw5/nVJq3oGze6NaR6qtkG/3mIsPWzrIo X-Received: by 2002:a17:902:7683:: with SMTP id m3-v6mr1264342pll.255.1536746143893; Wed, 12 Sep 2018 02:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746143; cv=none; d=google.com; s=arc-20160816; b=dv6wZVPSPMpqzQOY9PzLmsQv7IQdeT7do0UAPVwXXz68VhWzCrJuWqvWTHFOQNfkT0 jjcUfkA9ZDzMKJTa0wIBEvR3Vr3sh4f2uQYLHE9zYRGK8+DmPG4I20kpqYPBCdRBsD/4 yC92yF/QwjDoarpXCZHpvcLS6Q77Pm1SEzfPF9Dw4RvB2uI2HiMshVs1c06kFMi2K93D ZNv9e45X+e1ajwgUQwvb/SN/oL7kaK6PrG2/aDEZr0AILUQ8rZjk6awcpvdOuA364h0u QVde/Ewh61BV8xSzIJRh6CO8gh3pctkqWDUwM1WIJ1/jy8VXmsb5/odzxL7bHmQa5pwW kikA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=bVjNpCvKofUtyuEFgDB619KdrCitoQrvjqmhD8sWb0Q=; b=To/G6EVog6nNKQ0nd2OENTCqrdCox93BmW2SBqcXxtFUfCLCVwnSaxi15VaQo4yo0B +yRYneCa9FLtQDSA6GvE17iWQ3ySBwr4dibEuR2C55uVXez3o2iR8pQe9tdLujOTnnSi GnTrnH1FmAdpFpj5ZqEVz4nR7mzNIyDYMR1PDqyTWukGecbyGUS+ipXbIPoKN/ZzUxgq oOgoPRTEp7tiqtvvi/zOIgTSHoSXQQq+BM7kK0Nv8sox3WxzDm2DS5txysGkFihxibOO Bxgy6+MNmddemMDpZI395xWd4o00Mt+68WPCddHRcbqO6rb2eZB4ON3ieEpD1dYX39aa u4Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IcSVCHTN; 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 g16-v6si580749pgi.373.2018.09.12.02.55.29; Wed, 12 Sep 2018 02:55:43 -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=IcSVCHTN; 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 S1728033AbeILO6e (ORCPT + 99 others); Wed, 12 Sep 2018 10:58:34 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:34853 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727010AbeILO6d (ORCPT ); Wed, 12 Sep 2018 10:58:33 -0400 Received: by mail-ed1-f68.google.com with SMTP id y20-v6so1276462edq.2 for ; Wed, 12 Sep 2018 02:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=bVjNpCvKofUtyuEFgDB619KdrCitoQrvjqmhD8sWb0Q=; b=IcSVCHTNXhHda/x9tiTzq9MOaZs54JeUf+mlC3W5MO5gpC6vb5PMyqofYLAvqUI+ow jWBxwpgkZLSiyFj43C08+pry3/HcFCEijolxIerMwbojJVpxQgnmiWt57YPCQq0W93f8 rS/OYttZ+j/JAD/kKZcIEUEkVTbl491Os0Sns= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=bVjNpCvKofUtyuEFgDB619KdrCitoQrvjqmhD8sWb0Q=; b=ZSvTGMj+ojlNkbaMYEYYb11KIw74Og+ObrE3AMXU7WdbZ4KqdQ/UFEuIp0y3joIS7V gvaJ4htQ4hkyvcCwbA/BnGbJS2nRdMckwHZje2h1aE4m4YweWWoWpBPCagOTpqOd1rHx an5Ddy8WZC6WXCCxKYvzRqz7cmn0nrcgl8d+10mRO4IVvxgXWBLAzfb9HDpGlSNoaxkO InF17lk9LvTeVFgwj1/R2e0no9oQU7tnEHZ1SCAJyEB67J9stV1NnhPKodhhvQ9pJWVo l0hMzWLwcUvBOAgSedJGgtkSsr86vQjPNlgEGgouUn/ONk4GPwLwvHwZk6NJ71jg6W9K Dh0w== X-Gm-Message-State: APzg51CdRdSi5bBWOFAgzQZKVrBaaugt6HbGf+ON383V8iLpf2AVtVWv /ltMLF8BP/JZMtMFeFQvvRdaLasW4UA= X-Received: by 2002:a50:96c4:: with SMTP id z4-v6mr1865390eda.14.1536746085454; Wed, 12 Sep 2018 02:54:45 -0700 (PDT) Received: from localhost ([49.248.190.214]) by smtp.gmail.com with ESMTPSA id i19-v6sm398734edg.64.2018.09.12.02.54.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 02:54:44 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.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: [PATCH v3 12/16] arm64: dts: msm8916: thermal: Add "qcom,sensors" property Date: Wed, 12 Sep 2018 15:22:57 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 1 + 1 file changed, 1 insertion(+) 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