From patchwork Wed Sep 11 07:16:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 173597 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp374570ilq; Wed, 11 Sep 2019 00:17:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwY72zNW1rgoiA9UOFoqszQoKcVCG0wdUyyegbAMQcFb/z83XRa1JT5KAC91R91IuSMZh2c X-Received: by 2002:a17:906:4e12:: with SMTP id z18mr28901959eju.187.1568186237843; Wed, 11 Sep 2019 00:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568186237; cv=none; d=google.com; s=arc-20160816; b=W1/QGJPUMjNuMACo6BZrg6mrBc9FpDBlE2oWk2WQoELaHl+HViWZSLjjjT+Wm85fU4 6YpHH7i1jnxW5TgKpAdJyfb5k/STgEXRTIjxxyLpPwMpS6i61ER0XNVVwIDDor73/Jiz C8h3nLnHT8vajWd/qxhA4aZmCT7hwjbx2TpYkzjQI1mpiZMXrrn4ci9o8IVl/DQTIaVC IO945jPZZuuDfMJp6Jf7wyJtYN48ATMNtUKWFVPQ5AO1AcWRIRcPrv/K7kzliPaZRs3h 5vVCSViqVbN8foyZCQ6NbAMnwBMU1vW2XVZ3qawQdxL0dolEZ1Tl/w/K/yyOeAFYZenq /yCw== 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=ZwCxmgUQhS9SSaQKkkkSIJsmLTrN1BacMY6pM2O/8bI=; b=sQYp0gV5beSX1xKXWomPghZcIWtP9HfJ7TMUrkHMppHwJ0G4st8Wjt1oU6FRWqsQrn DZJaCcDbY0zFdGVbFq7H37pz6IKpgVmeqh3LmEuIokRRm+Ovl+cJu2KFri5MLZxXFMru QeQpfvYXDpWSQ9n8XzV6ofIMwmGC1GjUeoI3snd4QlVKUrXAcPrqz5J/BLi5bMKU3VpM dH5RQ8N1raZf6dQKiyJz4E0JRHBhFAY7ZQ0t098R6+q67Fy+cEnFRTFx9QDLUS25kvBz co8m5pUqilYP+gHpaviW48A3Fa3fQiFI2aese/quNRoMCpS0x3YDWmnnfaFBZC2no6tD AwKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fDRUh7QT; 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 z10si10468766ejx.208.2019.09.11.00.17.17; Wed, 11 Sep 2019 00:17:17 -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=fDRUh7QT; 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 S1727206AbfIKHRQ (ORCPT + 27 others); Wed, 11 Sep 2019 03:17:16 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:37053 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727202AbfIKHRO (ORCPT ); Wed, 11 Sep 2019 03:17:14 -0400 Received: by mail-pl1-f194.google.com with SMTP id b10so9801609plr.4 for ; Wed, 11 Sep 2019 00:17:14 -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=ZwCxmgUQhS9SSaQKkkkSIJsmLTrN1BacMY6pM2O/8bI=; b=fDRUh7QTThqydKCBTQPbfRYwl0z34T8dbU2Dyp/0QF7I3egtSz88/gYhodRI06NaBi oaTncQGl6i8akjx2JPQNmanIeMXe98CLtgGq0WzXl8n/gaWXE1pcT3DfF6//KrhY8YJ2 FjklrSTcnEvInaoSdDHkppmXdAU5ANe6frRaX3Du4tBZx2qZXNLqSzNlqybK1dho4yAo 36QtA7fWNLqP5KlAQojBoYuH3ALUu51s642ehm9+Q4yj1uIXCoNscofj44vEgBS/uvts 5IDwlXBYu3u6x2qHXTi2wYdm2XejMq2iW1xWz18Hs9+J3jPWroLrrTMAuylyHN5aPwni qrBA== 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=ZwCxmgUQhS9SSaQKkkkSIJsmLTrN1BacMY6pM2O/8bI=; b=PpCJ8G15iG8dsBhuOF30sGEYb4unCS7674hjTr+RNAHU/ruMlAbZE2ElQ3k/8Q7a8i R2M3tRN1ykm/dx8LINAjRxL1lUFHcXfpuJtReF2kMsgsKGDTPio8b4iJBY+bsrL5Sai3 P5iYJsgogVFuhBhjahBNw1iEwHUwJ5ctFrc95icmVXrHh5dU2mhpsrbzL4MN6Wd21Tfb 63IhEy3P+vvus3xij6J8LtCmOKwAOu0MAmDpqrQ1wN9xgrBpLwRYUUKyqNuaSokv4KHs nZkW0tDGKTF+WJapMu3Z+d+ueB878Fk0C3mhxwNnbuoFJI8mNSOeNyIZcV0d2hmms++D /eyg== X-Gm-Message-State: APjAAAVbsJf0DMokNwgABwTc+bLbxyyn1309wkN0NPTSKIJiFbsiTBuW 0bIyG8ljFjbS0fSrlNiM7g3GR9uJo3KvXA== X-Received: by 2002:a17:902:36e:: with SMTP id 101mr33887914pld.51.1568186233640; Wed, 11 Sep 2019 00:17:13 -0700 (PDT) Received: from localhost ([49.248.201.118]) by smtp.gmail.com with ESMTPSA id x5sm21705278pfn.149.2019.09.11.00.17.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2019 00:17:13 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, agross@kernel.org, masneyb@onstation.org, swboyd@chromium.org, Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH v3 09/15] arm64: dts: msm8996: thermal: Add interrupt support Date: Wed, 11 Sep 2019 12:46:26 +0530 Message-Id: <955d8c4a928405d7830bdf76101dc1c3c9898853.1568185732.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 Register upper-lower interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 60 ++++++++++++++------------- 1 file changed, 32 insertions(+), 28 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 96c0a481f454..bb763b362c16 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -175,8 +175,8 @@ thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 3>; @@ -196,8 +196,8 @@ }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 5>; @@ -217,8 +217,8 @@ }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 8>; @@ -238,8 +238,8 @@ }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 10>; @@ -259,8 +259,8 @@ }; gpu-thermal-top { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 6>; @@ -274,8 +274,8 @@ }; gpu-thermal-bottom { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 7>; @@ -289,8 +289,8 @@ }; m4m-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 1>; @@ -304,8 +304,8 @@ }; l3-or-venus-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 2>; @@ -319,8 +319,8 @@ }; cluster0-l2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 7>; @@ -334,8 +334,8 @@ }; cluster1-l2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 12>; @@ -349,8 +349,8 @@ }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 1>; @@ -364,8 +364,8 @@ }; q6-dsp-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 2>; @@ -379,8 +379,8 @@ }; mem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 3>; @@ -394,8 +394,8 @@ }; modemtx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 4>; @@ -591,6 +591,8 @@ reg = <0x4a9000 0x1000>, /* TM */ <0x4a8000 0x1000>; /* SROT */ #qcom,sensors = <13>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; @@ -599,6 +601,8 @@ reg = <0x4ad000 0x1000>, /* TM */ <0x4ac000 0x1000>; /* SROT */ #qcom,sensors = <8>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; };