From patchwork Fri Sep 20 21:52:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 174168 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3032313ill; Fri, 20 Sep 2019 14:53:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZSNqKRoLvhrlWlC4eBHsNszqKBj0D0GM5Yn98n+Og6idYurLUxSR8zosy029ckYsn7pJE X-Received: by 2002:a50:9b0c:: with SMTP id o12mr24379955edi.303.1569016406392; Fri, 20 Sep 2019 14:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569016406; cv=none; d=google.com; s=arc-20160816; b=CrVnA4XrXn0nVmQTu3JbPGdh+9JFiBZUIGCUno+aVhhfRPjJzbAcGiB7LgbQwOixY3 7YhbTfK2Gb2UlltejrpPKDNRHROEKl545aFwsIA+K58Jxe1Qo402KtAxinBD/0wlbYpS TdIZYoPhBrtDDmBq6Du5eDy+g4L1SG2LboXCFDgSySXWflgEE6D+SbPS66fixpfTC4Q3 e/9vKKpMXy80h0WLoxM5L9hGmUYXuOjwWiJl/yC+gpA681DzgyIVv6HPiMAurs076Son 1GHO4KBL/4ndfVmkxSbXZSUwd9iHgR9ghtbmUFK74LnnuKifyYnqVJkAnhEm+vhXepQg APTg== 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=IJ4n28SxZJ7IvqWaQtHl+XJExCPSVNY+ailM0rBB2SU=; b=Gfm4K1E+nIM3oSuNFVoHNRV54k1DgjVzB1vjZQfMpNnwjnk4P1hWLkqoEqau+3v1uf +2VRWUsod+hli/Wy1hdwKyYiJhRthKzN4d01dhh9k6LyK0PwGs/oMUol/2w1n0L+/MHU VOAQoaWR/uDOTriGdE/YzU5fdR+ZohpD19H4pbh+7b2TtTfoN/78CyLnMS1+rtqA13yF y9jOH0iz6css3NihSYtCulfgNn7gF6dyLbanGFIostdMY3pdYLPiVTpECZGhXeq4J9qn uWDF4Bpoc0NcBYWCVRsOZcdzowrkWz1KQm4OWTPCArFWktOx/hAfBSwIDIJ+edX5cP0x ReXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UkPMAcEz; 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 j17si1642667ejd.314.2019.09.20.14.53.26; Fri, 20 Sep 2019 14:53:26 -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=UkPMAcEz; 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 S1730363AbfITVxW (ORCPT + 26 others); Fri, 20 Sep 2019 17:53:22 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:41423 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730286AbfITVxJ (ORCPT ); Fri, 20 Sep 2019 17:53:09 -0400 Received: by mail-pl1-f193.google.com with SMTP id t10so3791002plr.8 for ; Fri, 20 Sep 2019 14:53:09 -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=IJ4n28SxZJ7IvqWaQtHl+XJExCPSVNY+ailM0rBB2SU=; b=UkPMAcEzknmPEobUG1m2ht5TVb4w78FLI2j/Af1Wr3vK764lh5geyboC9LAdp5eiRN F5ZGZkGbwuEaDCfSm1eI9Mj57RlLf5x1hMhb9uFWJbIgbDPVWRpKES2f0wik07jyzbTa UJLl5shheFc/rt8fz1CDmLD397PCBXGNFg/UuSE5vKo6bdA0isg3kqA6NI65VSMNNUn6 GtxXbLp3nwCTZYPsKMZjs27//U4GZmoQczgzrtF3ODLiUnmOr6WZAlFNsNuwlKlcFvLo i7VUbfsEBAzi50canqRVxcl5gpYvpP7WrAa2+KPoGhzedD8mbSzYWoWrH8SMtkwzGjmM Fc1w== 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=IJ4n28SxZJ7IvqWaQtHl+XJExCPSVNY+ailM0rBB2SU=; b=pOzBCN8Pco870PsSch1f9dMogwElp4RlPQ6elHvrpgGok5TUKTH48tKo8MQE6ISl2Z ue79rjWuq0ILUuzbCZzj5Q8jAMxfkfZimpWJ2Eq3ECvTgFDa3WyWALuMkzGT3HySzeFN VbmGP78LVawZyc0tDrVAfYl/7Ij6RTVVK2tf5X1jYADhefbXodhYKnzruJjBCjqojAln Kj0L8ptJOlbX9UkCLqBvlObd8fIU2alja+BGQcujNrkOX2Kd01lt/zqZariBu4pHHPUR UI6aaCrHvdSEurJ5k4pJtsYieZ5j7LbK0Sj3SE9Ge9CGE/XVsCO/QBRzEERiwjhkltkV hm8w== X-Gm-Message-State: APjAAAWJPggNlom9YlNoMq7pJ44YghUjLLsVtlawdwlZ6aM241wmPAwG h7eF6+sJcWE0He9c2erE59a80+FGuJEfmQ== X-Received: by 2002:a17:902:7886:: with SMTP id q6mr19843551pll.323.1569016388887; Fri, 20 Sep 2019 14:53:08 -0700 (PDT) Received: from localhost (wsip-98-175-107-49.sd.sd.cox.net. [98.175.107.49]) by smtp.gmail.com with ESMTPSA id f6sm2910546pga.50.2019.09.20.14.53.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Sep 2019 14:53:08 -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 v4 13/15] arm64: dts: msm8916: thermal: Add interrupt support Date: Fri, 20 Sep 2019 14:52:28 -0700 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 --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 8686e101905c..c0d0492d90ec 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -176,8 +176,8 @@ thermal-zones { cpu0_1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 5>; @@ -206,8 +206,8 @@ }; cpu2_3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 4>; @@ -236,8 +236,8 @@ }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 2>; @@ -256,8 +256,8 @@ }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 1>; @@ -271,8 +271,8 @@ }; modem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 0>; @@ -816,6 +816,8 @@ nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; nvmem-cell-names = "calib", "calib_sel"; #qcom,sensors = <5>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; };