From patchwork Fri Mar 29 10:12:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161410 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1834434jan; Fri, 29 Mar 2019 03:12:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUuZfSwJpYO2i631DebrRaUmfI76ypkxCV3W94jQNtt2kQI5csZ9TXVQIlaZLFk4fhpRD9 X-Received: by 2002:a62:3047:: with SMTP id w68mr45904723pfw.17.1553854371845; Fri, 29 Mar 2019 03:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854371; cv=none; d=google.com; s=arc-20160816; b=Q1JHRG9ErPUvQcWtdhzzU1eSTgVQ/NIZcIB9MdUlTAtpr4x5FQ5tYRQcSdElRxgq/Q TvoqWMGj65zGd6m3EInuvmxzFPciO+ZEg3gFX0LHf45+b5kmCIM4yPC/DJ7Sz9n/1QVn NV5R+KKyb2ReANDqMSde8n52Fu8WOUZd5qWqqQXWtWZr/xB0vPZQHNQ7/sDCKkBthMME w7G/TBHWapUIv5bIIXt+JF7yb53H2F8WZDu9PBZSNyuyHeEFOxV/5WkWdgGlsPgf0ZBS WypcObw1Eyzy3t1KUNMrA4aHWPdB7Zuy4ua30FCQGgZPjHQY3vku8LgWUACi+97uVi79 Ngmw== 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=/lEw2WJIQYdMZsFOVD8QtaZ94Qz62D3Eglt9Vc/R/YE=; b=dMMAVdVP0QjlSv3MQlJSjQsZOFno+ZrhnCXllBuIqz3XE5jT/PmaCDCeqsVPhzxoW+ tCu5SGU5BgRMJw8b5r7i7g7N3q7/JVtQUZFEwf74h359onS6DuVTpv+hyHKCnSsLQF94 wENPtqFUQK+yFEXgdeAorUiKTKMyoRSTXkepveCW1CrcghAM3KUXy3zVAJFjdvkuBYaU NHvQxMfWkrd8HaPWUisqoyX32nGu3/GC+fhVNIgGDzXrfgPRT16WiowW3VJOh1vYFbf9 SXoHSivJ57eOHkjDOxrd/JZ9vdExMNR4XHx1G9UCJUzWhoTUxgy86o7zYwEWkUJ3SC8G AI1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KkLs4yE4; 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 f4si1494540pfc.96.2019.03.29.03.12.51; Fri, 29 Mar 2019 03:12:51 -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=KkLs4yE4; 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 S1729033AbfC2KMu (ORCPT + 31 others); Fri, 29 Mar 2019 06:12:50 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:38987 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729000AbfC2KMt (ORCPT ); Fri, 29 Mar 2019 06:12:49 -0400 Received: by mail-wr1-f66.google.com with SMTP id j9so1870317wrn.6 for ; Fri, 29 Mar 2019 03:12:47 -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=/lEw2WJIQYdMZsFOVD8QtaZ94Qz62D3Eglt9Vc/R/YE=; b=KkLs4yE4PyAr+Yl1regGK7dtXQO096QUH7ZsFUL/hY034MN4bhzXJlWdS+nA2ZD2R6 XGhjd5+Ak3r17le6xL59ByNnqVO0czpMJMlma2BaKZQ5ALm+C5KlAFsx3eEXCV+vjjh8 4G8P/GtqMAq368GPHCzUmuzUcPikcQS0/+ndm0OxZYNGgR+d7FYDHTxwuDfR832rJk+b s5CvoCGf9zm8wyLtravwWTre6C50nunJnLcpQh/WEkiYyLW46gedIf+yrG9W5GwJDbUM H5OcHfcleHY11r2iFkROF1cyPicEenEHNL9E0vLYXlWJOTWhk78urdhZYRoDcgSNhDAQ Au+g== 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=/lEw2WJIQYdMZsFOVD8QtaZ94Qz62D3Eglt9Vc/R/YE=; b=EDhDZVHKjTGPXn8nwrOjgoeE8SsZhcyVW7Xoj0NoGJiicGGUKXm9EOxOgVdJzj3ONK aeUjm2CMXZ7KAKtg25rWs+CXOUtcfmB0WtTYdxmI7WHVIiT9gT0NoMMJiz/UgNCaz33U 9hOa0dMggZTimGgaYsXhxdTLy/m8IO67fg5eOi3eXYAUmbC3pSMx/eAF4/6ma3zfIAfo +14Wj09PfI8u14MSJEOA/i67inKZkJel+a+uSC2SdZL/qPukajbqDrkDVw8tTBjFSQLB A3OhalluoVLGwt1zLVtZZTOpsBESJCJeW6klc+pPhz2rPdgq4qc8gtcvigQ1lr5qPmDe jIHA== X-Gm-Message-State: APjAAAXfUtQp5amcbQ0Iu5bEkrZq0zfLyW+KCrtD5RJccX/5CB1z3Q0U 50AQWAMjTE+76iyJ2yGz40piGuIwT/I= X-Received: by 2002:a5d:4081:: with SMTP id o1mr5840015wrp.241.1553854366992; Fri, 29 Mar 2019 03:12:46 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id z14sm2072519wrv.78.2019.03.29.03.12.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:12:46 -0700 (PDT) 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 v2 03/13] arm64: dts: msm8916: thermal: Add sensor for modem Date: Fri, 29 Mar 2019 15:42:09 +0530 Message-Id: <0f5d5623be3c60efde8a98b45b2e5808190d3675.1553853990.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 On platforms that have a modem, sensor 0 monitors the modem. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 0803ca8c02da..c8aa9a0986d2 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -278,7 +278,21 @@ type = "critical"; }; }; + }; + + modem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens 0>; + trips { + modem_alert0: trip-point@0 { + temperature = <85000>; + hysteresis = <2000>; + type = "hot"; + }; + }; }; }; From patchwork Fri Mar 29 10:12:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161411 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1834556jan; Fri, 29 Mar 2019 03:12:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpH3byTezgN8jhVDrtIQtgS268RRc8hNqm2m/j+eg0Q6/YDUSrm+wSixiQTEglEuptx9pT X-Received: by 2002:a63:c145:: with SMTP id p5mr16594034pgi.339.1553854379524; Fri, 29 Mar 2019 03:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854379; cv=none; d=google.com; s=arc-20160816; b=ganV8BeXfBa/JYuJ7k/1YGfHyZPWsiILzGuy10M5uIBWwGNhRJKSuBIPmlxql5D7/L utsFAFKBMPK4fXih1bHcZe6eh0f6WFulfUkpsaKYn3BDc3spSEP0FMp+wtbJEbx6O3py nkfqMBwaiOhI8fXhqu1y4vTracvDDVm9RF47lwOWR8uaFLPQSPJsXH/Nkn9xLWKcK+eF m2YeoGyllP0xKYtuMTsIWJ44wxs2SvToBITPtrFM0DKCUYTrLDAkV0SFNVmyenNqwdc6 CD4CHd5NQOXAsMas0vH2LuMk6zwx4woIg3HThR3ROnoidZrVP3Peag5gk0Y/7nM3Dq2N 07BQ== 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=F45uud4f8fCAV227MMD1FiQHOuaHoLclmOUA48d6Dsg=; b=EZFcwEQtf/nnh23RMK77IMKYbp5jxc1RnKZ3umY0EkOIi4obFKGQkgh2gBrhjNfcSW HCDkn9vLHw7AcXtowWCorcYU7qm9zf2k8ob8KosXv+m7Zkww5Cdvkmm6mmvqOsgS81NU B8enKckmG+bVRLD+A3SwPi+97UKiQlnVu2Pvc50J4WIC9yavc91/cs5QhRt/PxIB8RE4 IZ7TUGInYv3V8IpyFz1V5wAHR/hWmNcLUxz8adsE8u3oksziWKj1LIQwSgZgzKJFV4Dd lgqDXEtYNenJVhxCmlmA2EZEFnPQFUvoBwjlVXrzL4HbC2YcYcDJWOwWoCMr9FWjnSSA BDAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q4nMLi7W; 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 m8si1471348pgp.68.2019.03.29.03.12.59; Fri, 29 Mar 2019 03:12:59 -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=Q4nMLi7W; 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 S1729079AbfC2KM6 (ORCPT + 31 others); Fri, 29 Mar 2019 06:12:58 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:36090 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729048AbfC2KM4 (ORCPT ); Fri, 29 Mar 2019 06:12:56 -0400 Received: by mail-wr1-f65.google.com with SMTP id y13so1882029wrd.3 for ; Fri, 29 Mar 2019 03:12:54 -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=F45uud4f8fCAV227MMD1FiQHOuaHoLclmOUA48d6Dsg=; b=Q4nMLi7WinqfW+e3zNC6pCmXvHOvzW+FEuU/N51o2fP/bgvyBuzOmHuzsRp18JDLmr QFCpV16GYJWzpgFiETFix0SblZeoqll96Ix0itKTWDxx4AUxVBLglY7Z1vHbPmrZfKH7 20cljgIWJlH5FzAKLw3tRe4wsd+3yAklz99DOyfsCqMUJP/A3gKqW4edb6C5g00Wdg3D ArGslNenT+9Dl3ogBDeqC82fVI68fPbTAuEZADMfFUlevcOtYXZ0aCyGpjLZcq3dSASs cwG7mGp3qzY3IxhJqyUX9eWLPJa1b2iAXtyAIXksHaTld8LMcofp10mFsz4UTtTdVWGy 1Xkw== 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=F45uud4f8fCAV227MMD1FiQHOuaHoLclmOUA48d6Dsg=; b=ZjIVL9N0/X/fa8q7LlKahUzmE1HM6YXnruz6683H+StFdYYhKq+b7+buqQ9zC9a5nx cvOfvzBQKvCnYMeNrpxpGMA26oWhYIMsJAn4Y4pcHUR5Wop73ymYGP00zn935WOiAVJY hwbWgPYZx+ugOxir7SBY5odcesCLflTCSPnNqFziuo5y1XHDMx4j97UGJ3fYW9iA+rY4 HrKWfBwcqfQhE/7mGu6kbydGLt0aix9zeBpgsC18GoVtDFrcRcxkidQH7KixRI+lvwvZ FRmR1ufuD50PgDdob6QwJF+RZBO93gkOvFL92oYvW1akP6tRhclfDPpQAq1ovIqFtkd5 lNmg== X-Gm-Message-State: APjAAAUBj8L3K1TBIJud589Ud7eL7yT+8XMeQkvCP2giQrj+3YwjIhZ/ /0B58IpZirC6eKzOL6+Sj6lQQyHucgA= X-Received: by 2002:a5d:4710:: with SMTP id y16mr29314802wrq.176.1553854373296; Fri, 29 Mar 2019 03:12:53 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id y8sm1720955wrm.8.2019.03.29.03.12.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:12:52 -0700 (PDT) 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 v2 04/13] arm64: dts: msm8996: thermal: Add temperature sensors near major peripherals Date: Fri, 29 Mar 2019 15:42:10 +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 msm8996 has a total of 21 temperature sensors. Populate DT with information about them. There are 2 sensors on each of the cpus - one on the top, the other below (we only expose one on the top in DT for now). For the GPU, we expose both, the one on the top and the one below. Depending on the version of the silicon, sensor 2 is either placed near the L3 cache or the venus video decoder. It would've been nice to be able to be version-specific but we don't have DTs that differentiate the two versions of silicon yet. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 150 ++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index c761269caf80..e2408ee91184 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -237,6 +237,156 @@ }; }; }; + + gpu-thermal-top { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 6>; + + trips { + gpu1_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + gpu-thermal-bottom { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 7>; + + trips { + gpu2_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + m4m-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 1>; + + trips { + m4m_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + l3-or-venus-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 2>; + + trips { + l3_or_venus_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + cluster0-l2-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 7>; + + trips { + cluster0_l2_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + cluster1-l2-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 12>; + + trips { + cluster1_l2_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + camera-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 1>; + + trips { + camera_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + q6-dsp-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 2>; + + trips { + q6_dsp_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + mem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 3>; + + trips { + mem_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + modemtx-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 4>; + + trips { + modemtx_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; }; timer { From patchwork Fri Mar 29 10:12:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161414 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1834917jan; Fri, 29 Mar 2019 03:13:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfM5YSeSdCPr/OydQJkLLKdk9kIPpnwJMcTbfPz8O0Xw5f20I7N9/kLGioFnciUZhtJ6yg X-Received: by 2002:aa7:9088:: with SMTP id i8mr45203217pfa.118.1553854398053; Fri, 29 Mar 2019 03:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854398; cv=none; d=google.com; s=arc-20160816; b=OEm9X7wrAlg2N53mRprplX+M7ZKHqJugP8PWPEP6hyhG5ap+280/Ffsi/KjNtR5CWq WjZmKuxEfHMKTJl72o7/xKIpmGB2UNWSCcY7rVRytiZHr8hyeena0Fcbcu5AQ/RKdK3Q PEAdL7kFs4VxwVIn3JH/41DuaVqHD7mLr0Z8RsK2rDmSFKvjpmy0o3aRSC54vTpOHpNj /xEbtfksG0goVza1nrBR8zfwnhtYfclF/wF4ZDqVFEfXBfsovKl/3pwcI0tnX1ap3E+x bf08WMQ+8sfk1anKWNoHt8dn/ZK80fWXqDJTIAbtF0LWgOAJhtmoRxzJ5rsZBDE8NMv9 f1xg== 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=NNvC9n1z8PdtdpApwkNWkA8fQEaFhqvpx19ozcs0aPs=; b=awUbAY4fU7z1Fs9/HpLK8I9fAW7alKny0OiSADizZu1DSCUDuMGJGf+qhyaAhroon8 UIZiXEvZffPM3Ub/1vaMXkYdCeSkogtWYrYTIYrQMqHDR1rxe9aNKSJcN0gObw4QHWrK wXKh8d50PvdJ4BwD5qA29QB5rkPVs5zvIrkggtJ8ONzmsHEFMgm89k0kjbQ7cem819PD aAd5MrTrmELzvXQ+/P/zKZi1QrRkn1tLLimbaQ74bBpKZJwTHodMwO3X8vQKPSNC9Bt7 mXjFpZ//B39hI2H+A3oKdcZn47EGABHZX6hxviCAGR3rw721EqBhMBRSGOARRMVaamOf rKLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="vHdkqr/m"; 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 e8si1578330pga.19.2019.03.29.03.13.17; Fri, 29 Mar 2019 03:13:18 -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="vHdkqr/m"; 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 S1729200AbfC2KNQ (ORCPT + 31 others); Fri, 29 Mar 2019 06:13:16 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:52621 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729173AbfC2KNO (ORCPT ); Fri, 29 Mar 2019 06:13:14 -0400 Received: by mail-wm1-f65.google.com with SMTP id a184so1908299wma.2 for ; Fri, 29 Mar 2019 03:13:12 -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=NNvC9n1z8PdtdpApwkNWkA8fQEaFhqvpx19ozcs0aPs=; b=vHdkqr/mXHVgwz2jYU0rz/ISRvP7xzfrHDVcrzth1TTCpJ+lChaTFzhMD5HIouKLD0 N1r9W30df22N2U8lVsALu4ygogSwzZ0D9zJ6Bk71W5Rs0eTtYUsrHAmfQGegETYqnEJK qWKRuhqFwZhC/ACoM1e3FE6CDolu4y1+bnoGYZZH2oWs7x9knJOzS0efd12qaC4oWd/g XAtke53kyTq1TEQMEaYH5iaV2g/T7lG9sBmpQ25KCW6s13k/93Hszb1Z8FVtJoW4n1Pw yWgIdyWnzUt6O6a21jz6YliK4P+XzhPj46uTb1h1EI0aRnCyKO+rsi1gBobicrmz0JA+ yIJw== 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=NNvC9n1z8PdtdpApwkNWkA8fQEaFhqvpx19ozcs0aPs=; b=pi1IXV3+HJrbiYxHasQ/dFmfxDCjRcVD9Fr5FNLPxI7NRlJCAgYD418RUrkccgdHjR LDaadTdN1L6nyTBtUTVeBgdnDuU89wfRa100imTfxTfePsiEHgEWJ5xiBNK9tMOkKp4N BgzNg6jcxYTpyXIKfUiEZRIR2Og6WRlyp21T/WNpEZJmQ+CFBZ8XsucLMhKt4noY8oNk 4HaHudienThuaBZMe3oT07L8Uz+BRpLPYS9UQFjvjwv2aV+3t27cZ5203ZGl9HSgnbAE u2wTqWWZW7kp32jejkdO3DCqUGOIstTHiOuyb1rycworPdHAN0nPlllMPejxsBBI1K2z V+sw== X-Gm-Message-State: APjAAAU1/yCvTrJ+3VBXQP9edG8Uco1EJNHBDClvEzDWbcVtrL++IBDx wOfDigaleq+7wYzRUgvsQUp+14zQzPw= X-Received: by 2002:a1c:1d81:: with SMTP id d123mr2862060wmd.59.1553854391757; Fri, 29 Mar 2019 03:13:11 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id d7sm1648941wmf.31.2019.03.29.03.13.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:13:11 -0700 (PDT) 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 v2 07/13] arm64: dts: msm8998: thermal: GPU has two sensors, add the second Date: Fri, 29 Mar 2019 15:42:13 +0530 Message-Id: <7af19b6468b6e10f0a24c40b7a467a71ae9bee65.1553853990.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 The first sensor is on top and the second sensor below the GPU Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 56ca9ecdb0bf..b368da235663 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -506,11 +506,34 @@ }; }; - gpu-thermal { + gpu-thermal-bottom { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 12>; + + trips { + gpu1_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + gpu-thermal-top { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 13>; + + trips { + gpu2_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; }; }; From patchwork Fri Mar 29 10:12:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161416 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1835114jan; Fri, 29 Mar 2019 03:13:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLjk/m9jsvsVQ2owgAp/F0kFCRrdhaVYiYr4bcyN8MtsinXYjSYNC7XNnjbtVyY4jxFCI7 X-Received: by 2002:a63:3fc2:: with SMTP id m185mr23418427pga.145.1553854408918; Fri, 29 Mar 2019 03:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854408; cv=none; d=google.com; s=arc-20160816; b=DbFzmOxe2bZ27mV8K0f1vZzHpQPMqvveqsOTppRnlCPY1kVIjicdb7moueh3+fRcVA 4nJ7DOikiQAhPkk/MUDm2Sf+Mn6dxe8Nv2ygXUcGszLDrn1vk3W8QKJHPa+HxSGz6Mgj Qv1C1fVlNCGlfzHcAjVoww4eHsNJybnroQeEYyoAM5btvVtmnofLUEAIzhscLj1JX0pN 9QLKoB2Zoy7TjhglP7jIzkjLgFUMrEkMhrzSfAVgUTaqu9iIwEK3buvcJZEMTWDrcFvd zuhOuC1r5W7UgTuj7lAS+yPm1yc+2qjwaRJ19T8hIOMZGQaN/u2TcQRAvIwsJ1ylD7D2 zYlw== 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=o2Wp7eKMAG4NFM8Fr+KWAR1FMJdBJukeKveTGM8Z088=; b=iV4dIFzW8k4k0VPIKP5uwYrrlXba0zFjeQvuTqXvw6zNpoILUfxgGBKYX9NGifu8R0 ieZcFHc7wnvW0t1xoCMRW06AdXyPsB9C3NrPRmlDAP7jYJHEetRYrZgCy649CFynWb/1 6bn4Jj18Iv7v8JdQFKOEjeJ1bGtFDdFHp6PB4DG0++FwycxThQxi8GVkKcuWUczv7CtA BB/I1BlQD9SKRr8UZRBeUER3OTBMmectata5XVLyPrzWOcJm4CKgVhFwe/XPKyDgjo5h wwUMjiaQ/QnhPy1+IlE1OtYxOFyjQHL4hyg1/Ir1+g11AmJf/1n9CAE20OlmPDgoDlM8 7d5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZtKkJn0i; 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 t6si1501320pgt.476.2019.03.29.03.13.28; Fri, 29 Mar 2019 03:13:28 -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=ZtKkJn0i; 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 S1729254AbfC2KN1 (ORCPT + 31 others); Fri, 29 Mar 2019 06:13:27 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38592 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729235AbfC2KN0 (ORCPT ); Fri, 29 Mar 2019 06:13:26 -0400 Received: by mail-wm1-f66.google.com with SMTP id w15so2108917wmc.3 for ; Fri, 29 Mar 2019 03:13:25 -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=o2Wp7eKMAG4NFM8Fr+KWAR1FMJdBJukeKveTGM8Z088=; b=ZtKkJn0ihizrjTT7FNr+XopsRNpLa3tJ1EfFLtumXB84bZiVCbZdDVJoQ0qgLNo1mA Z8+z3I9KCxStiq6vRmlbjzNXcc7u3impVlUE8tk47D1lfd7Sp0TBcro1KXJ1MYGrb1F4 SiTnrK9yJ588yPLN7ag3L7pIcVbIjxlTnqJ42/NZECnkjN/aZKEuZP1JjFKBkGqPOC02 W9bPlAcyxPmkpr+MT5OnkokkC+jqM3ScYqTqr+yUGUKB9tPlWGD12eWnO7UKVr+hP88/ cbwtNn10RVhvpqW+CfhyQWZGikj6JOYXk6KXBHC/LvaX4pf0CssDBWQKKkV0KTMlECH1 tszw== 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=o2Wp7eKMAG4NFM8Fr+KWAR1FMJdBJukeKveTGM8Z088=; b=k3C1geIyAjiLMt2XmKFLf203TcH7bCnERQexBo8RI2r4QBSqM2U0Gsz20BKee/xfFB T2QAjZ7el9rmQJfgppZk2/vpr00pBo/C38Z2qcEbATardv6hZPLCN8ak8fgQ0DimicOC fJV+n1ATK7rLrDM3MjpWTDgDDcW/2vg/gXFfr9/QDFgG6nbjP5QJlKqLoN9yssdPUIDE YHlzTgToE5wEPkmC+VHAgYr5gIvZmXoQ6gyL92p33BwaxdEpeNyQI0POfFOpwSEGkPg6 R/XucTSfi709VWWW3d8e1I/alCtq/8A1zYVjwGCRchmmhhQiLxH4Itq5N93OxCtC9y4/ p+Cg== X-Gm-Message-State: APjAAAXamONacszpX1NQo0RtHHZnHTQaklCFZgGziYy2WvoZ0VwobbTu yaxj69UFj2nBST32bztidf9BVA4RoaA= X-Received: by 2002:a1c:ca06:: with SMTP id a6mr3041939wmg.14.1553854404056; Fri, 29 Mar 2019 03:13:24 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id h2sm3025684wro.11.2019.03.29.03.13.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:13:23 -0700 (PDT) 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 v2 09/13] arm64: dts: sdm845: thermal: Add temperature sensors near major peripherals Date: Fri, 29 Mar 2019 15:42:15 +0530 Message-Id: <19d3a2e99cb5ebce63e5cd1e604d71f8a919828a.1553853990.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 sdm845 has a total of 21 temperature sensors. Populate DT with information about them. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 205 +++++++++++++++++++++++++++ 1 file changed, 205 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 5308f1671824..7c0643ccef18 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2611,5 +2611,210 @@ }; }; }; + + aoss0-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 0>; + + trips { + aoss0_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + cluster0-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 5>; + + trips { + cluster0_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + cluster0_crit: cluster0_crit { + temperature = <110000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + }; + + cluster1-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 6>; + + trips { + cluster1_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + cluster1_crit: cluster1_crit { + temperature = <110000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + }; + + gpu-thermal-top { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 11>; + + trips { + gpu1_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + gpu-thermal-bottom { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 12>; + + trips { + gpu2_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + aoss1-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 0>; + + trips { + aoss1_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + q6-modem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 1>; + + trips { + q6_modem_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + mem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 2>; + + trips { + mem_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + wlan-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 3>; + + trips { + wlan_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + q6-hvx-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 4>; + + trips { + q6_hvx_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + camera-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 5>; + + trips { + camera_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + video-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 6>; + + trips { + video_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + modem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens1 7>; + + trips { + modem_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; }; }; From patchwork Fri Mar 29 10:12:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161417 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1835250jan; Fri, 29 Mar 2019 03:13:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFIRMdE/mvw0izVDeCtOpMWbfwB+TdyKaiRO523uDWkjM7lqk0/OxCfUvOKnm8BeJ1VL0h X-Received: by 2002:a17:902:8349:: with SMTP id z9mr27828704pln.144.1553854416534; Fri, 29 Mar 2019 03:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854416; cv=none; d=google.com; s=arc-20160816; b=neOY/laQ/ebjAWz2L6g5EoyDTvNtf5YT9XVQGBX9kurVcJBY13q8WS0V6MU/z+HhXD uJ1UexRLay7972CSdFbs8p1hPU72/g4jUJkQbSQ8PnLlnjDxEXLeOHGlLG/2/X7kKFMm TJYLEEkgRVjnP/XNTenQaErG+8lg7pOGbKpKJ5U1vcysJm5ZC8cpihr21X+HFrb/y8fR MYKS+cr7PHSaksP8/KtbKlK4Zk4D/CZ60SrlrFVqiaSC+oLhOau8+Zbef/VKrNcJNoL1 INX5zXlDHNd8qiV7y6YWkTc71sswPVg7snnHmpE7xemIqYESVDDyVkTMQO3Z/5gRxIVn RL5Q== 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=OujNZc42kCq7zUXMisag/ClKHZpikAp2j81GdH4F8c8=; b=d4oqfTgcWnL08XkNy72/6DSIYlwriMZrleRdkBmsw9tcoCsl+yXRNnvmbzPKnYqSl9 bUuWO5/fFwgQYO4qhznie0WkKCklShry1snpUf0qWEx7y5nRf+M8GhuDh9TeHzdLT/iS zgQgWnr+BizyfTqjwZhtsRPsOvbZrUjHahrtEdoOsCcV32cBZM9gy2gy7J/bhq2SQwrW DUmdcFXLaP2NVDVyl6qQyTwkUJ9y3CROCd9bwZ+wa+x8LAq6YfY2lz/Az5+suOAAtZ1e Wn5XrQMiFsWTq5TxKq8QZlPQ0O+xv27m56eSQTm3ytjHu5jBdgRNz/6jMudLvjwRxClY R4Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xacPfH2G; 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 q13si1535168pls.284.2019.03.29.03.13.36; Fri, 29 Mar 2019 03:13:36 -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=xacPfH2G; 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 S1729275AbfC2KNe (ORCPT + 31 others); Fri, 29 Mar 2019 06:13:34 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37826 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729257AbfC2KNc (ORCPT ); Fri, 29 Mar 2019 06:13:32 -0400 Received: by mail-wr1-f67.google.com with SMTP id w10so1870300wrm.4 for ; Fri, 29 Mar 2019 03:13:31 -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=OujNZc42kCq7zUXMisag/ClKHZpikAp2j81GdH4F8c8=; b=xacPfH2G5Gwha82agXR2eh+YYw351Qi7DUx8/wuwk4IRijVMSYTz0vWKDawvLVK3zl WTE0wzo9RljBbwJme/revgCSuLovGwQ35BRfzapRaXdnkoGlMBF7OQ8OdTNWEprzsE9d ZFnQ6rQIECfrN4u3qddbkwUJ2WJjjuDur1nhVRCRm5T5h2bD+EwMcHx81pEFSePwk7cE 2u7ivr2eaohJupE+otV4g/FxdCXfpDP3WktKRTOKusFFBnbNtGUsrvAhCtrefDUvKtWv eC1QVfqQqyMbpMNk35FNcdSB+vGPgsc/kdbDaFyhp/s60g6GX5sagDaMdIEURaZf4dHI ymbA== 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=OujNZc42kCq7zUXMisag/ClKHZpikAp2j81GdH4F8c8=; b=dc25HMEWUOQ/gsmpZL62Mbe0LMOqpEki7DFDG9fSjhAPQuDNusKYzyS0ZTdeEBHzkw yh3qg/vbK/Ue29YEotAbVRjh/NPxRG4WA6IBtpYYGxF80K/vyaDjpKKJXbgGYE5GXmC7 q9i4LbjbN7Oa/+VESLvHT5PmvbO5pgFbYxUqbwkDnRrhuYXUPirNL0s5vKLZjNkx/HbC 8rflKWytKECTqO0VpSI4+blJSi6oRgsXuJ4/uoi1YEECBGoRvgDV4YTR2QCql8/fh9L/ YgDhyUION9HFnOs2gaLytSr5iquxFOXDYNB3UnJniPkfcigExgTGGFuOq5o3nmI6Cpxf ybhQ== X-Gm-Message-State: APjAAAW9qBGTsMr0sMbp3fscHGNAFhK65Mkds5JEYxWpDg4PeEZ4Y/zj IFYM9DaE7jEHb1gcSnOZXcvknrlFus0= X-Received: by 2002:adf:e487:: with SMTP id i7mr31150308wrm.264.1553854410139; Fri, 29 Mar 2019 03:13:30 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id y127sm1595565wmg.29.2019.03.29.03.13.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:13:29 -0700 (PDT) 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 v2 10/13] arm64: dts: msm8998: thermal: Make trip names consistent Date: Fri, 29 Mar 2019 15:42:16 +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 Maintain naming consistency with what was landed for sdm845. Simplifies parsing for test tools. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 48 +++++++++++++-------------- 1 file changed, 24 insertions(+), 24 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 26e476078cb6..998017d4d847 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -338,20 +338,20 @@ }; thermal-zones { - cpu-thermal0 { + cpu0-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 1>; trips { - cpu_alert0: trip0 { + cpu0_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit0: trip1 { + cpu0_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -359,20 +359,20 @@ }; }; - cpu-thermal1 { + cpu1-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 2>; trips { - cpu_alert1: trip0 { + cpu1_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit1: trip1 { + cpu1_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -380,20 +380,20 @@ }; }; - cpu-thermal2 { + cpu2-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 3>; trips { - cpu_alert2: trip0 { + cpu2_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit2: trip1 { + cpu2_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -401,20 +401,20 @@ }; }; - cpu-thermal3 { + cpu3-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 4>; trips { - cpu_alert3: trip0 { + cpu3_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit3: trip1 { + cpu3_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -422,20 +422,20 @@ }; }; - cpu-thermal4 { + cpu4-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 7>; trips { - cpu_alert4: trip0 { + cpu4_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit4: trip1 { + cpu4_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -443,20 +443,20 @@ }; }; - cpu-thermal5 { + cpu5-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 8>; trips { - cpu_alert5: trip0 { + cpu5_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit5: trip1 { + cpu5_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -464,20 +464,20 @@ }; }; - cpu-thermal6 { + cpu6-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 9>; trips { - cpu_alert6: trip0 { + cpu6_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit6: trip1 { + cpu6_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -485,20 +485,20 @@ }; }; - cpu-thermal7 { + cpu7-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 10>; trips { - cpu_alert7: trip0 { + cpu7_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit7: trip1 { + cpu7_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical";