From patchwork Mon Feb 18 12:35:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 158609 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2440286jaa; Mon, 18 Feb 2019 04:36:28 -0800 (PST) X-Google-Smtp-Source: AHgI3IZV7szsqqNuMq8TzM1zHzssr9Nzp5rnEdWNf8Z1bV/oeFeqUhob47uv2ZU7WdbHpHrHEje1 X-Received: by 2002:aa7:82d7:: with SMTP id f23mr5827804pfn.114.1550493387801; Mon, 18 Feb 2019 04:36:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493387; cv=none; d=google.com; s=arc-20160816; b=peLJG82bjOhvsqSp+drC9riunV/U0dpgeZy1Ri+IERbouoFtA8CO/0IXVyLhtazStn Tpg/2h7CvKR/e/hdEHnGGcwawEyQ8/Nx6WoNrjDplh1PVzWhyUvqY5Fi48uqSuoHWhoO 4++3yzthSBA1eNpSD+1wmZOcPkkuw+RBJaGc1+2oCbAgQXz8d6nanSXPnfQ96BHh6DdW AHQoimfMIV1lB5o1Upx3ZGB4T7EFdSDeueRYI8LbaTcG85SiyodQSP/gZDqcQjSiumpK jc9yCsAWkthyjcOVH+L4WWZ7tzVDfC1YZymfY+MHQfaIgt20h99fuHPbpNjmcI9KUPE7 WhCw== 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=9U95FbF25ViJswUkrIR1g6AQUt6aGXXn7Rwca8tPtIo=; b=Um3aDvLA9KKtV9KxNLiQwHGnGr/KgQeBukvYgIr7j231zK0AeIStk64I9wp5RBbCQU DibZ+bn6dWSTw99id1XstpBfsY9JXeHhIrUrHA8CmV9JwGgUZGICYW4XVxNmGcJ7hgNz CJGp8Y0TkKyzb5IWvnD0JFKpD2Dos3arhRabUbI8EFZ96+Bx7U9lnob2uQd+3pX7w3Vx 0fLNj73fe7im1F994xug+SNX7b+G/ITm2QrNbt+p+bqSxspgFEVDIf1R43nekckagBWe annW+ZXYJarKSUI4Pe2cMZkx6exwDku70xXv80SA9O/godM86k++nYhoDYyhUKaG6aqc WwAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eGEc4QEx; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 q1si13983955plb.229.2019.02.18.04.36.27; Mon, 18 Feb 2019 04:36:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=eGEc4QEx; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1730970AbfBRMg0 (ORCPT + 15 others); Mon, 18 Feb 2019 07:36:26 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34638 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729346AbfBRMg0 (ORCPT ); Mon, 18 Feb 2019 07:36:26 -0500 Received: by mail-wr1-f65.google.com with SMTP id f14so18248161wrg.1 for ; Mon, 18 Feb 2019 04:36:25 -0800 (PST) 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=9U95FbF25ViJswUkrIR1g6AQUt6aGXXn7Rwca8tPtIo=; b=eGEc4QExCkJp0UwEHtuBBvbhlsO3OgbyxZSfLvym0jqGn78n6PlUJHNzp1+YzHhMi1 2aOmXquTExBGw+w6ImLDQubILng9lOzlL45Db4sJr1qhSw2cqqLbWy+H6kfg9U/FDDh1 Ffg6CMXKLkpuaYfvG+z3EtzvTM62QCphywJoxhNseLcZ1HAg4I7TwEvAguPWv/9AUTph +OekJPnuGaFd+IXwvvBkG0dvGrPLoa7JG7VNChH6GPKsaoD7yVtn0xasHUYFUHdbcmHe cVYwAYs1HCQZF2EoSXteN/8iH9UCBadyoZkZz9o2zo5P1fyrCOlmuvUwz++C6jO6QlXW 6dkA== 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=9U95FbF25ViJswUkrIR1g6AQUt6aGXXn7Rwca8tPtIo=; b=hIkOhE3sQHWyvuh2CEoE/J4OicnC7TcMDTu1TD1ZLYL4+/RCXqYC2N4GszicJ8aG8z REs9hq8+NXzN40hrgKx8Ovf6Ct2WFSHQWJoprg1AcfHWCRSM1gCqio5pYtyWPoT80uMY U/ZDblNzGX/sdoMj1rBcsE08lQiL+w5Ty+5GGvMs/m2wlKjKiVmMk7VWZlNG5ZXSE3rv dlIA2bA0i/5U3Zy77KvhTMwaRRmEDqKWjPf44M3L0g0ETQvZRdAT68omr5p6TMVWSH+8 lgW1da8nq1bYdOoCQBCFBOgusScWHTKEIBtqgbQ4kiA8IhclMTEtQTruW/c4BgdKbN0s VD9Q== X-Gm-Message-State: AHQUAuaOMEqnlaBwSvzMzWLcbZ3J9liTDV/njWgStC15B0S6mYrhMJ09 6A0Oz0Wib66lfloQP+pNUr0QoQ== X-Received: by 2002:adf:eb90:: with SMTP id t16mr15906905wrn.324.1550493384509; Mon, 18 Feb 2019 04:36:24 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id u8sm1209194wrr.33.2019.02.18.04.36.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:36:24 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, David Brown Cc: devicetree@vger.kernel.org Subject: [PATCH v1 08/12] arm64: dts: msm8998: thermal: Add temperature sensors near major peripherals Date: Mon, 18 Feb 2019 18:05:22 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org msm8998 has a total of 22 temperature sensors. Populate DT with information about them. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 63 +++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index dc641523fcbd..26a493af0866 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -513,6 +513,69 @@ thermal-sensors = <&tsens0 13>; }; + + cluster0-mhm-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 5>; + }; + + cluster1-mhm-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 6>; + }; + + cluster1-l2-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 11>; + }; + + modem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 1>; + }; + + mem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 2>; + }; + + wlan-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 3>; + }; + + q6-dsp-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 4>; + }; + + camera-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 5>; + }; + + multimedia-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 6>; + }; }; timer {