From patchwork Wed Sep 12 09:52:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 146538 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4619002ljw; Wed, 12 Sep 2018 02:54:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ1ss6zq8es8Vg/cXy5ObqSnfDG8vuFfXeqXhhVqOrICUjtX0LUlLn9kk+X16hWlke3BGTp X-Received: by 2002:a63:69c3:: with SMTP id e186-v6mr437402pgc.431.1536746082037; Wed, 12 Sep 2018 02:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746082; cv=none; d=google.com; s=arc-20160816; b=onOvSmohVGhqMmzeCAzradWmPMLx+I16siPrOJQF6BUoqdjSyF30M6g4YIHaw7LiWg TghBnBdySPIvcfUUUIc73kHQtKrwF6lA8x4N9xWlUaePNAgsxp7uOTBw3Qk+lQUqCy4a 1qAMjToK9V0iIjE2l1UBtSnLwfNoRvPNnBV+WxH31Dfz7kUKmV0yzl166YP2GCs82t8b Wxa0B5K2t2BbBWVEi4ibBh48XU+LIyIz5rdGtYZjxNCkqVWZYGTBffizX2f87gEmHIoz zxbk1dTbxt4xb0PCrLlbKCSnhQAG6GYZmA3ObbxJUF2dGQgu4P9j7CrFaRQ4dteIF6Nl Bulw== 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=AoTONnO9gvGlM+s9G7sNikqckYDMU08TiwiZ5wtVpvo=; b=tFyW9vXHICBjHZWLKZHQSr/eqOJS8F4O5J2Li0eQJGD7GP9b9TpH2uzbwng2mgkcqE SHmdn+H4Owb6zOK7ZdjAmS9kYTS8s6Gwb/wmFiqZui+zl8Q/sGURwWIKfQ1BF+loPhSj Mkl2g+zRM3fQWX2M3955zcDzqkX9eiyZ0re2Al3PV/MiIhsdDRpv4hP1Etja8hwcQJ0N Q8QqXOKd+VUYk9AdWjJCLI7FeZA9ZGC1nvLyeDftwf6tmdlElDETW/mmjznnvB9mCwtK jSrZSooqvUqRzZvra5yLC06+anlHXVq4Th4N86pN5JBNsyCHCOHbbwBRQRqAMIewtW9/ sxvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L8Io+yXV; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 w10-v6si524500ply.267.2018.09.12.02.54.41; Wed, 12 Sep 2018 02:54:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=L8Io+yXV; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1726821AbeILO61 (ORCPT + 6 others); Wed, 12 Sep 2018 10:58:27 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:42247 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726743AbeILO61 (ORCPT ); Wed, 12 Sep 2018 10:58:27 -0400 Received: by mail-ed1-f66.google.com with SMTP id l5so1245021edw.9 for ; Wed, 12 Sep 2018 02:54:40 -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=AoTONnO9gvGlM+s9G7sNikqckYDMU08TiwiZ5wtVpvo=; b=L8Io+yXVw7SDtN9uE3cEXmDzZK5wrsw2lyR4SN0SUevUW3WuCGrEcUliR/I5IFBiGx 5C19uVo4W8zfULGHF8fhTen1JWGLXs7EHg5coWe7uMK6YrrOGh/xLii2cEF9Q6bbX2p+ QMefehGoHxyDKuG9rdT6WfUEQcLvFd+GNk7eQ= 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=AoTONnO9gvGlM+s9G7sNikqckYDMU08TiwiZ5wtVpvo=; b=KRomiyvrteBWm/qut60KEZgkZbr4RB906xtDihRpmT4dRv5B7zhNEV9vL1pm+g3s2k KQONBzyLiBJxCZ2QxXvxKlpDlKY/AFn06DvzDOY/qQUup39za+GvIpkdnauWP4+RVzWv PAIcenlnORAsMFYUhrl0qmAxQwW+QGEG9ZeL++dgK13rFHMOX/wHguobrtku7bHz4emQ 55Y2qZ4sqnqDuLwK5ahGPHaEt7y3OzW9yacnrAwkPuBgAiGk9dGW0IhHxKDqzVuvG+CL gXnAv9XcC9boG2eOwvzbPt/dS8JueeJIIjW6Xcv5qhlluexanOu+DbFTsxdqw4KIlrxg dxvw== X-Gm-Message-State: APzg51D/9iLWy30GU30PX87BQI0D+3/kWagcaO+xTME/6WuMhE3nrkYR fkSq/NnXqt3kQv+bqdYsIIm5AwQFSgc= X-Received: by 2002:a50:c9c3:: with SMTP id c3-v6mr1865670edi.56.1536746079340; Wed, 12 Sep 2018 02:54:39 -0700 (PDT) Received: from localhost ([49.248.190.214]) by smtp.gmail.com with ESMTPSA id s36-v6sm457740edb.56.2018.09.12.02.54.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 02:54:38 -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 11/16] arm: dts: msm8974: thermal: Add "qcom, sensors" property Date: Wed, 12 Sep 2018 15:22:56 +0530 Message-Id: <98b41f976cbedd0e93d7988f0b3cd3ae8b911414.1536744310.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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: Matthias Kaehlcke Reviewed-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-msm8974.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 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>; };