Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5219532imm; Wed, 12 Sep 2018 02:55:32 -0700 (PDT) X-Google-Smtp-Source: ANB0Vday/q6vxIeRkT/1usuhcmXAmxgYWLvFtd+nLGObjEMitONzEVEmN8R3lhJN1MeEpk3pyFSh X-Received: by 2002:a63:3587:: with SMTP id c129-v6mr1283458pga.290.1536746132920; Wed, 12 Sep 2018 02:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746132; cv=none; d=google.com; s=arc-20160816; b=wxuuPHbt7T087Re8cExPPzxaUhp1swFdAf6DFDNaMUvrIiqSCiN51xpiU6Nzvii1nD Tdd5r1lBfzMFXHmqsP+UnySOAmCvUmsHH8PaGyg4OBz9zv97FkEghy2S4uiCObmewkNH qCiXgdIhQ7Nw023xVi5TA6AmmMIIgtSawQU+qxwT1YpnfSaErBFrb0D3PTqHNOnmOGok gzsjEkk6Ct9/PEsj20+fKKpGoOVjVRr/XfV7ZQkPnh5uAdgsU+ZxxyrL2h/nPHVSTS4Z sZgh/lyPbiTRPRvycfy5WRoTvsrDwdk6xF4bF6zRlseUixl/7WtkOmas5XlJnQKAEp/O wPuw== 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=RdfKHQb1ZgZjJlGBO8j55OtGNKQR/s1Q2Oym3ENcNbuu1drkyGom6ocJXC6owyaT+A XAJiZeMR4+dMTLc3uuOWANSecMqXejeupWvBvemhzCZmtyBZSrUAJPwC5RqcLlq39iyb LyU/KYFvICyydOHrWkAa18PUsKfjyttl0KT6c+/TfZJadetNcDJkwaOk4RBP8cxrIGg/ EPRiT8ah+xBuZE1EzcSOt1iVjYlhDGms3iN/uU4V7FvLEor/JMwNjIm6GVaWExKFtbVo 88nUTvkOSxMY0XUO6/YMNQGPqb9vV8jRblZ2rPHMYmQcL5N5M/DgK02mbYaKA+M5EQ1f /+gg== 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 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 k13-v6si576122pgg.346.2018.09.12.02.55.18; Wed, 12 Sep 2018 02:55:32 -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=L8Io+yXV; 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 S1728011AbeILO61 (ORCPT + 99 others); Wed, 12 Sep 2018 10:58:27 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:34844 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbeILO61 (ORCPT ); Wed, 12 Sep 2018 10:58:27 -0400 Received: by mail-ed1-f65.google.com with SMTP id y20-v6so1276286edq.2 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=kyxROka/G1uibF7Rmndysm9I0ITmejs+YOHh/OWSNtvmKa7/+Iva79x/ZIcJwNO3ku 4FoCj7vIZTxfMbRVhR/aPj0U6dDDD7XCxsVSdu52/Ls20KL9CAyIKiuXwjTQiLPBzEa6 VxjBK9EMccKrT3c4YoLmXco73RzVV5h9bfKXFg89F0Ic7Re5JWCHb7ho4OUfus8+Y2/5 95RzNnKwhfLBsUSazbvYUKOlVzW6/xDuNjlOyw2SIMKw925vO5jrJZpNSylRGt7gUmO4 9BqCRQhZ2x92L/85NJkhtVeLBzC8UJJaKWsYVN6ir0DfYbX7Dqmv0JjmJYCyRvKSo12H mTnQ== X-Gm-Message-State: APzg51CKxa8kH9n5Jgwg3pcdYPYVZ9zsCDBeygiC6aa7y1dfPBeCQLRp 4gu31iNu90+UG1mUsHz7Q1IGAKARjP0= 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: 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: Matthias Kaehlcke Reviewed-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-msm8974.dtsi | 1 + 1 file changed, 1 insertion(+) 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>; }; -- 2.17.1