Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11378322ybi; Thu, 25 Jul 2019 15:20:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxV/MfEUfvOwrBwK2IrOmGiHFfFabl6ni/9TGWIWMzteto9tR8F51ORcK4Dt5rls+XWA+dh X-Received: by 2002:a65:6454:: with SMTP id s20mr88306169pgv.15.1564093257312; Thu, 25 Jul 2019 15:20:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564093257; cv=none; d=google.com; s=arc-20160816; b=l7Vq2L+yY3AJACZvxjze4GNzVfIpO557KxCyqcCiphMhZQtSelooj9r8455HNX4ToZ xGxg4yjeZxV+7DrrOKCJEB2gE7JfRSOFHBOcf8k/YWtXqX229UEZStEmk7gJfEgD5BW/ Q5kSNp6DZBlUXrGmMwcYLqeHrzes/paeOrjRl/bR9v2jwh3IEtJUEhTJwbzey9ywTc5Q SB6BnUJ0TE0kBtG69QEG0LUFks48aKDG54hf2rMzw23ci0UFGDcGDffWx5XT1SVltmXM VqxIsw/Qa0kzhwGCWZKwgC7xGfN51722aw/qJ3St5qKbH8Ty4GsRXeZ/9qrkTHOGXZGr cTKg== 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=iTUMfB0Wim/a1bz2uuCGtMiuUYFdGiUbnvdD+HL9w8A=; b=X20LM3dmKEIHc5CYe3eXhesuL7SHYx2dQGqavLSNKAkLC4jw437xQK7CbVwrXW22lS SUAdsgplo7ztGgbKXK8pV+XrpoPwCwy5nMLs5g3S+8MWqWj5nXOcnktKdMk5dvYzo+4W T26/2XIQ05WG+WdscM5PMxaU9y7MZVVvZA37nW7jfdY/Lm7arpX2HQ+3Ai8DIGMTL9U+ 6McytHkJTeQXIw8Glf7nDzHN6kmJbDGwDNQ+EYvEbtX/dHolDq4Cf8lGg2HNIGCnv/VC R7ncvpXus3YjLyVTo4YIFWk0o2M7FVAiOaGZHhepP6HUsQ3QRMATNDz/mCRRSCwM1KQ+ 4iPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OJdrO8Nf; 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 b22si16684834pjb.82.2019.07.25.15.20.41; Thu, 25 Jul 2019 15:20:57 -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=OJdrO8Nf; 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 S1727294AbfGYWTn (ORCPT + 99 others); Thu, 25 Jul 2019 18:19:43 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40318 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727273AbfGYWTm (ORCPT ); Thu, 25 Jul 2019 18:19:42 -0400 Received: by mail-pg1-f195.google.com with SMTP id w10so23721014pgj.7 for ; Thu, 25 Jul 2019 15:19:41 -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=iTUMfB0Wim/a1bz2uuCGtMiuUYFdGiUbnvdD+HL9w8A=; b=OJdrO8NfixWF+IfHJd7NkzCiHvqJm5zt41U9YgoUEqvpVfGa6OPD1GxjM6vfwYvCrF XYSXsJ2BqjSnZlEd3dP24brGNtsmKEXdi5Nlldeld2mew3YrYN33G2e7hfXoKGCF2wVl yT4SZzUxicgQ2bVQs9424GpVZU74Wsl5BW9OpPS0GWn1BrtCJ1ksG3FkUDwlbun+GreU u6jhls4NaCCGjj3KDEOk1/On71du2K/CwBGWrTt8c7lOGY9QgDN071p8gf8O4xw26SUg 0PjFtA+5GPm2ii9otFWj65Bv8DYXcWhidXV3hu5dhZW4hqb92MtcCBxjghS2gEvNdE+L l2KQ== 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=iTUMfB0Wim/a1bz2uuCGtMiuUYFdGiUbnvdD+HL9w8A=; b=C4aArdrTIP5nxwMn/uLNoMuCjCMqAZ24Ad94NWtu8pfRbWJy8Ct9IhS+VFeckOoBL4 pqIMmTT0z4RWiSB6oDfBYV82/h2Kj9Udgxtkm5C33byACSI2sCkKm5MlO/9nijONdwIq rR0aDRU/b/GPjrYD211FS0iY3T9SZiado9e+P6PG0Hkih0rJSgINvgsr1WdyMZV1CQLw 4vUHoFqaurF7jVLG3DVx3MBMuyHnqYAL1rx3UIKUWkFRRz+px8mbn3AADZRD53Sn84wM STgpCaOgLb3/bGYs9dF1UZ1rBBHOZ+2mNu7kdXt175MxH2myXVsKNY7JNVAvgytbwh8s vdEw== X-Gm-Message-State: APjAAAWXEAjjQ8WwW688gtE5jv/LN3c1zHqHOEMDURTEhXGOoR5mN+fm 5IejvfQf1aHS22X8HXKO+vvVZrpvDEj1ow== X-Received: by 2002:aa7:8817:: with SMTP id c23mr19090975pfo.146.1564093181321; Thu, 25 Jul 2019 15:19:41 -0700 (PDT) Received: from localhost ([49.248.170.216]) by smtp.gmail.com with ESMTPSA id e10sm51975982pfi.173.2019.07.25.15.19.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 15:19:40 -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, Andy Gross , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: masneyb@onstation.org, devicetree@vger.kernel.org Subject: [PATCH 12/15] arm64: dts: msm8974: thermal: Add interrupt support Date: Fri, 26 Jul 2019 03:48:47 +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 Register upper-lower interrupt for the tsens controller. Signed-off-by: Amit Kucheria --- Cc: masneyb@onstation.org arch/arm/boot/dts/qcom-msm8974.dtsi | 36 +++++++++++++++-------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d32f639505f1..d10d47d20ab8 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -139,8 +139,8 @@ thermal-zones { cpu-thermal0 { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 5>; @@ -159,8 +159,8 @@ }; cpu-thermal1 { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 6>; @@ -179,8 +179,8 @@ }; cpu-thermal2 { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 7>; @@ -199,8 +199,8 @@ }; cpu-thermal3 { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 8>; @@ -219,8 +219,8 @@ }; q6-dsp-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 1>; @@ -234,8 +234,8 @@ }; modemtx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 2>; @@ -250,7 +250,7 @@ video-thermal { polling-delay-passive = <0>; - polling-delay = <1000>; + polling-delay = <0>; thermal-sensors = <&tsens 3>; @@ -279,8 +279,8 @@ }; gpu-thermal-top { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 9>; @@ -294,8 +294,8 @@ }; gpu-thermal-bottom { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 10>; @@ -531,6 +531,8 @@ nvmem-cells = <&tsens_calib>, <&tsens_backup>; nvmem-cell-names = "calib", "calib_backup"; #qcom,sensors = <11>; + interrupts = ; + interrupt-names = "tsens"; #thermal-sensor-cells = <1>; }; -- 2.17.1